Menu

#887 pEp generates new key instead using existing key

invalid
nobody
None
2.0.7
Minor
52.9.1
2.1.18
Linux
---
nobody
2018-12-26
2018-07-23
Furlong
No

I have a working older OpenPGP installation with exisiting private/public keys. If I enforce the use of pEp, a new key is generated and used. The account settings, where you can choose which key to use are overridden. Tried this several times, deleting the generated key, rebooting and starting Thunderbird again. This is contrary to the statement in the pEp-FAQ:

How p≡p works (User view)
What happens if I am already using a security solution?
p≡p will automatically integrate with any existing security solution you have. For example if you already have OpenPGP keys, then p≡p will just use them for any further communication.

The logfile is attached, I edited keys/email for privacy reasons:
OLDCORRECTSUBKEY = the old key pEp/enigmail should use
XXXNEWKEYYYYYYYY = the key pEp/enigmail generated on startup

1 Attachments

Discussion

  • Furlong

    Furlong - 2018-07-25
    • status: open --> invalid
     
  • Furlong

    Furlong - 2018-07-25

    I took a closer look in this case.
    Only a few private keys were not accepted.

    In one case I was able to supress the generation of a new key by deleting the passphrase from the key (this was only possible in a windows install, not linux - probably some gnupg.conf or pinentry issues).

    In another case I had two thunderbird accounts with different email adresses using the same key (with the two email adresses as UIDs). Enigmail/pEp kept generating a second key, probably because a narrow understanding of user identities.

    Anyway, as far as I understand it is a bug in the pep-engine. So I close the case. Unfortunately no bug reports possible for pep :-(

     
  • Christopher Snowhill

    I found an alternative step for you, that works on Linux: Revoke the subkeys for the newly generated keys. It won't try to generate new subkeys automatically.

    I found that this key issue also blocked me from reading encrypted mail sent to the imported multi-account key.

    E: Never mind, it generates new keys anyway.

     

    Last edit: Christopher Snowhill 2018-08-18
  • Thomas Moschny

    Thomas Moschny - 2018-12-26

    Installed Enigmail in Fedora 29 (thunderbird-enigmail-2.0.8-2.fc29.noarch), default settings, saw the same problem: For any identity in use, Enigmail ignored the existing keypair and created a fresh one. Two questions:

    1. How to get rid of those keys - can I simply delete them? I didn't send any encrypted mail, but do I understand it right that messages stored locally could also be encrypted using these keys?
    2. How to avoid Enigmail, (or p≡p fwiw) to again create duplicate keys?
     
  • Patrick Brunschwig

    The only workaround for now is to switch from the "pEp" mode to the "classical" mode in Enigmail. Go to menu Enigmail/pEp > Preferences > Compatibility and select Force using S/MIME and Enigmail.

     

Log in to post a comment.