mf seos managekeys: Fix table alignment

This commit is contained in:
Antonio Vázquez Blanco committed 2026-10-21 13:37:22 +02:00
1 parent 0b9597e8f3
commit e582bfe9c5
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -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 `hf seos managekeys -p` - key table columns stay aligned for slots 10 and up (@antoniovazquezblanco)
- Improved PM5 nonce-acquisition throughput for mfc by replacing the fixed 68-pair cap with a 2900 ms target budget (@nip-was-here)
- Fixed PM5 tick-count reads across RTC second rollovers to prevent false receive timeouts
- Fixed iso14443a - reject incomplete encrypted nonce frames instead of delaying nested authentication on PM5 (@nip-was-here)
+1 -1
View File
@@ -1632,7 +1632,7 @@ static int seos_print_keys(bool verbose) {
for (uint8_t i = 0; i < ARRAYLEN(keys); i++) {
bool has_privacy = (memcmp(keys[i].privEncKey, zeros, sizeof(zeros)) != 0) || (memcmp(keys[i].privMacKey, zeros, sizeof(zeros)) != 0);
bool has_auth = (memcmp(keys[i].authKey, zeros, sizeof(zeros)) != 0);
PrintAndLogEx(INFO, " %u | %c | %c", i, has_privacy ? 'Y' : ' ', has_auth ? 'Y' : ' ');
PrintAndLogEx(INFO, "%2u | %c | %c", i, has_privacy ? 'Y' : ' ', has_auth ? 'Y' : ' ');
}
PrintAndLogEx(INFO, "---+---------+-----");
};