From 64800397e2e49ce4a9d83255bcde16848fbad0c1 Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Mon, 7 Jul 2025 18:31:17 -0400 Subject: [PATCH] Add Key/Value option and update search display --- src/main.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main.py b/src/main.py index e47998e..d9afad2 100644 --- a/src/main.py +++ b/src/main.py @@ -269,6 +269,8 @@ def print_matches( print(color_text(" Type: PGP Key", "index")) elif etype == EntryType.NOSTR.value: print(color_text(" Type: Nostr Key", "index")) + elif etype == EntryType.KEY_VALUE.value: + print(color_text(" Type: Key/Value", "index")) else: if website: print(color_text(f" Label: {website}", "index")) @@ -805,6 +807,7 @@ def display_menu( print(color_text("4. Seed Phrase", "menu")) print(color_text("5. Nostr Key Pair", "menu")) print(color_text("6. PGP Key", "menu")) + print(color_text("7. Key/Value", "menu")) sub_choice = input( "Select entry type or press Enter to go back: " ).strip() @@ -827,6 +830,9 @@ def display_menu( elif sub_choice == "6": password_manager.handle_add_pgp() break + elif sub_choice == "7": + password_manager.handle_add_key_value() + break elif not sub_choice: break else: