dgolja / golja-gnupg

Puppet module for managing GnuPG package and public keys
Apache License 2.0
13 stars 46 forks source link

Add gpg_home and sign_key parameters #29

Closed sbrimhall-sfdc closed 6 years ago

sbrimhall-sfdc commented 6 years ago

This adds an optional parameter gpg_home functionality to allow a custom gpg --homedir option to be passed when using the gnupg_key type. This is required to support using this to add keys to a Puppet master while using the hiera-eyaml-gpg backend.

Also adds an optional parameter sign_key to the type that will sign public keys that you add to your keyring. This is helpful when using hiera-eyaml-gpg or otherwise want to trust keys that you add.