Activity log for bug #1458967

Date Who What changed Old value New value Message
2015-05-26 18:33:06 Phil Norisez bug added bug
2015-05-26 18:34:19 Phil Norisez description Signed Ubuntu Code of Conduct without issuet, Decided to play with gpg to learn more about it, using the UCofC text for testing, Saved the UCofC into UCC2,txt. Encrypted the file into UCC2.gpg with command: gpg -r $USER -o UCC2.gpg --yes --symmetric -e UCC2.txt This worked fine, asking me for the passphrase twice, as expected. I gave it the one that I used to sign the UCofC for Launchpad. Then, to test the decryption: gpg -d UCC2.gpg >UCC2_1.txt Got the following messages: 'You need a passphrase to unlock the secret key for 'user: "Phillip Norisez (This is my key for Launchpad) <norisezp@comcast.net>" '2560-bit ELG-E key, ID F91FDEB0, created 2015-04-27 (main key ID 05B43F32) ' 'gpg: encrypted with 1 passphrase 'gpg: encrypted with 2560-bit ELG-E key, ID F91FDEB0, created 2015-04-27 ' "Phillip Norisez (This is my key for Launchpad) <norisezp@comcast.net>"' All of which seems to indicate the decrypt did not work. HOWEVER, diff UCC2_1.txt UCC2.txt DID NOT ERROR OUT AS EXPECTED. It seems that the text actually was written out to the file, even though errors appeared. Now, this leads me to ask the following: Why did the decrypt seem to work OK in spite of the errors? Why didn't gpg ask me for the passphrase? (I checked some old (ca 2009) posts that came up in a search for "gpg not asking" and found one that discussed checking the passphrase caching preferences for seahose, but I could not find them. I attributed this to the age of the posts; the preferences may have been deleted or moved. So, how do I change the caching preferences? Or can I not do that? Bottom line is that I expected gpg to ask me for the passphrase every time I try to decrypt the file. Is this a valid expectation? Ubuntu 12.04 LTS. Signed Ubuntu Code of Conduct without issuet, Decided to play with gpg to learn more about it, using the UCofC text for testing, Saved the UCofC into UCC2,txt. Encrypted the file into UCC2.gpg with command: gpg -r $USER -o UCC2.gpg --yes --symmetric -e UCC2.txt This worked fine, asking me for the passphrase twice, as expected. I gave it the one that I used to sign the UCofC for Launchpad. Then, to test the decryption: gpg -d UCC2.gpg >UCC2_1.txt Got the following messages: 'You need a passphrase to unlock the secret key for 'user: "Phillip Norisez (This is my key for Launchpad) <norisezp@comcast.net>" '2560-bit ELG-E key, ID F91FDEB0, created 2015-04-27 (main key ID 05B43F32) ' 'gpg: encrypted with 1 passphrase 'gpg: encrypted with 2560-bit ELG-E key, ID F91FDEB0, created 2015-04-27  ' "Phillip Norisez (This is my key for Launchpad) <norisezp@comcast.net>"' All of which seems to indicate the decrypt did not work. HOWEVER, diff UCC2_1.txt UCC2.txt DID NOT ERROR OUT AS EXPECTED. It seems that the text actually was written out to the file, even though errors appeared. Now, this leads me to ask the following: Why did the decrypt seem to work OK in spite of the errors? Why didn't gpg ask me for the passphrase? (I checked some old (ca 2009) posts that came up in a search for "gpg not asking" and found one that discussed checking the passphrase caching preferences for seahose, but I could not find them. I attributed this to the age of the posts; the preferences may have been deleted or moved. So, how do I change the caching preferences? Or can I not do that? Bottom line is that I expected gpg to ask me for the passphrase every time I try to decrypt the file. Is this a valid expectation?
2015-05-26 20:24:31 Ubuntu Foundations Team Bug Bot tags bot-comment
2015-05-27 15:09:21 Brian Murray affects ubuntu gnupg (Ubuntu)
2015-05-27 15:09:42 Brian Murray gnupg (Ubuntu): status New Invalid
2015-05-27 15:09:42 Brian Murray converted to question 267452