passforios icon indicating copy to clipboard operation
passforios copied to clipboard

gopenpgp: unable to add locked key to a keyring

Open johnwmail opened this issue 4 years ago • 5 comments

Hi, I installed "Pass for iOS 0.11.0 (11)" on my iphone 12, I can sync password over ssh/gti server, I can encrypt new pass with my pgp public key, but when I decrypt it, it always show the error message "gopenpgp: unable to add locked key to a keyring" Any idea what wrong here? Thanks.

johnwmail avatar Aug 22 '21 10:08 johnwmail

I'm getting this error too. Any troubleshooting tips?

wpcarro avatar Aug 03 '22 17:08 wpcarro

Update: I appended the ! to the KEY_ID during the gpg --export, and I think I've upgraded to a new error message:

Cannot show password PGP public key may be expired or incompatible with the private key.

I recently refreshed my key's expiry, so it shouldn't be expired. According to gpg:

pub   rsa4096 2017-06-08 [SC] [expires: 2027-07-16]
sec   rsa4096 2017-06-08 [SC] [expires: 2027-07-16]
ssb   rsa4096 2017-06-08 [E] [expires: 2027-07-16]
ssb#  rsa4096 2017-06-12 [S] [expires: 2027-07-16]

Any ideas what's going on here?

wpcarro avatar Aug 03 '22 17:08 wpcarro

I'm in the same situation here (iPhone 14, iOS 16.2) Did you ever get this figured out?

jamestamplin avatar Dec 22 '22 04:12 jamestamplin

The same sh*t.

yavir-me avatar Oct 21 '23 17:10 yavir-me