Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generic CI file encryption and decryption with OpenSSL #15

Open
abitrolly opened this issue Apr 9, 2019 · 0 comments
Open

Generic CI file encryption and decryption with OpenSSL #15

abitrolly opened this issue Apr 9, 2019 · 0 comments

Comments

@abitrolly
Copy link
Member

Add to CI instructions scenario for decrypting file during deploy.

# encrypt
openssl aes-256-cbc -pbkdf2 -in secret.txt -out secret.enc -pass pass:$CIRCLE_ENC_KEY
# decrypt
$ openssl aes-256-cbc -pbkdf2 -in secret.enc -pass pass:$CIRCLE_ENC_KEY -d

Explain pbkdf2 derivation, symmetric key vs public/private.

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

No branches or pull requests

1 participant