PM3 Commands Reference (Iceman Firmware):

Main Help


Current command:
hf fido auth --help


Initiate a U2F token authentication. Needs key handle and two 32-byte hash numbers.
key handle(var 0..255), challenge parameter (32b) and application parameter (32b)
The default config filename is  `fido2_defparams.json`

usage:
    hf fido auth [-havuc] default mode: [-f <fn>] [-k <hex>] [--kh <hex>] [--cp <str>] [--ap <str>] [--cpx <hex>]

options:
    -h, --help                     This help
    -a, --apdu                     Show APDU requests and responses
    -v, --verbose                  Verbose output
    default mode:                  dont-enforce-user-presence-and-sign
    -u, --user                     mode: enforce-user-presence-and-sign
    -c, --check                    mode: check-only
    -f, --file <fn>                JSON file name for parameters
    -k, --key <hex>                Public key to verify signature
    --kh <hex>                     Key handle (var 0..255b)
    --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 auth --kh 000102030405060708090a0b0c0d0e0f000102030405060708090a0b0c0d0e0f      -> execute command with 2 parameters, filled 0x00 and key handle
    hf fido auth
    --kh 000102030405060708090a0b0c0d0e0f000102030405060708090a0b0c0d0e0f000102030405060708090a0b0c0d0e0f000102030405060708090a0b0c0d0e0f
    --cpx 000102030405060708090a0b0c0d0e0f000102030405060708090a0b0c0d0e0f
    --apx 000102030405060708090a0b0c0d0e0f000102030405060708090a0b0c0d0e0f      -> execute command with parameters