passforios
passforios copied to clipboard
In 0.6.0 (store), pass can only decrypt a single record, fails for subsequent decryptions, requires app restart
TL;DR: if you have decryption issues, reimport gpg key
To reproduce (this is the same whether or not I choose to save gpg passphrase):
- Launch pass
- Tap on any record
- App prompts for gpg passphrase
- Enter gpg passphrase
- Record is correctly decrypted and displayed
- Go back to main list and tap on any record (can be the same as in step 2)
- App displays error "Cannot show password // Cannot decrypt password [Cancel | Try Again]"
- [Try Again]
- App prompts for gpg passphrase
- Enter gpg passhprase
- App displays error "Cannot show password // Cannot decrypt password [Cancel | Try Again]"
- Hard-exit the app
- Back to step 1
This is fixed by removing and reimporting my gpg key (4096 rsa)
Thank you for your detailed report. Someone else also reported a similar problem via email yesterday. I will take a look this weekend.
I'm experiencing something close to this in version 0.7.0 and whille using subkeys. It accepts my passphrase when I import the keys during the proompt to remember the passphrase.
Mine is more severe in that I can't get it to decrypt even after a phone restart. Reimporting the key didn't work for me.
Update, it worked, at least in 0.7.0(15). It works just fine. The problem may have been caused by my exporting the subkeys with --export-secret-keys
instead of --export-secret-subkeys
.