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

[BUG] No option to select which key to decrypt with #2773

Open
svvac opened this issue Nov 21, 2023 · 2 comments
Open

[BUG] No option to select which key to decrypt with #2773

svvac opened this issue Nov 21, 2023 · 2 comments
Labels
A-PGPainless Area: PGPainless-backed PGP C-bug Category: This is a bug P-high Priority: high, must be resolved before next major release
Milestone

Comments

@svvac
Copy link

svvac commented Nov 21, 2023

Is your feature request related to a problem? Please describe.

When decrypting a file with multiple recipients for which APS has the secret key:

  • The password prompt does not indicate which key password is to be entered
  • There is no way to select the key to use

Describe the solution you'd like

  • Display the key identity in the prompt
  • When multiple keys are available, allow the user to select which key to use for decryption

Describe alternatives you've considered

n/a

Additional context

version 6223d1b (snapshot, free)

@svvac svvac added C-feature Category: This is a feature request S-awaiting-triage Status: New issues that have not been assessed yet labels Nov 21, 2023
@msfjarvis
Copy link
Member

This aspect of the app can definitely use some improvement. Currently the app will go through each identifier it parses from your .gpg-id file and attempt to decrypt using the provided passphrase and the corresponding key for that identifier so it'll probably work but the user experience is nonsensical.

If you can set up an example pass repository for the multiple keys use case similar to pass-test it'll make my job somewhat easier, otherwise I can do it when I find time to work on this.

@msfjarvis msfjarvis added C-bug Category: This is a bug P-high Priority: high, must be resolved before next major release A-PGPainless Area: PGPainless-backed PGP and removed C-feature Category: This is a feature request S-awaiting-triage Status: New issues that have not been assessed yet labels Nov 21, 2023
@msfjarvis msfjarvis added this to the v2.0.0 milestone Nov 21, 2023
@msfjarvis msfjarvis changed the title [FEATURE] Select decryption key [BUG] No option to select which key to decrypt with Nov 21, 2023
@svvac
Copy link
Author

svvac commented Nov 21, 2023

See android-password-store/pass-test#1 for the requested testing files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-PGPainless Area: PGPainless-backed PGP C-bug Category: This is a bug P-high Priority: high, must be resolved before next major release
Projects
Status: 🆕 Unexplored
Development

No branches or pull requests

2 participants