WeChall->Bug Report

GPG Setup Bug?

1 2
Germanykiff
Posizione globale: 943
Punteggio totale: 28685
Posts : 3
Grazie: 7
Voti+: 2
Registrato: 17a 154gg


Ultima visita: 12a 301gg
L'utente è Offline
GPG Setup Bug?
Google/traduci3Grazie!2Bel post!1Brutto 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
ZXIgPHAuby5rQH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y10203UmCa7kB283b
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
Posizione globale: 198
Punteggio totale: 110647
Posts : 1795
Grazie: 1390
Voti+: 961
Registrato: 18a 259gg




Ultima visita: 65gg 12ore
L'utente è Offline
RE: GPG Setup Bug?
Google/traduci2Grazie!1Bel post!1Brutto 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
Posizione globale: 943
Punteggio totale: 28685
Posts : 3
Grazie: 7
Voti+: 2
Registrato: 17a 154gg


Ultima visita: 12a 301gg
L'utente è Offline
RE: GPG Setup Bug?
Google/traduci2Grazie!0Bel post!2Brutto 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
Posizione globale: 76
Punteggio totale: 227334
Posts : 245
Grazie: 420
Voti+: 281
Registrato: 17a 310gg
Avatar di shadum







Ultima visita: 2a 106gg
L'utente è Offline
RE: GPG Setup Bug?
Google/traduci3Grazie!2Bel post!1Brutto 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
Posizione globale: 196
Punteggio totale: 111038
Posts : 32
Grazie: 43
Voti+: 32
Registrato: 15a 341gg




L'utente è Offline
RE: GPG Setup Bug?
Google/traduci3Grazie!1Bel post!2Brutto post! Link
I did this challenge just a few days ago with no problems.
Germanygizmore
Posizione globale: 198
Punteggio totale: 110647
Posts : 1795
Grazie: 1390
Voti+: 961
Registrato: 18a 259gg




Ultima visita: 65gg 12ore
L'utente è Offline
RE: GPG Setup Bug?
Google/traduci2Grazie!1Bel post!1Brutto 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
Posizione globale: 5
Punteggio totale: 607613
Posts : 324
Grazie: 335
Voti+: 341
Registrato: 17a 13gg







Ultima visita: 114gg 9ore
L'utente è Offline
RE: GPG Setup Bug?
Google/traduci3Grazie!1Bel post!2Brutto 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.