pub-sec.asc should be all you need. If you had selected both your keys during export, you'd even only need one file for both keypairs. Apart from the .asc export/import way, there alternatively is a special Enigmail function "Export settings and keys" in Engimail preferences→Transfer settings.
Not sure what happened to your export. Please open pub-sec.asc in a text editor and verify that there is a section that starts with "-----BEGIN PGP PRIVATE KEY BLOCK-----". If that exists and Enigmail on the target computer still doesn't import that file resulting in secret keys being available, please try the command line:
Open a terminal, type "gpg -v". Verify, that you have a GnuPG version >=2.1. then type "gpg --import PATH-TO/pub-sec.asc" and check the output. Post error messages here, but if you get errors, it's not an Enigmail but a GnuPG issue.
Olav
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You have a current version. If you did NOT configure any special paths, Enigmail should find and use that version. But again, after having imported your keys (once), what does 'gpg --list-secret-keys' yield?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/enigmail/admin/forum/forums. Or, if this is a mailing list, you can unsubscribe from the mailing list.
What does gpg print when you run gpg --import ?
>gpg--import$HOME/Downloads/puc-sec.ascgpg:Schlüssel1FXXXXXXXXX0E:"NAME NAME <NAME@MAIL.de>"nichtgeändertgpg:Schlüssel1FXXXXXXXXX0E:"NAME NAME <NAME@MAIL.de>"nichtgeändertgpg:Schlüssel1FXXXXXXXXX0E:geheimerSchlüsselimportiertgpg:AnzahlinsgesamtbearbeiteterSchlüssel:2gpg:unverändert:2gpg:gelesenegeheimeSchlüssel:1gpg:unverändertegeh.Schl.:1
XXX~$gpg--list-keys/home/NAME/.gnupg/pubring.kbxpubeXXXX92019-09-25[SC][verfällt: 2024-09-23]CCXXXXXXXXXXXXXXXXXXXXXXXXXX0B0uid[ unbekannt]"NAME NAME <NAME@MAIL.de>"subcvXXXX92019-09-25[E][verfällt: 2024-09-23]pubrsaXX62018-11-23[SCA][verfällt: 2023-11-22]E7XXXXXXXXXXXXXXXXXXXXXXXXXXX0Euid[ unbekannt]"NAME NAME <NAME@MAIL.de>"subrsaXX62018-11-23[E][verfällt: 2023-11-22]
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, everybody,
unfortunately I do not get my private keys imported. I have pub-sec.asc and pub.asc available. But Enigmail only imports the public key.
I have two e-mail addresses, so I have 4 files in total.
System: Ubuntu 18.04
Thunderbird: 68.4.1 (64-Bit)
Enigmail: 2.1.5 (20191231-1524)
What am I doing wrong? ;)
Thanks
Hi Chris,
pub-sec.asc should be all you need. If you had selected both your keys during export, you'd even only need one file for both keypairs. Apart from the .asc export/import way, there alternatively is a special Enigmail function "Export settings and keys" in Engimail preferences→Transfer settings.
Not sure what happened to your export. Please open pub-sec.asc in a text editor and verify that there is a section that starts with "-----BEGIN PGP PRIVATE KEY BLOCK-----". If that exists and Enigmail on the target computer still doesn't import that file resulting in secret keys being available, please try the command line:
Open a terminal, type "gpg -v". Verify, that you have a GnuPG version >=2.1. then type "gpg --import PATH-TO/pub-sec.asc" and check the output. Post error messages here, but if you get errors, it's not an Enigmail but a GnuPG issue.
Olav
Hey, inside my pub-sec.asc:
-----BEGIN PGP PUBLIC KEY BLOCK-----
KEY
-----END PGP PUBLIC KEY BLOCK-----
-----BEGIN PGP PRIVATE KEY BLOCK-----
KEY
-----END PGP PRIVATE KEY BLOCK-----
I have both pub-sec.asv in my downloads folder
Is this correct?:
gpg --import $HOME/Downloads/pub-sec.asc
or
gpg --import $HOME/Downloads/MAILNAME.pub-sec.asc
Yes, seems OK. Check what output you get. What does 'gpg --list-secret-keys' yield?
German, but i think u r able to read ;)
$ gpg -v gpg: WARNING: Kein Kommando angegeben. Versuche zu raten was gemeint ist ... gpg: Auf geht's - Botschaft eintippen ...
Sorry…'gpg --version'. See 'gpg --help' :-)
You have a current version. If you did NOT configure any special paths, Enigmail should find and use that version. But again, after having imported your keys (once), what does 'gpg --list-secret-keys' yield?
gpg --list-secret-keys <- Nothing ;)
okay, maybe it really is the path.
It's in home/name/snap
Am 2. Februar 2020 20:25:53 MEZ schrieb Chris myyuzz@users.sourceforge.net:
It looks like K-9 mangled my answer-- therfore here again:
What is the output of
gpg --import $HOME/Downloads/pub-sec.asc
?Last edit: Patrick Brunschwig 2020-02-03
Now that I have installed the version 68.4.2 (64-bit) directly from the Thunderbird homepage it works directly.
The previous version was directly from the "store" of Ubuntu for 18.04 (screenshot). Maybe it is due to the Ubuntu version?