Current command:
hf cipurse updkey --help
Update key usage: hf cipurse updkey [-hav] [-n <dec>] [-k <hex>] [--aid <hex 1..16 bytes>] [--fid <hex 2 bytes>] [--mfd] options: -h, --help This help -a, --apdu Show APDU requests and responses -v, --verbose Show technical data -n <dec> Key ID for authentication -k, --key <hex> Auth key --aid <hex 1..16 bytes> Application ID (AID) --fid <hex 2 bytes> File ID (FID) --mfd Select masterfile by empty id --newkeyn <dec> Target key ID --newkey <hex 16 byte> New key --newkeya <hex 1 byte> New key additional info (def: 0x00) --enckeyn <dec> Encrypt key ID (must be equal to the key on the card) --enckey <hex 16 byte> Encrypt key (must be equal to the key on the card) --sreq <plain|mac(default)|encode> Communication reader-PICC security level --sresp <plain|mac(default)|encode> Communication PICC-reader security level --no-auth Execute without authentication --commit Commit examples/notes: hf cipurse updkey --aid 4144204631 --newkeyn 2 --newkeya 00 --newkey 73737373737373737373737373737373 -> update default application key 2 with default value 73..73 hf cipurse updkey --newkeyn 1 --newkeya 00 --newkey 0102030405060708090a0b0c0d0e0f10 --commit -> for key 1