nvx
bf5f6750f4
Fix gallagher KDF generation for Admin Cards aka Reader Config Cards
2022-08-04 17:05:59 +10:00
iceman1001
712e46ab5a
fix #1736
2022-07-30 11:18:11 +02:00
iceman1001
f78ec337ef
adapt device side non-printing
2022-07-30 10:07:05 +02:00
iceman1001
834023b132
add a pwd to ntag215 sim if empty
2022-07-30 10:03:51 +02:00
nvx
e2fe92ee3d
Fix gallagher desfire kdf for default application card master key
2022-07-20 17:49:51 +10:00
iceman1001
0f6061c16f
remove debug message
2022-02-11 22:12:46 +01:00
iceman1001
22c1078b85
added pwd generator for NTAG tools. md5 of uid
2022-01-29 16:57:31 +01:00
Philippe Teuwen
140a7f34a4
make style
2022-01-23 20:02:57 +01:00
iceman1001
b9bc5f7a38
fix xiaomi pack algo
2022-01-23 14:38:42 +01:00
iceman1001
0587845c56
added another pwdgen algo
2022-01-23 01:32:14 +01:00
Matt Moran
a6280e2978
Merge remote-tracking branch 'upstream/master' into feat/hf-gallagher-remove-aid-limits
2022-01-15 12:11:12 +13:00
Philippe Teuwen
30aa7aa7d1
Adapting license headers, WIP
2022-01-08 00:40:52 +01:00
Matt Moran
69049a6621
Remove incorrect AID validation
2022-01-07 19:31:36 +13:00
iceman1001
6bb301f4da
cppcheck fixes for const
2022-01-06 23:07:47 +01:00
iceman1001
7efd02b6e0
cppcheck fixes
2022-01-06 22:08:28 +01:00
iceman1001
deb48d2311
cppcheck fix const
2022-01-06 21:53:39 +01:00
Philippe Teuwen
88308ea727
typos
2021-10-10 01:35:45 +02:00
iceman1001
602c9d1542
added some default generators
2021-02-20 13:04:58 +01:00
Anže Jenšterle
cd36770c5e
make style
2021-02-09 16:56:55 +01:00
iceman1001
63739b25d3
started to add touch nd go keygen algo from metrodroid
2021-02-04 22:02:07 +01:00
iceman1001
3f4a98901d
analyze nuid - now uses cliparser, and refactored to generators
2021-01-09 11:43:49 +01:00
NZSmartie
c9a10631de
Gallagher key checking is now supported on MIFARE Desfire
...
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.
2020-11-02 01:41:48 +13:00
Philippe Teuwen
c3c59e35cb
make style
2020-09-30 14:27:19 +02:00
iceman1001
c0d5b2427c
fix coverity
2020-09-26 14:54:11 +02:00
iceman1001
1aa9600048
add white cloner pwdgen algo (thanks to @paleopterix!)
2020-09-19 11:08:01 +02:00
iceman1001
9883343ccc
cppchecker
2020-06-02 13:03:11 +02:00
iceman1001
cb56ca37ff
make cppchecker happier
2020-05-13 17:31:50 +02:00
Philippe Teuwen
9847b77c83
fix cast align warning
2020-05-04 23:32:04 +02:00
Philippe Teuwen
9358554884
stricter warnings, wip
2020-05-03 00:33:28 +02:00
Philippe Teuwen
94192d0976
make style
2020-04-16 09:01:14 +02:00
iceman1001
eab2ebafae
added pwdgen test
2020-03-17 17:12:27 +01:00
iceman1001
f761874347
cppcheck macro sizeof
2020-03-13 14:13:59 +01:00
iceman1001
08f40ef310
fix: hf mfu pwdgen - xyz
2020-03-13 12:09:11 +01:00
iceman1001
ed67936892
style
2020-01-12 17:28:12 +01:00
iceman1001
a459d15093
fix: osx doesnt need own bswap..
2020-01-09 23:33:23 +01:00
iceman1001
57f026312b
Chg: generators from luascripts into client
2020-01-09 22:58:12 +01:00
iceman1001
2a0d1557e1
style
2020-01-07 22:18:27 +01:00
iceman1001
01f215a924
Chg: hooked up generator
2020-01-02 15:29:15 +01:00
iceman1001
1c98888ee5
Chg: key gen algo refactoring. This will help in next step when implementing new json key template formats
2020-01-02 11:42:57 +01:00