PM3 Commands Reference (Iceman Firmware):

Main Help


Current command:
hf fido reg --help


Initiate a U2F token registration. Needs two 32-byte hash numbers.
challenge parameter (32b) and application parameter (32b).
The default config filename is  `fido2_defparams.json`
note:
   `-vv` shows  full certificates data

usage:
    hf fido reg [-havt] [-f <fn>] [--cp <str>] [--ap <str>] [--cpx <hex>] [--apx <hex>]

options:
    -h, --help                     This help
    -a, --apdu                     Show APDU requests and responses
    -v, --verbose                  Verbose output
    -t, --tlv                      Show DER certificate contents in TLV representation
    -f, --file <fn>                JSON input file name for parameters
    --cp <str>                     Challenge parameter (1..16 chars)
    --ap <str>                     Application parameter (1..16 chars)
    --cpx <hex>                    Challenge parameter (32 bytes hex)
    --apx <hex>                    Application parameter (32 bytes hex)

examples/notes:
    hf fido reg                        -> execute command with 2 parameters, filled 0x00
    hf fido reg --cp s0 --ap s1        -> execute command with plain parameters
    hf fido reg --cpx 000102030405060708090a0b0c0d0e0f000102030405060708090a0b0c0d0e0f --apx 000102030405060708090a0b0c0d0e0f000102030405060708090a0b0c0d0e0f
    hf fido reg -f fido2-params        -> execute command with custom config file