AGWA / AGWA/git-crypt

Document how to remove git-crypt from a repo

Aperta
#132 4 commenti 33 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C++
Stelle
9.9k
Fork
544
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I'm having an issue where git-crypt is failing to unlock in my CI/CD pipeline.

```
git-crypt: error: encrypted file has been tampered with!
error: external filter "git-crypt" smudge failed 1
error: external filter "git-crypt" smudge failed
fatal: functions/.runtimeconfig.json: smudge filter git-crypt failed
Error: 'git checkout' failed
git-crypt has been set up but existing encrypted files have not been decrypted
```

I've tried removing all encrypted files, as well as `.gitattributes`, committing those changes, then starting over. That hasn't worked. However, there doesn't seem to be a documented procedure for truly "starting over" in a given repo. In scenarios like this, there's not much debugging that the end user can do themselves.

Having documentation, or a built-in command to remove git-crypt from a given repo, would go a long way towards giving developers the tools they need to fix this issue rather than filing tickets for the maintainers to resolve.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.