Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

I wonder how to set a environment variable value from a key file #3

Open
QingsongYao opened this issue Jan 5, 2018 · 1 comment
Open

Comments

@QingsongYao
Copy link

tried to set the private key values from a key to CCI environment variable, but it seems not working since I got
bad decrypt
139675363702432:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:evp_enc.c:539:

@gost402
Copy link

gost402 commented Jan 28, 2018

If this issue is still actual, check that there you use same openssl version on your computer and CircleCI. I had OpenSSL 1.0.2g on my PC, and there was OpenSSL 1.1.0f on CirlceCI env.

https://stackoverflow.com/questions/39637388/encryption-decryption-doesnt-work-well-between-two-different-openssl-versions

Try add -md md5 to your decipher command.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants