Hello,

After a recent update to Thunderbird, my PGP encryption no longer worked.
The message appeared to use gnupg2 instead. However, it was at this point
that I unwisely removed gnupg from my ubuntu 14.04 machine. This broke my
apt application and it seems that I removed all my previously stored keys
aswel. I have reinstalled gnupg.


$ gpg --version
gpg (GnuPG) 1.4.16
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://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.

Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
        CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2


$ gpg2 --version
gpg (GnuPG) 2.0.22
libgcrypt 1.5.3
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://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.

Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA, ?, ?
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
        CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2


I cannot generate a new key pair. From the Enigmail Console,

Initializing Enigmail service ...
EnigmailAgentPath=/usr/lib/gnupg2/gpg-protect-tool

enigmail> /usr/lib/gnupg2/gpg-protect-tool --version --version --batch
--no-tty --charset utf-8 --display-charset utf-8
gpg-protect-tool (GnuPG) 2.0.22
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://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.

enigmail> /usr/lib/gnupg2/gpg-protect-tool --charset utf-8
--display-charset utf-8 --use-agent --batch --no-tty --status-fd 2
--with-fingerprint --fixed-list-mode --with-colons --list-keys
gpg-protect-tool: invalid option "--charset"
enigmail> /usr/lib/gnupg2/gpg-protect-tool --charset utf-8
--display-charset utf-8 --use-agent --batch --no-tty --status-fd 2
--with-fingerprint --fixed-list-mode --with-colons --list-secret-keys
gpg-protect-tool: invalid option "--charset"
enigmail> /usr/lib/gnupg2/gpg-protect-tool --charset utf-8
--display-charset utf-8 --use-agent --batch --no-tty --status-fd 2
--import --trustdb /tmp/enigmail_import/trustdb --no-default-keyring
--keyring /tmp/enigmail_import/keyring
gpg-protect-tool: invalid option "--charset"
/usr/lib/gnupg2/gpg-protect-tool --charset utf-8 --display-charset
utf-8 --use-agent --batch --no-tty --status-fd 2 --gen-key%echo
Generating key
Key-Type: RSA
Key-Usage: sign,auth
Key-Length: 4096
Subkey-Type: RSA
Subkey-Usage: encrypt
Subkey-Length: 4096
Name-Real:
Name-Email:
Expire-Date: 1825

enigmail> /usr/lib/gnupg2/gpg-protect-tool --charset utf-8
--display-charset utf-8 --use-agent --batch --no-tty --status-fd 2
--with-fingerprint --fixed-list-mode --with-colons --list-keys
gpg-protect-tool: invalid option "--charset"
enigmail> /usr/lib/gnupg2/gpg-protect-tool --charset utf-8
--display-charset utf-8 --use-agent --batch --no-tty --status-fd 2
--with-fingerprint --fixed-list-mode --with-colons --list-secret-keys
gpg-protect-tool: invalid option "--charset"
enigmail> /usr/lib/gnupg2/gpg-protect-tool --charset utf-8
--display-charset utf-8 --use-agent --batch --no-tty --status-fd 2
--with-fingerprint --fixed-list-mode --with-colons --list-keys
gpg-protect-tool: invalid option "--charset"
enigmail> /usr/lib/gnupg2/gpg-protect-tool --charset utf-8
--display-charset utf-8 --use-agent --batch --no-tty --status-fd 2
--with-fingerprint --fixed-list-mode --with-colons --list-secret-keys
gpg-protect-tool: invalid option "--charset"
/usr/lib/gnupg2/gpg-protect-tool --charset utf-8 --display-charset
utf-8 --use-agent --batch --no-tty --status-fd 2 --gen-key%echo
Generating key
Key-Type: RSA
Key-Usage: sign,auth
Key-Length: 4096
Subkey-Type: RSA
Subkey-Usage: encrypt
Subkey-Length: 4096
Name-Real:
Name-Email:
Expire-Date: 1825

enigmail> /usr/lib/gnupg2/gpg-protect-tool --charset utf-8
--display-charset utf-8 --use-agent --batch --no-tty --status-fd 2
--with-fingerprint --fixed-list-mode --with-colons --list-keys
gpg-protect-tool: invalid option "--charset"
enigmail> /usr/lib/gnupg2/gpg-protect-tool --charset utf-8
--display-charset utf-8 --use-agent --batch --no-tty --status-fd 2
--with-fingerprint --fixed-list-mode --with-colons --list-secret-keys
gpg-protect-tool: invalid option "--charset"


How can I get key encryption back working again?

Thanks,

Kevin
_______________________________________________
enigmail-users mailing list
[email protected]
To unsubscribe or make changes to your subscription click here:
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net

Reply via email to