6.0.0-alpha10
5/15/25

[#14664] Key generations fails with gpg > 2.1
Summary Key generations fails with gpg > 2.1
Queue IMP
Queue Version 6.2.17
Type Bug
State Duplicate
Priority 1. Low
Owners
Requester debugs (at) systemausfall (dot) org
Created 06/30/2017 (2876 days ago)
Due
Updated 03/02/2018 (2631 days ago)
Assigned
Resolved 03/02/2018 (2631 days ago)
Milestone
Patch No

History
03/02/2018 04:36:07 PM Jan Schneider Comment #2
State ⇒ Duplicate
Reply to this comment
Marking as duplicate of ticket #14780 because that's in the correct 
queue already.
06/30/2017 08:15:41 PM debugs (at) systemausfall (dot) org Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Key generations fails with gpg > 2.1
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
Reply to this comment
As encrpytion and decryption of emails works fine with gpg2 the key 
generation fails with the execption "Cannot generate PGP keys"[1].

I think the problem is that gpg2 doesn't create the files secring.pgp 
and pubring.pgp any more[2] but Horde expect to find the newly created 
key there.


[1] 
https://github.com/horde/horde/blob/master/framework/Crypt/lib/Horde/Crypt/Pgp/Backend/Binary.php#L153
[2] https://www.gnupg.org/faq/whats-new-in-2.1.html#nosecring

Saved Queries