jaymzh / pius

PGP Individual User Signer
Other
98 stars 25 forks source link

mgr shouldn't generate keybox format #80

Closed jaymzh closed 6 years ago

jaymzh commented 6 years ago

Currently on gpg 2.2 where the default keyring format is keybox, pius-keyring-mgr will generate a keybox format keyring. This is problematic for several reasons:

  1. It means that other implementations - notably gpg 2.1 - can't read it properly - they think the keys are invalid
  2. gpg 2.2 won't "import" keybox keyrings, which means the -I option on pius itself fails for people using it. This lead to #74 which wasn't the correct fix.

Instead, pius-keyring-mgr should always export the keyrings to make a "gpg key public ring" format file, which is standard and can be read by all versions and any compatible implementation.