-
-
Notifications
You must be signed in to change notification settings - Fork 270
[BUG] Incorrect password for unlocking password store but password is correct #2461
Comments
We need to improve diagnostics reporting for this but the password isn't incorrect, the real reason is this:
Our PGP library rejected your store file for security reasons. I haven't checked in detail so I don't have a mitigation I can share at the moment, I'll have to circle back for that once I have some time. |
Running |
I did this, it did nothing on my password-store, but when i tried to reclone the repo I couldn't use the ssh key I generated with the app because it was asking for a password, but it was bio-metrically locked. So I tried to reinstall the app and delete all data and now whenever I try to generate an ssh key with the app I get this stack trace error. There is also no way to import an ssh key anymore, so I can't get my password store repository now. Exception: NullKeyException
I get this when using the generate ssh key pair function or just try and clone the repo with SSH key pressed as the authentication method. |
Seems like a regression from #2450, I'll have to investigate after work. |
The SSH bug is indeed a regression from the PR, I've feature flagged that code for now. The new snapshot is building as I'm typing this and it should become available in the next 10 or so minutes. |
SSH key generation works now, however I still get the same wrong password error, even after |
Something in your GPG setup is generating insecure, symmetrically encrypted files. Password Store can neither "repair" nor accept these files so it's a dead end. Closing as a wontfix. |
I think I might know the issue - PGPainless doesn't seem to support AEAD if I'm not mistaken, and all my encrypted passwords encrypted by gpg on a computer seem to have AEAD. Whereas the packets generated by android password store (so pgpainless) are using MDC instead - which is older and less secure I believe. This is why I think PGPainless doesn't detect it, and thinks there's no integrity protection at all. I moved from the openkeychain version of APS for something similar to only older keys being supported too. Everything about AEAD seems stale on the pgpainless repo, so it doesn't seem like I'm going to be able to use APS any time soon. |
I have no idea about cryptography, I'm here to drop my 2 cents because I was having the same issue. I just created a new GPG key with Hope it helps someone! |
Describe the bug
Can't decrypt/access passwords due to an incorrect password given, however I am definitely giving the correct password for my GPG key.
Here is the log.txt.
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
Typed password should be correct and it should let me decrypt the password store entry.
Screenshots
No response
Device information
Additional context
.gpg-id
matches the id of my gpg keyThe text was updated successfully, but these errors were encountered: