What steps will reproduce the problem?
1. Import a key with a password (or generate on with a non-empty password).
2. Try to use it.
The test for encrypted key is inverted in handleAddKey.
It needs to be "if (pubkey.isEncrypted())"
instead of "if (!pubkey.isEncrypted())".
The attached patch fix the bug for me. I tested the patched version in the
emulator and alos in my own phone.
Original issue reported on code.google.com by yasl...@gmail.com on 29 Nov 2008 at 9:46
Original issue reported on code.google.com by
yasl...@gmail.com
on 29 Nov 2008 at 9:46Attachments: