mirror of
https://github.com/overcuriousity/trace.git
synced 2025-12-20 04:52:21 +00:00
Always prompt for GPG key selection for transparency
Remove auto-selection when only one key exists. Users should always be explicitly aware of which key is being used and have the option to choose the default key (option 0) instead. trace/gpg_wizard.py:79-95
This commit is contained in:
@@ -76,10 +76,6 @@ def run_gpg_wizard():
|
||||
# Let user select a key
|
||||
selected_key = None
|
||||
|
||||
if len(keys) == 1:
|
||||
print(f"Only one key found. Using: {keys[0][1]}")
|
||||
selected_key = keys[0][0]
|
||||
else:
|
||||
while True:
|
||||
try:
|
||||
choice = input(f"Select a key (1-{len(keys)}, or 0 to use default key): ").strip()
|
||||
|
||||
Reference in New Issue
Block a user