Jean-Michel Picod
4375f5b91e
Avoid memory leaks with Python <3.10
2022-12-20 15:32:38 +01:00
Iceman
da3fff58fa
Merge pull request #1844 from nitraiolo/master
...
Conditional build of cmdscript to allow compilation with old python versions (<3.10.x)
2022-12-18 12:48:31 +01:00
Nitraiolo
96d8528a0a
Inverted condition in python check so it defaults to new code now.
2022-12-18 09:45:46 +01:00
Nitraiolo
997e5aac3e
Fix py_args[] population
2022-12-17 21:49:04 +01:00
Nitraiolo
912d9be2d1
Added major version into compile condition of cmdscript
2022-12-17 20:12:12 +01:00
Nitraiolo
0d2e86f99c
Conditional build of cmdscript to allow compilation with old python
...
versions (<3.10.x)
2022-12-17 15:26:36 +01:00
Iceman
e049a7c5a3
Merge pull request #1842 from wh201906/patch-1
...
Fix typo in Troubleshooting.md
2022-12-16 04:34:48 +01:00
Self Not Found
1fe1f61400
Fix typo in Troubleshooting.md
...
Signed-off-by: Self Not Found <wh201906@yandex.com>
2022-12-16 01:46:21 +08:00
iceman1001
a63257799a
test of faster pack response for "hf mfu sim -t 7"
2022-12-13 21:47:25 +01:00
Iceman
b8ef82e517
Merge pull request #1840 from mooey5775/master
...
Fix `make accessrights` for Fedora
2022-12-10 09:55:37 +01:00
Edward Li
3927ae5921
Update changelog for #1795 fix
2022-12-09 23:50:29 -05:00
Edward Li
2c1fe700e2
Fix make accessrights
for Fedora
2022-12-09 23:44:47 -05:00
Iceman
086d6b6f65
Create SECURITY.md
...
Signed-off-by: Iceman <iceman@iuse.se>
2022-12-10 03:45:32 +01:00
iceman1001
6132646f10
text
2022-12-10 03:33:36 +01:00
iceman1001
b14730d57c
fix codeql #155 - narrow type with wide type comparison in loop
2022-12-10 03:32:18 +01:00
Iceman
0ff12da8e9
Merge pull request #1839 from jmichelp/master
...
Fix embedded python not working with Proxspace.
2022-12-10 03:23:51 +01:00
Jean-Michel Picod
0083e0ae13
Fix embedded python not working with Proxspace.
2022-12-09 21:58:28 +01:00
Iceman
46ada2abd6
Merge pull request #1838 from jmichelp/master
...
Wait a bit longer for the smartcard.
2022-12-09 17:44:45 +01:00
Jean-Michel Picod
f32de52b46
Wait a bit longer for the smartcard.
...
For the max 256-byte frame, SIM wasn't ready early enough, corrupting
the reception buffer with 5 spurious bytes.
Empirically, 109 clock cycles is the minimum value that worked.
Adding 1 clock cycle as a safety buffer.
2022-12-09 13:32:17 +01:00
iceman1001
4c695c03b6
added pexpect requirement
2022-12-09 07:51:33 +01:00
iceman1001
7970fdf3ba
text
2022-12-09 07:51:03 +01:00
iceman1001
deeb672b08
also include new firmware binary in the install
2022-12-09 07:48:07 +01:00
iceman1001
15a848f9bb
remove old file
2022-12-09 07:46:41 +01:00
iceman1001
8eb6f60ba6
added a wait when init I2C, seems to increase stability
2022-12-09 07:40:41 +01:00
iceman1001
ac84e855a9
Jumps len check fix
2022-12-09 07:39:36 +01:00
iceman1001
c5582ab7c7
Changing timings, this now waits for max 276 bytes while 8051 speaks with card
2022-12-09 07:39:04 +01:00
iceman1001
4c9c0b5264
minor adaptations to timings
2022-12-09 07:37:37 +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
Iceman
9a76ec8fb0
Merge pull request #1836 from cynix/patch-1
...
Add estimated FW size saving for SKIP_ZX8211
2022-12-08 08:39:06 +01:00
cynix
76846ae186
Add estimated FW size saving for SKIP_ZX8211
...
Signed-off-by: cynix <cynix@cynix.org>
2022-12-08 00:09:43 +11:00
iceman1001
5209407e9d
revert installing 012.bin until its available
2022-12-06 22:19:18 +01:00
iceman1001
ec5de2bbdf
revert check until bin file is available
2022-12-06 22:17:06 +01:00
Iceman
ad1b0bbb67
Merge pull request #1833 from jmichelp/master
...
Moved to non-deprecated API to init Python intepreter
2022-12-06 19:47:52 +01:00
Jean-Michel Picod
b487961cbd
Moved to non-deprecated API to init Python intepreter
2022-12-06 18:07:10 +01:00
iceman1001
53b2909f04
prepping for sim module firmware upgrade file
2022-12-05 22:32:40 +01:00
Iceman
02525f610c
Merge pull request #1831 from jmichelp/master
...
Buffer size too conservative
2022-12-05 22:30:00 +01:00
Jean-Michel Picod
5bd6379b5b
Move message to debug
2022-12-05 22:05:23 +01:00
Jean-Michel Picod
07a8f7a6de
Raise the buffer size even more.
...
I was too conservative as it requires 261 bytes. Let's put 270 for the
peace of mind.
2022-12-05 22:05:15 +01:00
Iceman
9f589fed9a
Merge pull request #1830 from jmichelp/master
...
Smartcard module firmware 4.12
2022-12-05 20:28:25 +01:00
Jean-Michel Picod
c23c2b2aef
Rollback the firmware part
2022-12-05 20:05:28 +01:00
Jean-Michel Picod
ba27eb03e0
Update CHANGELOG
2022-12-05 19:42: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
89702a4e6e
Add SIM module firmware 4.12 from Sentinel
2022-12-05 19:33:41 +01:00
iceman1001
38cb327991
fix #1829 Py_SetProgramName is deprecated, but was optional in our code.
2022-12-05 19:28:42 +01:00
Iceman
8502736e2c
Merge pull request #1828 from jmichelp/master
...
Fixing some ISO7816-4 logic.
2022-12-05 19:26:55 +01:00
Iceman
989b830ae3
Merge pull request #1827 from DidierA/magic_32
...
Consider different behavior of some Gen4 cards. Should fix #1822
2022-12-05 19:25:59 +01:00
Jean-Michel Picod
c2aed7900c
Temporary fix buffer overflow until new SIM firmware is released
2022-12-05 16:53:59 +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
DidierA
2f4167ee74
Consider different behavior of some Gen4 cards. Should fix #1822
2022-12-05 01:02:36 +01:00
iceman1001
b557291a00
print sectors for mifare
2022-12-04 19:28:22 +01:00