Merge branch 'main' into clang-format

This commit is contained in:
GameTec-live
2025-09-02 19:44:58 +02:00
committed by GitHub
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -4,7 +4,8 @@ This project uses the changelog in accordance with [keepchangelog](http://keepac
## [unreleased][unreleased]
- Added clang formatter (@GameTec-live)
- Fix for static nested key recovery (@jekkos)
## [v2.1.0][2025-09-02]
- Added UV, formatter and linter. Contribution guidelines. (@GameTec-live)
- Extend max packet data size from 512 to 4096 bytes (@Foxushka)
+1 -1
View File
@@ -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")