Commit graph

74 commits

Author SHA1 Message Date
kormax
0094318515 Make ISO14443-A polling method more flexible 2023-07-16 14:46:30 +03:00
Philippe Teuwen
83e083100b Bring LZ4 support for hardnested tables
Testing perfs on an old 8-core laptop:
BZ2   :   2 Mb, average decompression time: 5514 ms
LZ4 -9:   9 Mb, average decompression time:  837 ms
RAW   : 704 Mb, average decompression time:  368 ms

Other LZ4 options don't help: -1 is slower and bigger, --favor-decSpeed does not do anything

To enable:

apt install liblz4-dev
cd client/resources/hardnested_tables
for i in *bz2; do bunzip2 $i; lz4 -9 --rm ${i%.bz2}; done
2023-07-15 22:58:00 +02:00
kormax
66120ac71a Update ECP database 2023-07-12 10:45:24 +03:00
kormax
d5b77d2546 Add newline at the end 2023-07-09 22:36:13 +03:00
kormax
faab7c5712 Fix typos 2023-07-09 22:35:15 +03:00
kormax
6d403ddfef Create a list of known ECP frames 2023-07-09 22:33:26 +03:00
iceman1001
6eba6015c5 added a sample VAS private key to client/resources folder. Updated helptexts 2023-07-09 13:00:09 +02:00
kormax
57b827613b Update aidlist.json 2023-06-22 18:30:52 +03:00
iceman1001
681382e0cc new AID for Kiev metro card 2023-06-21 18:45:25 +02:00
iceman1001
7368cccdf9 Disney MagicBand 2023-05-29 06:57:39 +02:00
Maksym
f9ea12b98d
Update aidlist.json
Replace "rid" with prefix as it is more correct this way
2023-05-03 00:48:21 +03:00
kormax
2678c8e1a4 Add more AID entries 2023-05-02 22:04:40 +03:00
iceman1001
d998fabe2f add aid to resource file 2022-12-23 20:01:04 +01:00
iceman1001
15a848f9bb remove old file 2022-12-09 07:46:41 +01:00
iceman1001
e364d7e03d add updated sim module firmware v4.13, this is breaking change for smart category commands 2022-12-09 07:36:02 +01:00
iceman1001
53b2909f04 prepping for sim module firmware upgrade file 2022-12-05 22:32:40 +01:00
iceman1001
80505ca268 vigik has some more 491x 2022-12-03 20:12:58 +01:00
kormax
5fed5a8e62 add mobile-first aids 2022-08-11 19:30:05 +03:00
Iceman
b11019ca71
Merge pull request #1521 from shingliao/master
Add iCLASS key
2022-05-08 18:04:41 +02:00
iceman1001
581232217f added a AID and some minor style 2022-01-26 06:17:28 +01:00
iceman1001
d276ad8eb8 remove ending comma 2022-01-25 22:50:54 +01:00
iceman1001
c0e9f66c58 more aid 2021-11-22 21:29:52 +01:00
iceman1001
9a958045e0 add vivokey aid 2021-11-03 21:57:05 +01:00
Philippe Teuwen
232843477c typos 2021-10-16 23:44:53 +02:00
shingliao
94522e4197
Add iCLASS key 2021-10-16 21:06:58 +02:00
Anže Jenšterle
d74b9f8cbe
fix json 2021-08-05 15:51:35 +02:00
Anže Jenšterle
4f33d201a9
Added LEAF identity MAD entry 2021-08-05 15:47:32 +02:00
iceman1001
9458289c4e added dorma kaba entry 2021-06-21 16:33:56 +02:00
Oleg Moiseenko
a30d926dab
Merge pull request #1300 from merlokk/fido_fix
Fido commands fix
2021-06-15 13:51:58 +03:00
Oleg Moiseenko
390cfb4594
Rename hf-fido2_defparams.json to hf_fido2_defparams.json 2021-06-15 13:46:27 +03:00
merlokk
aa407eb594 rename default fido config file 2021-06-03 18:52:14 +03:00
merlokk
690895da9e add cipurse aid 2021-05-28 18:00:23 +03:00
merlokk
4bacefeadf added fido2 aid to aidlist 2021-05-28 17:42:33 +03:00
iceman1001
25cdc321cd renamed default json 2021-05-08 10:50:00 +02:00
iceman1001
8ca410b19f text 2021-05-07 21:21:42 +02:00
Anže Jenšterle
5093e7357e
Update aid_desfire.json 2021-04-29 18:58:16 +02:00
iceman1001
9215aff9de more aid (thanks @anon) 2021-03-24 18:39:34 +01:00
iceman1001
9293a25e3e hf 14a info - add MFC EV1 signature checks 2021-02-19 13:39:35 +01:00
iceman1001
db29f0a691 textual.. 2021-02-11 15:37:35 +01:00
iceman1001
0983ad806f smart commands - most use cliparser, moved sim fw file to RESOURCES 2021-01-07 12:31:29 +01:00
iceman1001
49f684c31a add noralsy/vigik entry 2020-12-30 18:58:04 +01:00
iceman1001
ed031d9bd1 MAD SIO added 2020-12-08 20:10:45 +01:00
Philippe Teuwen
a359e4fac4 Make use of aid_desfire info 2020-11-02 01:38:07 +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
iceman1001
c3a833b101 text 2020-06-27 22:22:15 +02:00
iceman1001
2878a8d481 missing semi 2020-06-24 22:18:41 +02:00
iceman1001
c47679b5dd addition 2020-06-24 22:13:41 +02:00
Philippe Teuwen
8d1027e0c9 typo 2020-06-10 02:15:16 +02:00
iceman1001
bfc6a2c513 add: a MAD Directory in json 2020-06-09 13:31:09 +02:00
Philippe Teuwen
15012198f9 client: replace zlib by bzip2 2020-06-08 02:50:43 +02:00