jms1
08/19/2025, 6:22 PMeyaml createkeys --help shows a --pkcs7-subject=<s> option, but when i try to use it i get an error message and no public key file is written. is this a bug or am i doing something wrong?jms1
08/19/2025, 6:22 PM# eyaml createkeys --pkcs7-subject 'EYAML Encryption Key'
[hiera-eyaml-core] no implicit conversion of nil into String
# ls -l keys/
total 12
-rw-------. 1 root root 1675 Aug 19 18:20 private_key.pkcs7.pem
#jms1
08/19/2025, 6:22 PMjms1
08/19/2025, 6:24 PMeyaml createkeys with no options seems to work, although the certificate in the generated public has an empty subject.
# openssl x509 -noout -subject -in keys/public_key.pkcs7.pem
subject=csharpsteen
08/19/2025, 6:26 PMhiera-eyaml has even moved away from using a full x509 certificate and just uses a bare public key.jms1
08/19/2025, 9:27 PMpublic_key.pkcs7.pem file does contain an X509 certificate. plus the option is there to set the subject, but it doesn't work, so if nothing else it is a low-level bug that should probably be fixed. i wanted to be sure i wasn't using it incorrectly before opening a ticket to report it as a bug (or is eyaml separate from "puppet inc." and i need to open an issue in a github repo somewhere? i haven't dug into it that far yet)csharpsteen
08/19/2025, 9:30 PMeyaml is a Vox project, so not something Puppet can ship changes for.jms1
08/19/2025, 9:30 PMcsharpsteen
08/19/2025, 9:33 PMcsharpsteen
08/19/2025, 9:34 PMkenyon
08/19/2025, 11:02 PM--pkcs7-subject option with eyaml 4.3.0 🤷kenyon
08/19/2025, 11:07 PMjms1
08/20/2025, 1:37 PMeyaml createkeys --help shows a --pkcs7-subject=<s> option, and it seems to recognize it AS an option, but when i try to use it it throws an error message ... like @csharpsteen said, it looks like maybe they tried to remove it but forgot to remove it from the command line parserkenyon
08/20/2025, 3:15 PMkenyon
08/20/2025, 3:16 PMkenyon
08/20/2025, 3:18 PMjms1
08/20/2025, 5:51 PM