Adressing TomPoulton/hiera-eyaml#105
This is a plugin encryptor for the hiera-eyaml project (hosted https://github.com/TomPoulton/hiera-eyaml/). It is a OpenSSL PKCS#7 encryptor like the original encryptor in hiera-eyaml but with the ability to use multiple keys.
Unfortunatly it needs a patched version of hiera-eyaml.
$ gem install hiera-eyaml-p7b
Then see hiera-eyaml documentation for how to use the eyaml tool to encrypt using the 'P7B' encryption_type.
---
encrypt_method: 'p7b'
p7b_private_key: '/home/user/.eyaml/ssl/user_private_key.pem'
p7b_public_key: '/home/user/.eyaml/ssl/user_public_key.pem'
p7b_public_keys: '/home/user/.eyaml/ssl/user_public_key.pem,/home/user/.eyaml/ssl/server_public_key.pem'