mirror of
https://github.com/RfidResearchGroup/ChameleonUltra.git
synced 2026-05-12 11:22:59 -07:00
Merge pull request #285 from jekkos/fix-senested-key-recovery
Fix for mf static nested key recovery
This commit is contained in:
@@ -3,6 +3,7 @@ All notable changes to this project will be documented in this file.
|
||||
This project uses the changelog in accordance with [keepchangelog](http://keepachangelog.com/). Please use this to write notable changes, which is not the same as git commit log...
|
||||
|
||||
## [unreleased][unreleased]
|
||||
- Fix for static nested key recovery (@jekkos)
|
||||
|
||||
## [v2.1.0][2025-09-02]
|
||||
- Added UV, formatter and linter. Contribution guidelines. (@GameTec-live)
|
||||
|
||||
@@ -341,7 +341,7 @@ class ChameleonCMD:
|
||||
})
|
||||
return resp
|
||||
|
||||
@expect_response([Status.HF_TAG_OK, Status.HF_TAG_NO])
|
||||
@expect_response([Status.HF_TAG_OK, Status.HF_TAG_NO, Status.MF_ERR_AUTH])
|
||||
def mf1_check_keys_on_block(self, block: int, key_type: int, keys: list[bytes]):
|
||||
if key_type not in [0x60, 0x61]:
|
||||
raise ValueError("Wrong key type")
|
||||
|
||||
Reference in New Issue
Block a user