Skip to content

Commit

Permalink
Fix default ACL (suggested by @taichunmin)
Browse files Browse the repository at this point in the history
  • Loading branch information
you committed Apr 23, 2024
1 parent 4568e8f commit 0686d08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion software/script/chameleon_cli_unit.py
Original file line number Diff line number Diff line change
Expand Up @@ -1144,7 +1144,7 @@ def on_exec(self, args: argparse.Namespace):
# check ACL option
if not args.clone_access:
# if option is not specified, use generic ACL to be able to write again
block_data = block_data[:6] + bytes.fromhex("08778F") + block_data[9:]
block_data = block_data[:6] + bytes.fromhex("ff0780") + block_data[9:]
try:
# try B key first
self.cmd.mf1_write_one_block(4*s + b, MfcKeyType.B, keyB, block_data)
Expand Down

0 comments on commit 0686d08

Please sign in to comment.