diff --git a/CHANGELOG.md b/CHANGELOG.md index 6781907a..ce908c21 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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] + - Fixed unused target key type parameter for nested (@petepriority) - Skip already used items `hf mf elog --decrypt` (@p-l-) - Parallelize mfkey32v2 processes called from CLI (@p-l-) - Added support for mifare classic value block operations (@taichunmin) diff --git a/software/script/chameleon_cli_unit.py b/software/script/chameleon_cli_unit.py index c42b80d1..62b5379c 100644 --- a/software/script/chameleon_cli_unit.py +++ b/software/script/chameleon_cli_unit.py @@ -763,7 +763,7 @@ def on_exec(self, args: argparse.Namespace): key_known_bytes = bytes.fromhex(key_known) block_target = args.tblk # default to A - type_target = MfcKeyType.B if args.b else MfcKeyType.A + type_target = MfcKeyType.B if args.tb else MfcKeyType.A if block_known == block_target and type_known == type_target: print(f"{CR}Target key already known{C0}") return