Menu

Can't decrypt in Thunderbird

THA
2018-08-23
2018-09-03
  • THA

    THA - 2018-08-23

    It's been a couple months since I needed this, but now I find I can't decrypt messages in Thunderbird. I'm running (on Windows 8) the latest version of Thunderbird (52.9.1), Enigmail 2.0.8, and just uninstalled and reinstalled the latest version of GPG4win. When I view an encrypted message I get the little window entitled "pinentry-qt" asking for my passphrase. After I enter my passphrase and click OK, nothing happens.
    Can someone give me a hand and figure out what's happening and how to fix it?

     
  • Patrick Brunschwig

    This may be due to several reasons. Do you see any error in the Thunderbird console (menu Tools > Developer Tools > Error Console)?

     
  • AR

    AR - 2018-08-27

    I have been using enigmail within thunderbird for a long time but I have the same problem for a couple of months now. All I get are these errors from the console:
    usage: gpg [options] [filename]
    enigmail> "C:\Program Files (x86)\GnuPG\bin\gpg.exe" --charset utf-8 --display-charset utf-8 --no-auto-check-trustdb cipher -algo AES 256 --batch --no-tty --no-verbose --status-fd 2 --fixed-list-mode --with-colons --list-config
    gpg: Note: '--batch' is not considered an option
    gpg: Note: '--no-tty' is not considered an option
    gpg: Note: '--no-verbose' is not considered an option
    gpg: Note: '--status-fd' is not considered an option
    gpg: Note: '--fixed-list-mode' is not considered an option
    gpg: Note: '--with-colons' is not considered an option
    gpg: Note: '--list-config' is not considered an option

    I did not find anything in the forums. What can I do to fix this?
    Thanks in advance!

     
  • Patrick Brunschwig

    Axel, this looks like you are using a wrong GnuPG executable. All these options are standard options of GnuPG since many years. I'd recommend you uninstall that version of GnuPG, and install the latest version of gpg4win (www.gpg4win.org).

     
  • AR

    AR - 2018-08-29

    Sorry to be a bother. once again I upgraded to the latest version and still have the same problem. If I try to import the keys into enigmail I also get:
    Importing the keys failed

    gpg: Note: '--no-verbose' is not considered an option
    gpg: Note: '--status-fd' is not considered an option
    gpg: Note: '--no-auto-check-trustdb' is not considered an option
    gpg: Note: '--import' is not considered an option
    gpg: WARNING: no command supplied. Trying to guess what you mean ...
    usage: gpg [options] [filename]
    GPA 0.9.10 finds the keys and displays the keys. But If I paste the PGP Data it also tells me the "Invalid data" cannot be deciphered?

     
  • Patrick Brunschwig

    You'll probably need to change the path to gpg.exe. The file you are using is not GnuPG 2.x, but quite likely a sort of wrapper or gpgv.exe, or something else.

    What's the result of the following command command line (using a Command Prompt):

    "C:\Program Files (x86)\GnuPG\bin\gpg.exe" --help
    
     
  • AR

    AR - 2018-08-30

    I am on a German windows 10 OS:

    "C:\Program Files (x86)\GnuPG\bin\gpg.exe" --help
    -> Unerwartetes Token "help" in Ausdruck oder Anweisung. ( unexpected token in expression)

    cd "C:\Program Files (x86)\GnuPG\bin\"
    gpg --help
    -> works, see below:
    gpg (GnuPG) 2.2.8
    libgcrypt 1.8.3
    Copyright (C) 2018 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.

    cd "C:\Program Files (x86)\GnuPG\bin\gpg.exe --help"
    -> does not work, file not found..

     
  • Patrick Brunschwig

    "C:\Program Files (x86)\GnuPG\bin\gpg.exe" --help
    -> Unerwartetes Token "help" in Ausdruck oder Anweisung. ( unexpected token in expression)

    cd "C:\Program Files (x86)\GnuPG\bin\"
    gpg --help
    -> works, see below:

    OK. C:\Program Files (x86)\GnuPG\bin\gpg.exe is not a GnuPG executable, but whatever else. gpg --help does not execute gpg in C:\Program Files (x86)\GnuPG\bin, but wherever gpg is found in the PATH. I'd recommend you open the Enigmail preferences, unckeck the option "Overwrite GnuPG path", and let Enigmail find gpg automatically.

     
  • AR

    AR - 2018-08-30

    GnuPG was found in "C:\Program Files (x86)\GnuPG\bin\gpg.exe" The option "overwrite" was unchecked. What is the .exe I am looking for instead of gpg.exe?

     
  • Daniele Raffo

    Daniele Raffo - 2018-09-01

    If you have the latest version of GPG4Win, that's the correct .exe. Your path is correct.

    Your message of 30/8 10:04 contains a wrong command, it should be
    "C:\Program Files (x86)\GnuPG\bin\gpg.exe --help"
    and not
    cd "C:\Program Files (x86)\GnuPG\bin\gpg.exe --help"

    What happens if you run the correct command?

    If it still does not work, you should uninstall GPG4Win and then reinstall it.

     
  • AR

    AR - 2018-09-03

    Sorry for the unclear posting . The command that works is:
    PS C:\Users\aregeniter> C:\"Program Files (x86)"\GnuPG\bin\gpg.exe --help
    gpg (GnuPG) 2.2.8
    libgcrypt 1.8.3
    Copyright (C) 2018 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law...
    I have old keyrings, so is there an option I have to use or convert them to newer format?
    C:\"Program Files (x86)"\GnuPG\bin\gpg.exe --list -keys
    This command displays my keys

     

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.