Username: 
Password: 
Restrict session to IP 

GPG Setup Bug?

1 2
Global Rank: 909
Totalscore: 28686
Posts: 3
Thanks: 7
UpVotes: 2
Registered: 15y 187d


Last Seen: 10y 334d
The User is Offline
GPG Setup Bug?
Google/translate3Thank You!2Good Post!1Bad Post! link
Hello,

i have tried to setup my profile with a gpg public key. I wanted to get the challenge "Training GPG". So i generated a key pair with gpg and exported the public key to a file views like this:

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.10 (GNU/Linux)

mQENBE0uRBwBCADMzy0L/uG78A3ZNt76oz8PEikb8VLYgeLO7r59A4AaBVTgactO
7yQXL5fUwZHhLPCqqkJRSjnlPSbhnslhHAeyhC7E4AG4/V2arjJ2NaEX8DxOrwXi
CNWjY+x8+igGrziy2heTWccZYIkMHNz5eko8rTz2ON5HbqVDjyJAPXfXDQ2htp+e
gi6wL5SHl+W7mfq4GAxYun7sGdOOoaB41eN5Y40KvSCqQvW9fGIhqPii0i02ngCn
4f+zUjG70f1eCxETL9pfdd/tm0/6fqt4tz88i9ylDUzXzv5TErNAEDahwE5ynuOB
bl04JvWdTurf3S89Bpq0JSUMYoRpGIp+EuhRABEBAAGJAR8EIAECAAkFAk0uRPIC
HQIACgkQm6Dweh7Yri2n2wf+Ms94GlQgCjKfWqZ/b3ip1H47Mx8W2rI09vZxV7Xo
pxV3bAiF1RZcjV3zD7KqI7iaUUti6EvZ7jB9RF8EBgHkVsmEIw4n+rw4wf52+XLG
qnQtSdxLNRqOnR6tIjRhefo6tUicki8gbTt0PlHbaNPxxGi8lfKiXvK42sfI0F9O
tiGrFNUhZwV0qnlL2nGUFPZr+A7poYZFk86uS/OGyco4+Bj7RcFjaAaxlHscyRH0
8TaYWp3pR4mICsXah2KDSGwB63BhTPa5faiT9hqQ5JIvx3qCBip+q5Sy8y890orQ
VYOCpInoIGx/2dFvRFE8a/HrxN1o+afe0z39GZqvFCk3GrQdVGhvbWFzIEtyaWVn
ZXIgPHAuby5rQHdlYi5kZT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kB283b
Mj8YxEEAVd1wYtRlriBQWuuBJ51MlSbzMytkAR7jWGVfrqc170wS6LPXcHmT+TXS
2BodziXhGcPgUDjYZEQ4xtwq4l7t0ImNfdSS8vm6R0karxjAUfgLF6mz
=nUMe
-----END PGP PUBLIC KEY BLOCK-----

After Upload the data on my profile i got a message to wait for a confirm mail. The confirm mail was received and has only the content:

GnuPG Error: gnupg_encrypt() failed: encrypt failed Message has been removed!

I think my key data is correct and can at the time see no bug on my human side. So can you please have a short look if the subsystem gpg works.

Thanks in advance.

Kiff
Global Rank: 227
Totalscore: 94362
Posts: 1680
Thanks: 1358
UpVotes: 920
Registered: 16y 292d




Last Seen: 7d 14h
The User is Offline
RE: GPG Setup Bug?
Google/translate2Thank You!1Good Post!1Bad Post! link
Thank you for the report.

Quite a few users experienced problems with the GPG setup, and the reason remains unknown.
I already identified a bug in the php gnupg bindings when using raw key format, so i switched to ascii armor only.

For your case, it might be that the GNUPG version does matter, or maybe the keychain can not get resolved completely.
Sadly the gpg error messages are not very helpful: "encryption failed" is all i can get from it Sad

If i find some spare time and mood i might check into it deeper.
The geeks shall inherit the properties and methods of object earth.
Global Rank: 909
Totalscore: 28686
Posts: 3
Thanks: 7
UpVotes: 2
Registered: 15y 187d


Last Seen: 10y 334d
The User is Offline
RE: GPG Setup Bug?
Google/translate2Thank You!0Good Post!2Bad Post! link
Thanks for your quick reply (on sunday ;)). If i can help you with any further information please ask. I setup my key pair inside of enigmail 1.1.2 from thunderbird 3.1 on ubuntu.

regards

kiff
Global Rank: 68
Totalscore: 227680
Posts: 245
Thanks: 420
UpVotes: 281
Registered: 15y 343d
shadum`s Avatar







Last Seen: 139d 12h
The User is Offline
RE: GPG Setup Bug?
Google/translate3Thank You!2Good Post!1Bad Post! link
I did not have any trouble with this challenge at all. It went like clockwork, which makes me think is must be software/implementation related.

Gizmore: PM me if you think it would help to know which software I used.
Global Rank: 183
Totalscore: 111085
Posts: 32
Thanks: 43
UpVotes: 32
Registered: 14y 9d




The User is Offline
RE: GPG Setup Bug?
Google/translate3Thank You!1Good Post!2Bad Post! link
I did this challenge just a few days ago with no problems.
Global Rank: 227
Totalscore: 94362
Posts: 1680
Thanks: 1358
UpVotes: 920
Registered: 16y 292d




Last Seen: 7d 14h
The User is Offline
RE: GPG Setup Bug?
Google/translate2Thank You!1Good Post!1Bad Post! link
Guessing from the versions sounds ambigious.
I guess someone has to dig into php gnupg code Smile
"encryption failed" is a poor error message, which leaves room for enhancements Smile
The geeks shall inherit the properties and methods of object earth.
Global Rank: 5
Totalscore: 549488
Posts: 220
Thanks: 227
UpVotes: 231
Registered: 15y 46d






Last Seen: 20s
The User is Online
RE: GPG Setup Bug?
Google/translate3Thank You!1Good Post!2Bad Post! link
Quote from kiff
Jan 30, 2011 - 13:38:33

I think my key data is correct and can at the time see no bug on my human side.

Your key has been revoked (before you tried to use it?)
GeSHi`ed Plaintext code
1
2
3
4
5
 
pub   2048R/1ED8AE2D 2011-01-13 [revoked: 2011-01-13]
uid                  XXX XXX <xxx@xxx>
sub   2048R/A93646D6 2011-01-13 [revoked: 2011-01-13]
 


You could also try generating a DSA/Elgamal key pair, which was the default in GnuPG 1.4.9. Maybe that is the problem.
Global Rank: 909
Totalscore: 28686
Posts: 3
Thanks: 7
UpVotes: 2
Registered: 15y 187d


Last Seen: 10y 334d
The User is Offline
RE: GPG Setup Bug?
Google/translate2Thank You!0Good Post!2Bad Post! link
Works now fine for me. I tried after a few days a new key and it worked so seems to be my fault, thanks for your help to everybody!
Global Rank: 1000
Totalscore: 25843
Posts: 9
Thanks: 12
UpVotes: 8
Registered: 14y 190d
caveman`s Avatar
Last Seen: 3y 214d
The User is Offline
RE: GPG Setup Bug?
Google/translate2Thank You!1Good Post!1Bad Post! link
I have a problem when clicking on the link in the confirmation e-mail. I try it in multiple browsers, I retried entering my gpg key, the result is the same. See screenshot here: http://goo.gl/TjPA1
Global Rank: 227
Totalscore: 94362
Posts: 1680
Thanks: 1358
UpVotes: 920
Registered: 16y 292d




Last Seen: 7d 14h
The User is Offline
RE: GPG Setup Bug?
Google/translate2Thank You!1Good Post!1Bad Post! link
Some email clients do not display the html properly.
It helps to replace &amp; with & manually or switch mail format to plaintext.
The geeks shall inherit the properties and methods of object earth.
1 2
tunelko, quangntenemy, TheHiveMind, Z, balicocat, Ge0, samuraiblanco, arraez, jcquinterov, hophuocthinh, alfamen2, burhanudinn123, Ben_Dover, stephanduran89, braddie0, SwolloW, dangarbri, csuquvq have subscribed to this thread and receive emails on new posts.
1 people are watching the thread at the moment.
This thread has been viewed 20649 times.