-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Runtime error on bitw dump #28
Comments
mvdan
added a commit
that referenced
this issue
Jul 24, 2021
Ciphers storing a credit or debit card don't have a "Login" object, so we would panic in the "dump" command when attempting to print login fields such as the URL or password. For now, simply filter ciphers depending on whether Login exists. We should probably improve this command in the future, but for now at least it doesn't panic. While at it, stop using tabwriter for it. First, if one has hundreds of passwords stored, the command would seem to hang for tens of seconds, decrypting all secrets before printing the whole aligned table. Now, it prints each line as it goes. Not aligned anymore, but that's not a terrible thing either - some URLs can be very long and mess up the output. We also start obeying ^C properly in both the "dump" command and when reading a password. Before the fix, both would simply keep going until they were finished. Finally, update deps. Fixes #28.
Ah, thanks for reporting - I can reproduce too. When I wrote the I've sent a fix at #29; do you want to give it a go or review it? |
The branch there works, thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Let me know if there's any way I could provide more info.
The text was updated successfully, but these errors were encountered: