Commit Graph
86 Commits
Author SHA1 Message Date
Philippe Teuwen f93c9977ad hf 14a info: add ATR fingerprinting 2025-09-20 12:32:03 +02:00
iceman1001 2597c7576e style 2025-07-10 11:52:39 +02:00
iceman1001 607f1bb26c style 2025-05-24 22:49:46 +02:00
iceman1001 ad292e8810 unify test - step 2 2025-03-25 10:17:42 +01:00
Philippe Teuwen ad84875afd cppcheck nullPointerOutOfMemory 2025-03-24 23:46:43 +01:00
iceman1001 4d603a4530 unify hint text 2025-03-20 22:55:26 +01:00
iceman1001 17a8f0f9c2 text 2025-03-20 12:17:37 +01:00
iceman1001 323a4284ff modified weigand formats to include number of bits 2025-02-22 18:28:38 +01:00
iceman1001 9ddd833cba fix string handling and styles 2024-11-02 14:50:31 +01:00
Philippe Teuwen 153064ddfa Fix a bunch of potential buffer overruns with CLIGetStrWithReturn :
Most prominent one was "lf pac clone --cn 123456789" causing garbage on the terminal
Some changed code was valid before but as ppl tend to copy-paste to new code,
better to uniformize and document usages of CLIGetStrWithReturn.

Exceptions left are when filling real buffers (bin, raw,...), not strings.
2024-07-30 22:23:04 +02:00
iceman1001 96a68a1ddc fuzzing seems to believe we would actually write more than 50 bytes of ATR... 2024-02-19 18:21:19 +01:00
iceman1001 b910d7ea94 make miscchecks 2024-02-17 14:47:49 +01:00
iceman1001 f5e976afa6 style 2024-02-16 21:59:45 +01:00
iceman1001 c3e269d1b6 took PR #2283 and fixed it up. Added contact inteface to PCSC pass through (@gm3197) 2024-02-10 19:00:01 +01:00
iceman1001 05353deb4a unified verbose param text and fixed behavior 2024-01-18 19:46:14 +01:00
nvx d2d6f80d11 Fix some missing frees, null dereferences and missing initialisation picked up by clang-analyzer 2024-01-16 00:22:53 +10:00
iceman1001 fda0968db2 white space and adding hf_unisniff to buildscript 2024-01-02 23:11:51 +01:00
iceman1001 fdc1c9d864 text 2023-12-06 22:16:53 +01:00
wh201906 10ab013f5b Use defined return value 2023-11-25 11:09:16 +08:00
wh201906 493383c995 Fix ExchangeAPDUSC() in cmdsmartcard.c
It doesn't return 1 if the retry fails, which is different from the
behavior of the first try.
2023-11-24 22:20:26 +08:00
Philippe Teuwen 97f2770982 Ignore mbedtls header sitch-enum warnings 2023-11-13 09:25:41 +01:00
Grayson Martin e65263c73b run make style 2023-11-11 14:32:09 -06:00
Grayson Martin db3c86958a implement smartcard daemon relay for iso14b cards 2023-11-11 14:30:31 -06:00
Grayson Martin 4e346e8ca2 Merge branch 'master' into smartcard-relay 2023-11-11 13:05:11 -06:00
iceman1001 b0ee6ae67b fixes ntag424 2023-10-30 12:55:23 +01:00
iceman1001 4f96d3eb46 style 2023-10-03 17:10:39 +02:00
iceman1001 bb5d61dca7 added some helper functions 2023-10-01 13:05:08 +02:00
iceman1001 1234b08132 adapt to new sim module firmware version 2023-09-28 08:46:04 +02:00
iceman1001 44fe3ec38f smart raw --timeout parameter 2023-09-27 22:09:01 +02:00
iceman1001 b6e1344e1c added a custom timeout parameter to the smart raw command 2023-09-16 18:38:53 +02:00
iceman1001 d7f306084a colors for kiwi 2023-09-15 21:48:57 +02:00
Grayson Martin 8af75cb220 make style 2023-07-11 15:42:30 -05:00
Grayson Martin dfc7104799 add additional info to smart relay cmd help text 2023-07-11 15:26:50 -05:00
Grayson Martin 8bb4949016 Finish initial implementation 2023-07-11 15:11:01 -05:00
Grayson Martin 7028944ee0 Begin cmd 2023-07-11 10:55:43 -05:00
zebbe94 ee8759bc8b fix typo 2023-01-16 01:06:12 +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
Jean-Michel Picod 5bd6379b5b Move message to debug 2022-12-05 22:05:23 +01:00
Jean-Michel Picod 83e6b223c4 Adapt ARM code to comply with SIM module firmware 4.12 2022-12-05 19:35:11 +01:00
Jean-Michel Picod b70320d47d Fixing some ISO7816-4 logic.
- Fixing overflow in BigBuffer if requesting to much data
- Fixing integer wrapping with the SIM module by capping APDU data
  length
- Fixing chaining logic which was loosing previously received data
2022-12-05 10:54:38 +01:00
iceman1001 811f76785d textual 2022-08-22 12:25:25 +02:00
iceman1001 a236604716 style 2022-07-30 20:11:15 +02:00
Philippe Teuwen 30aa7aa7d1 Adapting license headers, WIP 2022-01-08 00:40:52 +01:00
iceman1001 d2c290c7c3 cppcheck fixes for const 2022-01-06 23:20:55 +01:00
iceman1001 77f49c8efc text - unified 2022-01-01 09:39:05 +01:00
iceman1001 d733a66c7b smart info, smart reader, now have ATR fingerprinting 2021-10-10 16:15:29 +02:00
Philippe Teuwen b7ea848f7f getAtrInfo without regex engine 2021-10-10 12:26:47 +02:00
iceman1001 c93dfb712f atr fixes and regex test 2021-10-10 11:45:43 +02:00
Philippe Teuwen d516e37ace text 2021-09-11 01:32:43 +02:00