[Tickets #14780] Horde Cryptography API self-test cannot pass with gpg2

noreply at bugs.horde.org noreply at bugs.horde.org
Mon Feb 5 22:30:58 UTC 2018


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: https://bugs.horde.org/ticket/14780
------------------------------------------------------------------------------
  Ticket             | 14780
  Created By         | nish.aravamudan at canonical.com
  Summary            | Horde Cryptography API self-test cannot pass with gpg2
  Queue              | Horde Framework Packages
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


nish.aravamudan at canonical.com (2018-02-05 22:30) wrote:

generateKey as at  
https://github.com/horde/Crypt/blob/master/lib/Horde/Crypt/Pgp/Backend/Binary.php#L112 is fundamentally broken with gpg2, where direct interaction with secret keys is no longer  
possible.

In particular, an ignored option (secret_keyring) is passed to  
--gen-key and then used as if it was not ignored. All secret keys are  
stored in GNUPGHOME/private-keys-v1.d/ now (and are not named in a way  
that is trivial to deduce).

This blocks the ability for Ubuntu 18.04 to ship an updated php-horde-crypt.





More information about the bugs mailing list