-
Notifications
You must be signed in to change notification settings - Fork 302
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
failing on undecryptable password entries #97
Comments
Or how about doing it this way?
resulting in
|
@all-contributors please add @rma-x for ideas |
We had trouble processing your request. Please try again later. |
The newly released 1.1.0 should now cover this. See also |
Thanks for the quick response and fix! I confirm that IOW, I would expect to see all the WARNING lines and maybe the ERROR line (possibly reduced to a WARNING when
|
The logged exception was kept to indicate which failure occurred (username or password). |
This could be dealt with by (error)handling both values individually which would have the additional benefit of not invalidating both when only one of them is corrupted.
resulting in a (IMO) much nicer output with no backtraces:
|
Would you be so kind to submit a pull request? Also, please keep the |
Actually, I think the change I propose addresses most of your suggestion, which is to not show the traceback. |
Done, let me know if this is good enough. |
Thanks, works for me. It still invalidates both fields even when only one is corrupted, but that doesn't matter for my case at hand where both are corrupted anyway. |
Indeed, but considering that a feature as one can't login without both pieces of information 😇 |
Well, if only the username was corrupted, that I would have remembered anyway, I'd still be interested to get the password out. ;) |
Today I used firefox_decrypt on a profile that I have carried on over many years and Firefox versions and that has grown a long list of stored passwords. Apparently for one of my entries both username and password are corrupted for whatever reason, and that makes firefox_decrypt fail completely:
Given that the rest of the passwords can be decrypted just fine (as I was able to see with
-vv
), I think that thedecrypt
method of theNSSProxy
class should only print a warning (or the number of failures in a summary line), but not error out on entries that fail to decrypt.The text was updated successfully, but these errors were encountered: