WeChall->Bug Report

GPG Setup Bug?

1 2
Germanykiff
Global Rank: 943
Totalscore: 28685
Posts: 3
Thanks: 7
UpVotes: 2
Registered: 17y 153d


Last Seen: 12y 301d
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
ZXIgPHAuby5rQHdlYi5kZT6J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283b
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
Germanygizmore
Global Rank: 198
Totalscore: 110647
Posts: 1795
Thanks: 1390
UpVotes: 961
Registered: 18y 258d




Last Seen: 64d 22h
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.
Germanykiff
Global Rank: 943
Totalscore: 28685
Posts: 3
Thanks: 7
UpVotes: 2
Registered: 17y 153d


Last Seen: 12y 301d
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
United Statesshadum
Global Rank: 76
Totalscore: 227334
Posts: 245
Thanks: 420
UpVotes: 281
Registered: 17y 309d
shadum`s Avatar







Last Seen: 2y 106d
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.
United Statesadkatrit
Global Rank: 196
Totalscore: 111038
Posts: 32
Thanks: 43
UpVotes: 32
Registered: 15y 340d




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.
Germanygizmore
Global Rank: 198
Totalscore: 110647
Posts: 1795
Thanks: 1390
UpVotes: 961
Registered: 18y 258d




Last Seen: 64d 22h
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.
Germanytehron
Global Rank: 5
Totalscore: 607613
Posts: 324
Thanks: 335
UpVotes: 341
Registered: 17y 13d







Last Seen: 113d 19h
The User is Offline
RE: GPG Setup Bug?
Google/translate3Thank You!1Good Post!2Bad Post! link

PHP Warning(2): require_once(/home/gizmore/www/geshi/src/geshi.php): Failed to open stream: No such file or directory in core/inc/util/GWF_BBCodeItem.php line 219


Backtrace starts in www/index.php line 6. GWF3->__construct()............... gwf3.class.php line 107. GWF3->init()...................... gwf3.class.php line 173. GWF3->onLoadModule().............. gwf3.class.php line 435. Module_Forum->execute()........... core/module/Forum/Module_Forum.php line 223. GWF_Module->execute()............. core/inc/util/GWF_Module.php line 344. Forum_ShowThread->execute()....... core/module/Forum/method/ShowThread.php line 66. Forum_ShowThread->templateThread() core/module/Forum/method/ShowThread.php line 131. GWF_Module->templatePHP()......... core/inc/util/GWF_Module.php line 153. GWF_Module->coreTemplatePHP()..... core/inc/util/GWF_Module.php line 159. GWF_Template::templatePHPRaw().... core/inc/util/GWF_Template.php line 25. GWF_Template::templatePHP()....... core/inc/util/GWF_Template.php line 113. include()......................... www/tpl/wc4/module/Forum/show_thread.php line 71. include()......................... www/tpl/wc4/module/Forum/show_post.php line 137. GWF_ForumPost->displayMessage()... core/module/Forum/GWF_ForumPost.php line 165. GWF_Message::display()............ core/inc/util/GWF_Message.php line 229. GWF_BBCode::decode().............. core/inc/util/GWF_BBCode.php line 127. GWF_BBCodeItem->render().......... core/inc/util/GWF_BBCodeItem.php line 78. GWF_BBCodeItem->renderChilds().... core/inc/util/GWF_BBCodeItem.php line 117. GWF_BBCodeItem->render().......... core/inc/util/GWF_BBCodeItem.php line 74. GWF_BBCodeItem->renderTag()....... core/inc/util/GWF_BBCodeItem.php line 101. GWF_BBCodeItem->render_code()..... core/inc/util/GWF_BBCodeItem.php line 410. GWF_BBCodeItem->renderCode()...... core/inc/util/GWF_BBCodeItem.php line 219. require_once().................... core/inc/util/GWF_BBCodeItem.php line 219. GWF_Debug::error_handler()........ core/inc/util/GWF_Debug.php line 180.

PHP Fatal Error(1): Constant E_STRICT is deprecated since 8.4, the error level was removed in www/protected/config.php line 6


Backtrace starts in [unknown file] line ?. GWF_Debug::shutdown_function() core/inc/util/GWF_Debug.php line 109. GWF_Debug::error_handler().... core/inc/util/GWF_Debug.php line 180.