i have this issue with openssl when i try to run a pipeline in circle ci. Decrypting the encrypted server key in my sfdx project fails.
this is the command i use to decrypt
- run:
name: Decrypt server key
command:
openssl enc -nosalt -aes-256-cbc -d -in assets/server.key.enc -out assets/server.key -base64 -K $DECRYPT_KEY -iv $DECRYPT_IV
but i get this error
#!/bin/bash -eo pipefail
openssl enc -nosalt -aes-256-cbc -d -in assets/server.key.enc -out assets/server.key -base64 -K
$DECRYPT_KEY -iv $DECRYPT_IV
Extra arguments given.
enc: Use -help for summary.
Exited with code exit status 1
CircleCI received exit code 1
$DECRYPT_KEY
or$DECRYPT_IV
environment variables contain spaces or special characters? Most likely you'll want to quote them