Commit Graph
23638 Commits
Author SHA1 Message Date
Iceman a8fe9f0f50 Merge pull request #3712 from nip-was-here/fix/iso14443a-nonce-completeness
Reject incomplete nested nonces instead of delaying PM5 authentication
2026-10-19 14:44:18 +07:00
nip dbb823c8f8 Revert redundant test
Signed-off-by: nip <182409448+nip-was-here@users.noreply.github.com>
2026-10-19 08:37:55 +04:00
nip f6b768e002 Revert redundant test
Signed-off-by: nip <182409448+nip-was-here@users.noreply.github.com>
2026-10-19 08:35:37 +04:00
Matthew CarrollandClaude Opus 5.5 ac59f2f768 lf: reject fc/2 PSK fallback clocks off nominal
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 17:24:28 -07:00
Matthew CarrollandClaude Opus 5.5 13b841e0b1 lf: cache the fc/2 PSK fallback per graph buffer, name its thresholds
The cache is keyed on a hash of the graph buffer contents: the buffer has
many writers and no change counter.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 17:24:28 -07:00
nipandOpenAI coding assistant fe176bb533 MIFARE: replace the pair cap with an acquisition time budget
Replace the artificial 68-pair limit with a 2900 ms inter-attempt
budget.
A completed-pair count does not limit failed RF/authentication retries
and unnecessarily restricts fast PM5 collection.

Keep natural buffer capacity, whole-pair packing, client cancellation,
watchdog handling and the existing 3000 ms client response waits.
A blocking attempt can overshoot; persistent errors may yield an empty
nonce reply.

Add actual-handler regression coverage for PM5, RDV4 and GENERIC.

Co-Authored-By: OpenAI coding assistant <noreply@openai.com>
Signed-off-by: nip <182409448+nip-was-here@users.noreply.github.com>
2026-10-18 22:03:43 +04:00
nipandOpenAI coding assistant 4ab9a26b30 MIFARE: reject incomplete encrypted nonce frames
Validate byte length, unfinished bits, collisions and parity-buffer
length before accepting an encrypted nested nonce. Capture decoder
metadata before CHK_TIMEOUT changes it and retry incomplete responses.

Remove the PM5-only 500 us nested-authentication delay and its override.
Preserve other RF timing, the pair cap, cancellation and watchdog calls.
Add native regression coverage without target-key filtering.

Co-Authored-By: OpenAI coding assistant <noreply@openai.com>
Signed-off-by: nip <182409448+nip-was-here@users.noreply.github.com>
2026-10-18 19:48:44 +04:00
Iceman 693ead0803 Merge pull request #3699 from s00se/replace-deprecated-strtok-with-strtok_r
client: replace deprecated strtok calls with strtok_r
2026-10-18 22:43:20 +07:00
s00se a2501dc6d4 Fixed ndef vcard by replacing deprecated strtok with strtok_r
Use 200112L instead of 200809L
2026-10-18 09:02:13 -06:00
Iceman 42c1c7a76e Merge pull request #3676 from dunderhay/desfire-reader-candidate-probe
Add DESFire reader candidate-key probe
2026-10-18 14:40:53 +07:00
Matthew Carroll 1bc32bff15 Merge remote-tracking branch 'upstream/master' into fix/psk-fc2-bandpass
# Conflicts:
#	CHANGELOG.md
2026-10-17 23:47:19 -07:00
Daniel UnderhayandOpenAI Codex 90525502f1 Add DESFire reader candidate-key probe
Add an opt-in simulator probe that checks a reader's AES authentication continuation against a supplied candidate and stops before the final card response. Expose the result through the firmware protocol and etest bench command, and document the evidence and handshake scope.

Co-Authored-By: OpenAI Codex <noreply@openai.com>
2026-10-18 16:03:57 +11:00
Iceman 23ce7229a7 Merge pull request #3711 from xianglin1998/fpga-merge-clear
FPGA: requirements.txt & run.ys translate & license headers
2026-10-18 10:52:03 +07:00
dxl 781020bf9d FPGA: requirements.txt & run.ys translate & license headers 2026-10-18 11:43:56 +08:00
Iceman f3c1195b19 Merge pull request #3708 from nip-was-here/fix/pm5-rtc-snapshot
Fix PM5 RTC snapshot coherence across second rollovers
2026-10-17 15:25:28 +07:00
nipandOpenAI coding assistant 5f54706c18 PM5: read a coherent RTC snapshot in GetTickCount
Read SBS before TIME/DATE to latch a coherent snapshot in synchronous
ERTC mode. A rollover between the previous calendar and subsecond reads
could move the tick count backwards and cause false receive timeouts.

Preserve millisecond conversion and shared delta-helper semantics.
Add actual-source rollover, conversion and register-locking coverage.
Leave acquisition limits and RF timing unchanged.

Co-Authored-By: OpenAI coding assistant <noreply@openai.com>
Signed-off-by: nip <182409448+nip-was-here@users.noreply.github.com>
2026-10-16 20:33:18 +04:00
Iceman e519c1af94 Merge pull request #3707 from TomHarkness/doc/pm5-flipper-usage-update-2
doc: update PM5-FLIPPER-USAGE.md with recent CEP/FAP fixes
2026-10-16 11:31:00 +07:00
Tom HarknessandClaude Sonnet 5 27797fb7d3 doc: update PM5-FLIPPER-USAGE.md with recent CEP/FAP fixes
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-16 08:38:39 +11:00
Iceman d5f7017097 Merge pull request #3704 from 0x6r1an0y/codex/gdm-wipe-safety
fix(mifare): make GDM wipe failure-safe
2026-10-15 11:06:19 +07:00
Iceman e69ac420e1 Merge branch 'master' into codex/gdm-wipe-safety
Signed-off-by: Iceman <iceman@iuse.se>
2026-10-15 11:06:06 +07:00
Iceman 501d8d53f1 Merge pull request #3698 from towelbyte/towelbyte_cotag_sim
Simulate COTAG tag implementation
2026-10-15 11:04:14 +07:00
Iceman 79989e02ad Merge pull request #3706 from phaseloop/niimbot-decoder
Niimbot printer DRM decoder/patcher
2026-10-15 11:02:42 +07:00
Iceman 6476e914a1 Merge pull request #3705 from TomHarkness/fix/cep-dummy-poll-resync
pm5 cep: skip resync on the FAP's 0xFF dummy-poll bytes
2026-10-15 10:51:44 +07:00
歐歪 26e762f80d chore: update command description 2026-10-15 01:33:15 +08:00
towelbyte 294fb3c504 Simulate COTAG tag implementation
New CLI command `lf cotag sim` with COTAG tag simulation implementation.

