Open basz opened 7 years ago
Would this work:
git-crypt unlock <(echo $GITCRYPT_SYMETRIC_KEY | base64 --decode)
@aaronjensen could you help me to achieve this using windows powershell?
@IvanSorokin No, I'm sorry. You'll need to talk to someone who is proficient with powershell, which I am not.
would it be an idea to be able to encrypt via environment variables?
git-crypt unlock $GITCRYPT_SYMETRIC_KEY
Now that gitlab-ci is able properly secure these, "Secret Variables; These variables will be set to environment by the runner. So you can use them for passwords, secret keys or whatever you want."
Now, I store them as base64 encoded in the var