-
-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make public key file an RSA public key instead of a certificate
OpenSSL PKCS7 encrypt function needs a list of X509 certs to encrypt and sign data. However, in the context of hiera-eyaml, the certificate serves no purpose. For the user, it is easier to understand that eyaml deals with a keypair. Internally, we wrap the public key in a X509 dummy certificate to call PKCS7 encrypt but the user does not have to be exposed to it.
- Loading branch information
Showing
1 changed file
with
17 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters