Commit Graph
100 Commits
Author SHA1 Message Date
Philippe Teuwen 4da4eb706a Fix bug in bootrom.bin target 2026-08-19 22:18:48 +02:00
Philippe Teuwen fbfe53d0bb update pm5 doc 2026-08-19 22:02:28 +02:00
Philippe Teuwen 06bc3239ab Proxmark5 instructions, WIP 2026-08-19 21:40:15 +02:00
Philippe Teuwen caa76f57b3 Fix pm5 recovery image 2026-08-19 19:28:17 +02:00
Philippe Teuwen 4e684cb4d3 PM5: Detect incompatible PLATFORM_EXTRAS 2026-08-19 17:52:15 +02:00
Philippe Teuwen 827fce4839 Use ARRAYLEN when possible 2026-08-19 15:51:54 +02:00
Philippe Teuwen 5518e6af77 Fix Flash_UniqueID 2026-08-19 15:51:54 +02:00
Philippe Teuwen 6863314019 Remove tabs 2026-08-19 15:51:54 +02:00
Philippe Teuwen 52af3f11e2 rename a couple of commands 2026-08-19 15:51:54 +02:00
Philippe Teuwen b6752e9dde compile CMD_FPGA_CMD_SET_PWR_PWM_LOW_COUNT only for pm5 2026-08-19 15:51:54 +02:00
Philippe Teuwen f82ac61e78 Prompt the user when flash_suggest_update_bootloader()
pm3line_init() delayed to not install signal handlers on other usages than interactive client
2026-08-19 15:51:54 +02:00
Philippe Teuwen 86b9e4d108 Merge: hardware abstraction layer for ARM 2026-08-19 15:51:53 +02:00
Philippe Teuwen ee4ff741ff Fix tools/mkversion.sh to follow new common_arm dir structure 2026-08-19 15:32:39 +02:00
Philippe Teuwen 51d0ff260a cppcheck fix sanity check condition in SimTagIso15693 2026-08-19 13:53:09 +02:00
Philippe Teuwen ddd8e57427 Make loclass/cipher_bs_avx* compatible with clang 2026-08-19 12:59:29 +02:00
Philippe Teuwen 430fea5338 Guard fpga config flash mode with capability 2026-08-19 12:04:33 +02:00
Philippe Teuwen 7c436d2d58 guard pm5 commands with capabilities 2026-08-19 12:04:33 +02:00
Philippe Teuwen d2a8cca233 Add pm5 capabilities 2026-08-19 12:04:33 +02:00
Philippe Teuwen 420e36968b cmdfpga: clear error msg 2026-08-19 12:04:33 +02:00
Philippe Teuwen 66c5fd8343 Fix external flash sanity check in prevision of pm5 2026-08-19 12:04:33 +02:00
Philippe Teuwen 436bbed4a2 Add placeholder for CMD_MAIN_CHIP_UNIQUEID 2026-08-19 12:04:32 +02:00
Philippe Teuwen d2a2d63854 Fix CodeQL warning on printf 2026-08-19 12:04:32 +02:00
Philippe Teuwen a061f080ed experimental_lib: add missing cmdfpga.c 2026-08-19 12:04:32 +02:00
Philippe Teuwen 6550610ad0 Migrate from MINGW64 to UCRT64 as arm-none-eabi-gcc is not available anymore in MINGW64
cf https://github.com/msys2/MINGW-packages/commit/bb4125054bf0a400c77a64adb07b64658554083b
2026-06-23 11:04:34 +02:00
Philippe Teuwen 5666cdf4e8 make style 2026-06-23 00:03:16 +02:00
Philippe Teuwen 10fdef1811 standalone mode HF_DOEGOX_COMMIT: DESFire suspended commit without relay 2026-06-23 00:03:00 +02:00
Philippe Teuwen 410769e463 counterfeit ULC: remove legacy poc 2026-06-10 08:05:15 +02:00
Philippe Teuwen 652602d23c Fix alignment warning 2026-06-10 01:16:14 +02:00
Philippe Teuwen 184a957436 counterfeit ULC: add support to auth with nonce pairs 2026-06-10 01:02:14 +02:00
Philippe Teuwen 607737e52e counterfeit ULC: need to merge nonce collection in auth logic for proper timings 2026-06-10 00:39:46 +02:00
Philippe Teuwen 6d8ed745fd counterfeit ULC: misc tuning 2026-06-10 00:39:46 +02:00
Philippe Teuwen efcc34a698 make style 2026-06-07 23:01:20 +02:00
Philippe Teuwen ff04e1ea9a hf mfu cauth: add -c to collect nonces 2026-06-07 22:58:39 +02:00
Philippe Teuwen fb238015fa hf mfu sim --1a2-mirror 2026-06-04 20:19:15 +02:00
Philippe Teuwen ea142febde mf mfu sim ULC/ULAES: force tag response if --1a2 is provided 2026-06-02 07:01:41 +02:00
Philippe Teuwen fa8e200c5b mfulc_counterfeit_recovery: faster vuln check 2026-05-28 23:58:09 +02:00
Philippe Teuwen f22dd43cfc mfulc_counterfeit_recovery: faster writes 2026-05-28 23:37:29 +02:00
Philippe Teuwen b13a8ce1d5 mfulc_counterfeit_recovery --cuda: dummy call to wake up the GPU ahead 2026-05-28 23:24:14 +02:00
Philippe Teuwen 13b5b1d519 Adjust hf_doegox_auth0 to support counterfeits 2026-05-28 20:08:15 +02:00
Philippe Teuwen 65de25c67e Avoid false buffer overflow warning in GCC 11
GCC 11 can’t prove PRIu64 won’t expand beyond two digits, so we switch this formatter to bounded unsigned int fields (%02u) after clamping logic.
2026-05-22 19:06:48 +02:00
Philippe Teuwen 20aaf4c292 mfulc_counterfeit_recovery.py: add --get_frequent_chal and --unlock 2026-05-22 18:52:02 +02:00
Philippe Teuwen c5e35b26a6 Add --force to mfulc_counterfeit_recovery.py 2026-05-22 11:12:17 +02:00
Philippe Teuwen ea3343156e mfulc_counterfeit_recovery.py: add --cuda to call the CUDA implementation of mfulc_des_brute 2026-05-22 00:26:22 +02:00
Philippe Teuwen b3d4e692ec mfulc_des_brute: add dynamic work pool support 2026-05-22 00:20:55 +02:00
Philippe Teuwen 16706aeeac pm3_help2json.py: fix deprecation warning 2026-05-21 21:00:58 +02:00
Philippe Teuwen d078e8a62b make style 2026-05-21 20:54:44 +02:00
Philippe Teuwen 729a8748d9 Fix vec dep with cmake 2026-05-19 09:36:32 +02:00
Philippe Teuwen fe82cae1df Add vec in cliuent deps 2026-05-19 00:37:37 +02:00
Philippe Teuwen d8c7f84598 Add Makefile PLATFORM_FILE variable to specify another Makefile.platform file 2026-05-19 00:10:17 +02:00
Philippe Teuwen 620e8b4744 Client Makefile: add FORCE* options to mirror the SKIP* options, mostly for maintainers 2026-05-11 21:43:57 +02:00
Philippe Teuwen d0661c4ce2 changelog 2026-04-28 13:57:16 +02:00
Philippe Teuwen 4e36685738 Update linux instructions for picolibc and opencl 2026-04-28 13:00:43 +02:00
Philippe Teuwen 5984a062b2 Docker Debian Forky: fix dependencies 2026-04-28 13:00:43 +02:00
Philippe Teuwen 64f0145cb4 ARM mbedtls: prevent compilation of self_test functions
They were discarded by the linker GC as they weren't used so far, but better to make it explicit.
2026-04-28 13:00:43 +02:00
Philippe Teuwen 0f4fd96f83 ARM common/generator.c: prevent compilation of functions requiring missing mbedtls files
They were discarded by the linker GC as they weren't used so far, but better to make it explicit.
2026-04-28 13:00:43 +02:00
Philippe Teuwen e7de85a1a3 ARM LZ4: prevent compilation of functions using malloc/free
They were discarded by the linker GC as they weren't used so far, but better be safe...
2026-04-28 13:00:43 +02:00
Philippe Teuwen 6efff9a6ae ARM: tidy compilation flags 2026-04-28 13:00:42 +02:00
Philippe Teuwen 294b656af1 Fix ARM compilation on Debian Forky & the new picolibc replacing newlib.
Debian Forky's gcc-arm-none-eabi uses picolibc as the default C library, replacing the old newlib-nano.
Picolibc registers itself with GCC via a .specs file.
That specs file automatically injects its own picolibc.ld into every link step — unless GCC sees a user-supplied -T flag at the GCC driver level.
https://github.com/picolibc/picolibc/blob/main/doc/linking.md
2026-04-28 13:00:42 +02:00
Philippe Teuwen 61a7c55a2c changelog 2026-04-14 10:22:17 +02:00
Philippe Teuwen 47102b202e changelog 2026-04-14 10:21:14 +02:00
Philippe Teuwen 961e59b5d1 Revert "Release v4.21611 - BREAKMEIFYOUCAN!"
This reverts commit aaacc75e9f.
2026-04-14 10:19:30 +02:00
Philippe Teuwen aaacc75e9f Release v4.21611 - BREAKMEIFYOUCAN! 2026-04-14 10:19:30 +02:00
Philippe Teuwen 00cb528de7 prepare release 2026-04-14 10:19:11 +02:00
Philippe Teuwen 148871b3b5 few docker tests adjustments 2026-04-14 10:15:46 +02:00
Philippe Teuwen c0ecb1c626 fpga_compress: fix heap corruption 2026-04-14 10:14:38 +02:00
Philippe Teuwen d6c823bea3 fix lib cmakelist & fix cmakelist alphabetic order 2026-04-13 21:44:50 +02:00
Philippe Teuwen 07cb7e8a11 remove warning 2026-04-13 15:21:53 +02:00
Philippe Teuwen 57c75ff678 arraylen 2026-04-13 09:46:50 +02:00
Philippe Teuwen 22dfe15967 update release template 2026-04-13 09:42:59 +02:00
Philippe Teuwen 88d20bd4f2 make style 2026-04-13 09:35:02 +02:00
Philippe Teuwen 06bedd410e ulaes info: align output 2026-04-13 09:30:40 +02:00
Philippe Teuwen dfb6663990 commands list helper: compute dynamically column width if > 16 2026-03-31 21:21:41 +02:00
Philippe Teuwen 078cee80d8 typo 2026-03-31 21:19:06 +02:00
Philippe Teuwen b7aefdc2bc complete zlib reqs in docs & docker 2026-03-23 22:36:47 +01:00
Philippe Teuwen e2b11e937f ✨ 2026-03-02 12:50:34 +01:00
Philippe Teuwen 64247b33b1 Init PLATFORM_DEFS 2026-03-01 21:00:05 +01:00
Philippe Teuwen 0304977eba tabs 2026-03-01 15:27:31 +01:00
Philippe Teuwen 5175c32c35 Fix makefile warning when there is no qt6 available 2026-03-01 15:27:18 +01:00
Philippe Teuwen c682ad3503 reintroduce a ubuntu 22.04 dockerfile to test old setups (e.g. old WSL) 2026-03-01 13:27:53 +01:00
Philippe Teuwen 55df8edbba Add support for Qt 6.2.4 (Ubuntu 22.04) 2026-03-01 13:23:07 +01:00
Philippe Teuwen a3996fe38c guard some hardening flag for gcc < 12 2026-03-01 13:04:41 +01:00
Philippe Teuwen 14a26b3f90 doc 2026-03-01 12:42:57 +01:00
Philippe Teuwen fe212d7f7f Fix mqtt compilation in Proxspace with Qt6 and cmake
D:/a/proxmark3/proxmark3/client/deps/mqtt/win32_sockets.h: In function 'open_nb_socket':
D:/a/proxmark3/proxmark3/client/deps/mqtt/win32_sockets.h:35:25: error: format '%s' expects argument of type 'char *', but argument 3 has type 'WCHAR *' {aka 'short unsigned int *'} [-Werror=format=]
   35 |         fprintf(stderr, "error: getaddrinfo: %s", gai_strerror(rv));
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~
2026-03-01 11:27:44 +01:00
Philippe Teuwen 7b8b759d95 Test Qt6 in Proxspace 2026-03-01 10:54:01 +01:00
Philippe Teuwen 876a41ea84 Update macports doc. UNTESTED 2026-03-01 00:30:19 +01:00
Philippe Teuwen 9eb42e29d9 changelog 2026-03-01 00:19:09 +01:00
Philippe Teuwen c529895e68 remove Qt support from experimental_lib 2026-03-01 00:13:48 +01:00
Philippe Teuwen fcb337f086 makefile: limit qt6 fix 2026-02-28 23:45:58 +01:00
Philippe Teuwen 4ec098ee9d cmake: Workaround for buggy Qt 6.4.2 & 6.6.3 2026-02-28 23:40:57 +01:00
Philippe Teuwen 8fdf0ab66f Update CI for cmake+qt6 2026-02-28 22:41:20 +01:00
Philippe Teuwen 904075ecc7 Add Qt6 to cmake 2026-02-28 22:16:35 +01:00
Philippe Teuwen e63430adb9 compile with -fPIC instead of -fPIE
CodeQL error:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1287:4: error: #error "You must build your code with position independent code if Qt was built with -reduce-relocations. " "Compile your code with -fPIC (and not with -fPIE)."
 1287 | #  error "You must build your code with position independent code if Qt was built with -reduce-relocations. "\
      |    ^~~~~
2026-02-28 22:15:32 +01:00
Philippe Teuwen 7911882530 qt6 typo 2026-02-28 19:54:27 +01:00
Philippe Teuwen 20d194e5bd Makefile: serialize targets to avoid interleaved compilations. -j still supported. 2026-02-28 19:53:41 +01:00
Philippe Teuwen 55e58466aa Fix C++ flags handling (fix relocation error on Fedora 41) 2026-02-28 18:15:44 +01:00
Philippe Teuwen f9cfda9a72 Add hardening flags (NOHARDENING=1 to disable them) and fix Windows stringop-overflow 2026-02-28 16:22:44 +01:00
Philippe Teuwen 1c8445dfe3 doc 2026-02-27 16:59:43 +01:00
Philippe Teuwen 466931137d CI: add some retry on Proxspace initialization 2026-02-27 15:54:57 +01:00
Philippe Teuwen 65be119a42 CI WSL: upgrade to Ubuntu 24.04 and Qt6 2026-02-27 15:54:29 +01:00
Philippe Teuwen 866fe62666 update doc for osx homebrew with qt6 2026-02-27 14:06:43 +01:00