android-password-store/Android-Password-Store

Found .gpg-id but it contains a short hex id which is not supported

AkechiShiro opened this issue · 7 comments

Describe the bug

Latest APS release, clicking on any password shows the following issue :
Found .gpg-id but it contains a short hex id which is not supported

Steps to reproduce

Steps to reproduce the behavior:

  1. Clone repo
  2. Import private key
  3. Sélect a password élément of the store
  4. See error

Expected behavior

Maybe there should be a few note on this issue and how to solve it (can we just export our private key in others format) or should we be busy.

Screenshots

No response

Device information

  • Device: Google Pixel 6 Pro
  • OS: Android R
  • App version: [e.g. 1.13.5]

Additional context

No response

The issue isn't with your private key but the format in which its ID is entered into the .gpg-id file in your store. The simplest solution is to get the full hexadecimal ID of your key and run pass init <keyid> (without the angle brackets) on your computer to set it up correctly.

Will do that but then I will need to sync the .gpg-id file to which path ? On my phone ?

If my password store is already set, is there any way I can tweak the .gpg-id file ? @msfjarvis

If my password store is already set, is there any way I can tweak the .gpg-id file ? @msfjarvis

Running init over an existing store is non-destructive, but you can always just edit and commit the file yourself.

Will do that but then I will need to sync the .gpg-id file to which path ? On my phone ?

If it's a Git repository you should be able to pull the changes once you push them from your PC.

Closing since this is not a bug.

This was indeed fixed by changing the gpg id, thanks !