RFID: 3 new T5577 extra actions: Set/clear custom pw; write block; wipe #678
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What's new
3 brand new T5577 extra actions!
Extra action "Clear/set custom T5577 password":
With Set custom password option a tag can be protected from writes with a user entered password, after done, all writes to the tag so protected must be done entering the same password stored in the tag, or they fail.
Optionally sets lock bit on password block or configuration block to set them read-only.
Optionally sets master key: 6 to disable test-mode access. That on some cloned T5577 sets them read-only!
With clear custom password option an existing password can be removed from a tag, like existing "Clear T5577 password" extra action but with a user entered hex password.
Same options of set custom password.
With Clear/set extra action you can resolve issues like this https://forum.flipperzero.one/t/t5577-password-protection/7197
Extra action "Write T5577 block": writes a user entered block with hex data. A password can be entered if tag is protected. Optionally sets lock bit to set read-only. Test with 0014 8040 in block 0, FF80 0000 in block 1, 0000 0000 in block 2, all blocks in page 0; result should be an EM4100 with all zeroes in data.
Extra action "Wipe T5577": sets a default configuration block 00148040 and writes zeroes in all data blocks of page 0. Result is a tag with no readable protocol.
Verification
Checklist (For Reviewer)