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