Closed celian-hamon closed 1 year ago
The internally used OpenSSL extension is really picky about the format (and maybe this is for a very good reason): You require a newline after the "---BEGIN ENCRYPTED PRIVATE KEY---" header line and before the "---END ENCRYPTED PRIVATE KEY ---" line. If the newline isn't present in your env data, add it. Surprisingly the binary data between these two lines may contain any number of newlines, including zero.
Thanks for your help, i found my issue my key was encrypted, so i decrypted it worked sorry for the useless issue :/
i have a private key in a .env but it cant be read
arguments: { $pem: """ -----BEGIN ENCRYPTED PRIVATE KEY----- zedqzdqzdzdqzqd...... -----END ENCRYPTED PRIVATE KEY----- """