AGWA / AGWA/git-crypt

unlock only possible via file

Aberta
#116 3 comentários 5 reações 0 responsáveis Ver no GitHub
Linguagem predominante
C++
Estrelas
9.9k
Forks
544
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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
```
echo $GITCRYPT_SYMETRICKEY_PATH > .git-crypt-base64.key && \
openssl base64 -d -in .git-crypt-base64.key -out .git-crypt.key && \
git-crypt unlock .git-crypt.key \
&& rm .git-crypt*.key
```

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.