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:
Claude
2025-12-14 12:36:12 +00:00
parent dff27ac7e4
commit 085c9e9aa8

View File

@@ -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()