Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to select decryption key #2862

Open
svvac opened this issue Nov 21, 2023 · 1 comment
Open

Ability to select decryption key #2862

svvac opened this issue Nov 21, 2023 · 1 comment

Comments

@svvac
Copy link

svvac commented Nov 21, 2023

Expected Behavior

Given a message encrypted to multiple recipients, I'd expect OKC to prompt me for which key to use for decryption if it knows multiple secret keys from that list.

Current Behavior

OKC asks for the password of the first key it knows from the message. Canceling aborts the operation and does not try the following keys.

Possible Solution

If multiple candidate keys are found, present the user with a select field allowing to choose which key to use.

Context

Using Password Store configured to encrypt to a Main key (for daily use) and a Backup key.

Your Environment

  • Android Version: 14
  • OpenKeychain Version: 5.8.2
  • From Google Play or F-Droid?: F-Droid
@pspoe
Copy link

pspoe commented May 20, 2024

If you are willing to implement this CR, please also consider the case of a hidden recipient ('gpg --list-packets' shows ID 0000000000000000). In this case the decryption key should be tried (see gpg option --try-secret-key)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants