Advertisement
Guest User

Untitled

a guest
Oct 15th, 2014
367
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.82 KB | None | 0 0
  1. [15:46:01] Oxayotl: Hi people. I have a bug with Gajim, and I thought it would be a good idea to ask here how to get more info so I can make a better ticket afterward.
  2. […]
  3. [15:47:58] Oxayotl: The problem is with my GPG keys, Gajim consider it never has the right password from it. From the log, I think the problem comes from file “/usr/lib/python2.7/site-packages/gajim/common/gnupg.py”, the function “handle_status” treats the status message “PROGRESS” as an error
  4. [15:48:35] Oxayotl: it seems to me it should not be treated as “the password is not the right one”, but rather as “we have not finished working on this”
  5. [15:48:44] Oxayotl: not sure though
  6. […]
  7. [16:03:28] Asterix: Oxayotl : but for you GPG issue, yeah it must be a bug in gnupg:
  8. http://code.google.com/p/python-gnupg/
  9. [16:04:20] Dr. Watson: I'd like to test if I can reproduce the bug
  10. [16:04:45] Oxayotl: the thing is, even if it is a bug in GPG, I am not sure why Gajim tells me my password is wrong when GPG answer PROGRESS
  11. [16:05:03] Oxayotl: and I have no idea how to use GPG directly, and hence how to make a good bug report
  12. [16:05:38] Asterix: no idea how to do that. the gpg agent seems to return progress because it's too busy to tell us if the key is the correct one. But I don't know how is Gajim supposed to handle that. Re-ask later? we are clocked until we know if it's the correct pw
  13. [16:07:17] Asterix: Oxayotl : Gajim, IIRC, just check if it's OK or not. Here it's not OK, it's in progress, so it trests it as it's wrong
  14. [16:07:22] Oxayotl: I would like to be able to get it to re-ask later, if only to check if the problem is that GPG is taking too long, or if GPG is just blocked and always answering PROGRESS…
  15. [16:08:16] Dr. Watson: GPG has a command line interface. You can test your password by signing a string. Example is in progress of being tested.
  16. [16:09:06] Oxayotl: I tried gpg -se -r Alice but it complained about Seahorse/Gnome Keyring interfeering…
  17. [16:11:04] Asterix: yes but until we re-check we cannot log to our XMPP account
  18. [16:11:32] Dr. Watson: On my Linux machine, I typed into the command line "gpg --clearsign" and typed "Test". After that I hit the Enter-key and pressed Ctrl+D to tell GPG that I'm done. Then you are probably going to be asked for your password.
  19. On a windows machine you might be able to do the same but you have to press Ctrl+Z instead of Ctrl+D (I couldn't test it though)
  20. [16:11:51] Dr. Watson: That's how you can test your password
  21. [16:12:03] Dr. Watson: One of probably many ways
  22. [16:12:10] Oxayotl: maybe show a pop-up saying “Do you wish to wish to continue connecting without GPG or wait for GPG to finish”…
  23. [16:12:44] Oxayotl: Dr. Watson, same problem as before :
  24. gpg: WARNING: The GNOME keyring manager hijacked the GnuPG agent.
  25. gpg: WARNING: GnuPG will not work proberly - please configure that tool to not interfere with the GnuPG system!
  26.  
  27. [16:13:22] Oxayotl: it did work, though :
  28. [16:13:41] Oxayotl: https://conference.gajim.org:5281/pastebin/c360d7f8-ffb7-4e0a-8b0d-88b72812e2dd
  29. [16:16:43] Dr. Watson: Well, go to your account settings in Gajim and go to the tab "Personal info" (or similar). Tell me if you checked the "Use GPG thingie" (sorry for the mitaked, I'm using the German translation)
  30. [16:18:00] Asterix: thingie => Agent
  31. [16:18:10] Dr. Watson: Thanks
  32. [16:18:35] Dr. Watson: Is that checkbox checked? That is my question
  33. [16:19:12] Oxayotl: I tried both with and without it before
  34. [16:19:24] Oxayotl: same problem happens
  35. [16:19:35] Oxayotl: Gajim tell me that the password is wrong
  36. [16:20:14] Dr. Watson: So the problem seems to be that GPG agent and Gnome Keyring don't work together. Any ideas?
  37. [16:20:38] Oxayotl: except that the message with the GPG agent checked in is “ERROR” rather than “PROGRESS”
  38. [16:20:53] Oxayotl: interesting, I had forgotten to check that
  39. [16:21:10] Asterix: gnome keyring probably acts as a gpg agent
  40. [16:21:53] * Dr. Watson is asking the search engine of choice
  41. [16:31:24] Dr. Watson: Is it the same problem as described in #7797 ?
  42. [16:32:00] Dr. Watson: Since our bot disappeared, I have to provide the links manually: https://trac.gajim.org/ticket/7797
  43. [16:33:45] Dr. Watson: This link can be found in the ticket: http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commit;h=b896fccaada0caf1987eb95ac99dd6b4ca609c4b
  44. [16:34:10] Oxayotl: let me give this a look
  45. [16:34:23] * Dr. Watson is just doing his homework on that problem and has no clue how to fix it yet
  46. [16:35:56] Dr. Watson: Seems like the status message was just implemented and Gajim / python-gnupg doesn't handle it correctly just yet. Not sure about that
  47. [16:36:00] Oxayotl: well, I guess that would explain why it does not work when the GPG agent support is not checked
  48. [16:36:19] Oxayotl: and when it is checked, the bug is with Gnome-Keyring
  49. [16:36:25] Oxayotl: naughty Gnome-Keyring!
  50. [16:38:31] Oxayotl: no idea how to fix/gather info for a bug report on Gnome-Keyring, though :(
  51. [16:39:51] Dr. Watson: I don't use gnome, but maybe you can find a way to tell Gnome's Keyring not to act as GPG agent (if that's the problem)
  52. [16:42:59] Oxayotl: I think it will mess up GPG support in Evolution :(
  53. [16:47:17] Dr. Watson: Oxayotl, why do you use two different XMPP clients?
  54. [16:48:14] Oxayotl: Dr. Watson, what do you mean?
  55. [16:48:20] NebuK: Oxayotl, haha, nop, that was not me asking ;0
  56. [16:48:25] NebuK: but i'll watch that thread
  57. [16:49:04] Oxayotl: I have been using Empathy a bit because I had bugs with Gajim, but now I want to deal with those bugs and go back to full Gajim
  58. [16:49:27] Dr. Watson: Oxayotl, what is evolution then? I thought it would be a xmpp client.
  59. [16:49:40] Oxayotl: Evolution is an email client
  60. [16:50:00] Oxayotl: kind of an Outlook clone, I guess, but I have never used Outlook
  61. [16:50:03] Dr. Watson: Oh, I see.
  62. [16:50:14] Oxayotl: it is Gnome's official email client
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement