mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-10-30 07:57:15 +08:00
Both `hf mfdes auth` and `hf mfdes chk` now support Key Diversification for
AN10922 and as special treat, Gallagher issued cards.
For `hf mfdes auth`:
```
-d, --kdf <kdf> Key Derivation Function (KDF) (0=None, 1=AN10922, 2=Gallagher)
-i, --kdfi <kdfi> KDF input (HEX 1-31 bytes)
```
And for `hf mfdes chk`:
```
-f, --kdf <kdf> Key Derivation Function (KDF) (0=None, 1=AN10922, Gallagher)
-i, --kdfi <kdfi> KDF input (HEX 1-31 bytes)
```
Examples:
- `hf mfdes auth -a 2081f4 -m 3 -t 4 -d 2 -n 2 -k 00112233445566778899aabbccddeeff`
Will diversify the key for key `2` on AID `2081F4` for Gallagher issued cards
- `hf mfdes chk -f 1 -i 00112233 -d mfdes_default_keys`
Will read in all the default keys from the dictionary, and diversify them
using AN10922 with the input data `00112233`
- `hf mfdes chk -f 2 -d mfdes_default_keys`
Will read in all the default keys from the dictionary, and diversify them
using AN10922 but with input data generated from the card's UID, AID and
key number.
|
||
|---|---|---|
| .. | ||
| crapto1 | ||
| cryptorf | ||
| lz4 | ||
| mbedtls | ||
| bucketsort.c | ||
| bucketsort.h | ||
| cardhelper.c | ||
| cardhelper.h | ||
| commonutil.c | ||
| commonutil.h | ||
| crc.c | ||
| crc.h | ||
| crc16.c | ||
| crc16.h | ||
| crc32.c | ||
| crc32.h | ||
| crc64.c | ||
| crc64.h | ||
| default_version.c | ||
| generator.c | ||
| generator.h | ||
| get_lz4.sh | ||
| iso15693tools.c | ||
| iso15693tools.h | ||
| legic_prng.c | ||
| legic_prng.h | ||
| lfdemod.c | ||
| lfdemod.h | ||
| parity.c | ||
| parity.h | ||
| util_posix.c | ||
| util_posix.h | ||