GNOME Bugzilla – Bug 348594
Leaving signer blank causes encryption to wrong key
Last modified: 2006-08-17 01:07:23 UTC
Selecting none on the libcryptui key dialog results in either encryption to the wrong key or encryption failing. Selecting a key to sign with doesn't trigger the bug. This occurs when simply using the EncryptKey interface as well as the libcryptui select recipients dialog.
Hmmm, I'll look into this. It may have to do with the 'encrypt to self' option.
Thanks. My procedure was to encrypt to my public key with the applet without a signer. I then select decrypt from the applet and am prompted for the passphrase of the last, alphabetically, of my testing key pairs. Other times it simply fails.
Are you sure, could you use libcryptui/tests/cryptui-test-ui and list it's output here? For me when I select no signer I get something like: RECIPIENT: openpgp:8D4D68687108E308 RECIPIENT: openpgp:FC3108E7F10EA9BA SIGNER: (null)
(lt-cryptui-test-ui:22049): Gtk-CRITICAL **: gtk_tree_row_reference_get_path: assertion `reference != NULL' failed RECIPIENT: openpgp:A1F8228111102E54 RECIPIENT: openpgp:8D4D68687108E308 SIGNER: (null) I tested and can't seem to replicate the bug with the applet or gedit at the moment. I'll close this and chalk it up to collatoral damage :)