29 Commits

Author SHA1 Message Date
GameTec_live
251804077d feat: pyrefly, uv, guidelines 2025-08-11 21:43:23 +02:00
Foxushka
cf00761902 Key recovery via backdoor for static encrypted nonce cards (#263)
* Implement MF1_ENC_NESTED_ACQUIRE in firmware

* Implement MF1_ENC_NESTED_ACQUIRE in software + fix code formatter

* Remove xz and pthreads from sources, use CMake FetchContent

* Update changelog

* lzma.h

* Update CMakeLists.txt

* Update CMakeLists.txt

* Probably fix workflow taking wrong commit for building

* Fix CMake building tools into bin/Debug on Windows

* Added cmd for fetching all slots nicks (without 16 commands)

* Fix type and use temp directory instead cwd (https://github.com/RfidResearchGroup/ChameleonUltra/pull/261)

* Fix endian for mfu_read_emu_counter_data and mfu_write_emu_counter_data

* Fix  --key interpreted as list
2025-08-01 22:12:07 +02:00
GameTec_live
961e386df6 feat: make ready for pr to upstream 2025-04-06 13:36:22 +02:00
GameTec_live
e99f8dbd0e Merge remote-tracking branch 'upstream/main' into pr-merge 2025-04-06 13:28:06 +02:00
dxl
e4648b593d fix workflow <on_push> download-artifact using 'name' instead of 'pattern' resulted in non working. 2025-04-02 13:43:21 +08:00
dxl
dd688e7b3f Fix workflow artifact conflict 409-Error
By: 18d725b9c3
2025-04-02 13:19:35 +08:00
dxl
8bb60d15f5 Fix workflow no working. <upload-artifact> updated to v4
See: https://github.com/actions/upload-artifact/issues/635
2025-04-02 12:38:42 +08:00
GameTec_live
877e7dae25 fix: hopefully fix reminder workflow 2025-02-09 15:02:19 +01:00
GameTec_live
9cd3dcabfd feat: add workflow 2025-02-09 13:31:32 +01:00
GameTec_live
6831b77570 fix: should probably pass the token 2025-02-08 18:32:51 +01:00
GameTec_live
03710c715d fix: use pattern instead of name (as stated in docs *facepalm*) 2025-02-08 18:26:07 +01:00
GameTec_live
3926f13bba fix: use github script for a reminder and only do it for first time contributors 2025-02-08 18:06:51 +01:00
GameTec_live
18d725b9c3 fix: migrate over to v4 using wildcard download 2025-02-08 17:54:55 +01:00
GameTec_live
f1ff9a331f fix: try naming it differently? 2025-02-08 17:46:47 +01:00
GameTec_live
4ee23b9e3b fix: log into docker before pulling 2025-02-08 17:41:41 +01:00
GameTec_live
cb0320666d fix: bump upload artifact version 2025-02-08 17:14:36 +01:00
DXL
3cadd47eeb Specify the Python version used by workflow as 3.12 (#217) 2024-06-13 16:24:19 +08:00
Augusto Zanellato
4347cd9048 Add PyInstaller support for client 2023-09-27 13:52:26 +02:00
Philippe Teuwen
099fb6b912 CI for releases 2023-09-26 09:51:15 +02:00
Philippe Teuwen
b03ef3ec21 build_firmware.yml: fetch depth=0 to be able to build proper version strings 2023-09-26 00:47:58 +02:00
Augusto Zanellato
4bdbb8d450 Rework CI pipeline
Changes made:
 - CI properly supports being ran on PRs and shouldn't fail anymore on
   the RRG repo;
 - The nonsense of unzipping archives during release creation isn't
   needed anymore because now there's an artifact that holds all the
   files (both zip and others) that should be included in a release;
 - Softdevice and Application verification were re-enabled (as per
   @doegox suggestion);
 - Softdevice is now bundled in `-firmware` artifact;
 - `dev` release tag is now updated ad every push to main;
 - On PRs a comment linking to artifact is now added by CI after
   success, artifact links are done with nightly.link so that they also
   fork for unauthenticated users;

There are some quirks:
 - on_pr runs on pull_request_target because it needs write access to
   packages, but pull_request_target implies that GITHUB_SHA is set to
   the base repo HEAD commit, so the whole `checkout-sha` thing is
   needed. This also implies that if one of the workflow files are
   changed in a PR the changed versions won't be ran against that same
   PR.
 - Client building per OS isn't yet implemented but all the necessary
   scaffolding is there. At the moment the per-OS clients are just a zip
   file containing all the client source.

Examples:
  - PR comment: https://github.com/augustozanellato/ChameleonUltra/pull/14#issuecomment-1688737709
  - `dev` release: https://github.com/augustozanellato/ChameleonUltra/releases/tag/dev
2023-08-22 20:58:01 +02:00
Philippe Teuwen
d5f15b5f54 fix yml 2023-08-21 02:35:46 +02:00
Philippe Teuwen
8470c51d4a run CI on PR as well, skip if commit does not touch firmware code 2023-08-21 02:31:02 +02:00
Philippe Teuwen
423d212cf7 add authors and changelog files and reminder in CI 2023-08-21 02:17:00 +02:00
Augusto Zanellato
ae48829a15 Use single release for dev builds
Fix workflow using deprecated stuff
2023-08-19 02:09:43 +02:00
Foxushka
8a786b36a4 Not required 2023-07-23 20:02:34 +00:00
Foxushka
edbafc6c53 Upload DFU zip files to releases 2023-07-23 20:02:03 +00:00
Augusto Zanellato
92b3553c53 Generate DFU packages in CI 2023-07-16 12:35:53 +02:00
Augusto Zanellato
40f9778120 Add docker toolchain, add CI pipeline (#19) 2023-07-12 10:36:36 +08:00