From 1e1c3ec210ee63fd6dc9c1d3742a2362eba7d835 Mon Sep 17 00:00:00 2001 From: merlokk <807634+merlokk@users.noreply.github.com> Date: Mon, 19 Jul 2021 18:46:35 +0300 Subject: [PATCH] add helptext --- client/src/mifare/desfirecore.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/client/src/mifare/desfirecore.c b/client/src/mifare/desfirecore.c index a222e093d..9a1747d2f 100644 --- a/client/src/mifare/desfirecore.c +++ b/client/src/mifare/desfirecore.c @@ -1061,9 +1061,10 @@ static void PrintKeySettingsApp(uint8_t keysettings, uint8_t numkeys, bool print break; default: PrintAndLogEx(SUCCESS, - "-- Authentication with the specified key is necessary to change any key.\n" + "-- Authentication with the specified key " _YELLOW_("(0x%02x)") " is necessary to change any key.\n" "A change key and a PICC master key (CMK) can only be changed after authentication with the master key.\n" - "For keys other then the master or change key, an authentication with the same key is needed." + "For keys other then the master or change key, an authentication with the same key is needed.", + (rights >> 4) & 0x0f ); break; }