Detects COTAG reader activation sequence and emulates a COTAG tag.

Signed-off-by: andrej@towelbyte.net
2026-10-14 17:14:56 +02:00
phaseloop a8213a6fd5 Fix example usage
Signed-off-by: phaseloop <90922095+phaseloop@users.noreply.github.com>
2026-10-14 13:36:19 +02:00
phaseloop cbad3db692 Niimbot label tag patcher - initial commit
Signed-off-by: phaseloop <90922095+phaseloop@users.noreply.github.com>
2026-10-14 13:14:37 +02:00
Tom HarknessandClaude Sonnet 5 5c0c18326b pm5 cep: skip resync on the FAP's 0xFF dummy-poll bytes
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-14 20:11:44 +11:00
Iceman 7f4dfe7472 Merge pull request #3703 from nieldk/gdb-gateway
Add standaolne module gdb-gateway
2026-10-14 09:52:16 +07:00
歐歪 4405335315 chore: commands file and wording adjustment 2026-10-14 05:07:07 +08:00
歐歪andOpenAI Codex 00fb003f61 Merge upstream/master into codex/gdm-wipe-safety
Co-Authored-By: OpenAI Codex <noreply@openai.com>
2026-10-14 04:19:58 +08:00
Niel Nielsen 92c7609fc5 Add standaolne module gdb-gateway 2026-10-13 20:03:45 +02:00
Iceman 923c11b7ae Merge branch 'master' into fix/psk-fc2-bandpass
Signed-off-by: Iceman <iceman@iuse.se>
2026-10-13 23:41:09 +07:00
Iceman 162acb60a2 Merge pull request #3682 from mfcarroll/fix/t55xx-detect-pwd-guard
`lf t55xx detect` - don't send a password the PWD bit hasn't confirmed
2026-10-13 23:36:13 +07:00
Iceman 8110082977 Merge branch 'master' into fix/t55xx-detect-pwd-guard
Signed-off-by: Iceman <iceman@iuse.se>
2026-10-13 23:36:03 +07:00
Iceman feaeb3da0a Merge pull request #3677 from ByteOrderMarc/pm5-hardnested-fix
fix: hardnested/autopwn on PM5 with hardened MIFARE Classic EV1
2026-10-13 23:18:49 +07:00
Iceman 7e683e7f25 Merge branch 'master' into pm5-hardnested-fix
Signed-off-by: Iceman <iceman@iuse.se>
2026-10-13 23:17:28 +07:00
Iceman ab445f084e Merge pull request #3697 from xianglin1998/fpga-merge-and-opensource
FPGA: Merge and opensource
2026-10-13 23:06:04 +07:00
Iceman 85a27f9a6a Merge pull request #3696 from r3wretrhy/fix/lf-savestate-leak-3675
client: free graph and demod buffer save states after restore
2026-10-13 19:12:36 +07:00
Iceman d25be83872 Merge branch 'master' into fix/lf-savestate-leak-3675
Signed-off-by: Iceman <iceman@iuse.se>
2026-10-13 19:01:51 +07:00
Iceman cea810820b Merge pull request #3694 from TomHarkness/doc-pm5-flipper-usage-update
doc: update PM5-FLIPPER-USAGE.md to current CEP state
2026-10-13 15:22:38 +07:00
Iceman 9c5e07d94d Merge pull request #3679 from innocentbystanderproxmark/pm5-documentation-addition
Documentation updated from feedback
2026-10-13 15:16:48 +07:00
Iceman f653da1674 Merge branch 'master' into pm5-documentation-addition
Signed-off-by: Iceman <iceman@iuse.se>
2026-10-13 15:16:35 +07:00
Iceman 66a01099c8 Merge pull request #3700 from nieldk/master
Fixed hf 15 sim - a non-matching masked inventory no longer makes the tag ignore later inventories
2026-10-13 15:04:05 +07:00
dxlandClaude Code 7b28012e6a FPGA: Stop tracking the generated fpga_pm5.fs
It is a build product of `make pm5`, like the .bin next to it, and the
build recreates it, so the copy in the tree only went stale and made
every build touch it again.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-10-13 00:34:58 +08:00
Niel Nielsen 8a04f38305 Add files via upload
Signed-off-by: Niel Nielsen <nieldk@gmail.com>
2026-10-12 18:13:21 +02:00
dxl a3712776d3 FPGA: Added a workflow for pm3 fpga build 2026-10-12 23:08:40 +08:00
dxl 4f01016608 FPGA: Added a workaround for the GW1N-4D IDCODE(Flaws of Apicula). 2026-10-12 19:32:41 +08:00
dxl e69b791612 FPGA: Try fix workflow build error. 2026-10-12 14:51:59 +08:00
dxl 2802fd1b48 FPGA: Added workflow for PM5 fpga build. 2026-10-12 14:27:50 +08:00