Menu

No gpg-agent.conf file

Jacob Bahn
2016-03-06
2016-03-11
  • Jacob Bahn

    Jacob Bahn - 2016-03-06

    Hi.

    I'm new here and I'm new with enigmail and encryption. I run Trisquel 7.0 with Thunderbird.

    Enigmail encrypts with no issues, and if I send a mail to myself it's decrypted as well but other mails aren't decrypted. I can not figure out what's wrong. After researching a bit I thought I would try to add 'use-standard-socket' to gpg-agent.conf but it turns out that I don't have that file.

    Is this a known issue?

     
  • Olav Seyfarth

    Olav Seyfarth - 2016-03-06

    Well, I've heard of one (personally known, cryptographically literate) user that had a similar issue. He wrote:

    I'm using enigmail for ages, and there used to be an option „Add my own key to the recipients list”, which I can't find in the latest ubuntu's enigmail version. Has this option been removed (and if so, what was the problem with it?) or is this an ubuntu specific problem?

    Asking him personally, he said that messages he sent are no longer decryptable. He did not respond to my question whether those messages were encrypted to his own key at all. You may check this yourself: Open one of the "sent to yourself" messages in "Sent" and klick on "Details" in the Enigmail toolbar. There, choose the first item "Enigmail Security Info". You should get a PopUp telling you which keys your message has been encrypted to. If your key is listed there, the message should be decryptable and we have to search for the cause why it's not automatically decrypted (malformed message structure, corrupted key etc.). If your key is not listed there, we have to analyse the sent message itself (since it's encrypted to anything, but what?). Please forward such an encrypte test message sent from you and just to you AS ATTACHMENT to olav at enigmail dot net.

     

    Last edit: Olav Seyfarth 2016-03-06
  • Ludwig Hügelschäfer

    Hi, please close Thunderbird and locate your Thunderbird profile folder (either in

    ~/.thunderbird/<Profile name>
    

    or

     ~/.mozilla-thunderbird<Profile name>
    

    Both are hidden folders, so you may have to make your file browser display those directories.

    There should be a file named prefs.js, open it with an text editor (gedit, Kate or similar). Search for

    extensions.enigmail.encryptToSelf
    

    This should be set to true. If set to false, change it to "true" (all lower case) and save the file. Does that help you?

     
  • Jacob Bahn

    Jacob Bahn - 2016-03-06

    Thanks for your replies. Maybe I misunderstand you or expressed myself unclear, but it seems to me, that you misunderstand what my problem is: Encryption and decryption of my own mails (i.e. sent from my self to myself) works fine (Markering_003.png). Encryption of files sent to others works fine as well. But Enigmail won't decrypt mails I receive from others (Markering_004.png). As you can se Enigmail doesn't even seem to register, that the mai lis encrypted.

     

    Last edit: Jacob Bahn 2016-03-06
  • Ludwig Hügelschäfer

    So you obviously get no error message. Would you please create an execution trace (https://enigmail.net/index.php/en/faq?view=category&id=11#faqLink_6) and send it encrypted to ludwig at enigmail dot net.

     
  • Olav Seyfarth

    Olav Seyfarth - 2016-03-06

    OK, then I misenterpreted your post, sorry. Nevertheless you did not follow my advice to look at Details -> Info. Please do that and post what you see (trying to decrypt a message you can't decrypt.

    You could write an email to me indicating which key I should use? I'd send you an encrypted messages and check if I can find any oddities with your key. If you can decrypt my message, then the sender does something your installation can't handle.

    Generally, the easiest way to drill such things down is to receive a plain INLINE message from one of the persons you dannot decrypt messages from, so you may use the command line to decrypt it - and see any messages GnuPG tells you about the decryption.

     
  • Olav Seyfarth

    Olav Seyfarth - 2016-03-06

    OK, the other guy's problem is solve (in personal messages): he needed to set

    menu Enigmail > Preferences > Adavanced:
    Only download attachments when opened (IMAP)
    to OFF(!)

    (so that the whole message is loaded). It's unclear why it was not set now. On a closer look, symptom was that only messages with attachments could not be decrypted.

     
  • Jacob Bahn

    Jacob Bahn - 2016-03-10

    Thanks for your replies.

    It turns out that the reason I got this problem was because I had changed keys and not given them to people sending to me. I'm sorry for taking your time on this, but I'm also very thankful for your answers.

     
  • Ludwig Hügelschäfer

    You're welcome :-) Glad that you works now for you!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.