Current command:
hf cipurse updakey --help
Update key attributes. Factory default - 0x02. b0 - Update right - 1 self b1 - Change key and rights - 0 frozen b2 - Use as key encryption key - 1 blocked b8 - Key validity - 0 valid usage: hf cipurse updakey [-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 --trgkeyn <dec> Target key ID --attr <hex 1 byte> Key attributes 1 byte --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 updakey --trgkeyn 2 --attr 80 -> block key 2 for lifetime (WARNING!) hf cipurse updakey --trgkeyn 1 --attr 02 --commit -> for key 1