diff --git a/Cargo.toml b/Cargo.toml index a11d0f7..00bd7d2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,6 +28,7 @@ ram_storage = [] verbose = ["debug_ctap", "libtock_drivers/verbose_usb"] with_ctap1 = ["crypto/with_ctap1"] with_ctap2_1 = [] +with_nfc = [] [dev-dependencies] elf2tab = "0.6.0" diff --git a/deploy.py b/deploy.py index 5598797..358355d 100755 --- a/deploy.py +++ b/deploy.py @@ -846,6 +846,13 @@ if __name__ == "__main__": help=("Compiles the OpenSK application with backward compatible " "support for CTAP2.1 protocol."), ) + main_parser.add_argument( + "--nfc", + action="append_const", + const="with_nfc", + dest="features", + help=("Compiles the OpenSK application with support for nfc."), + ) main_parser.add_argument( "--regen-keys", action="store_true",