-
Notifications
You must be signed in to change notification settings - Fork 479
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
git-crypt fails to unlock encrypted files upon cloning new repo in production server #181
Comments
I was able to resolve the initial issue using |
This really isn't a question about It's probably best to play around with the GPG tools directly first before trying to figure out how to work git crypt. Most of the misunderstanding is on that side of things. Try encrypting a small file to yourself with something simple like Once those basic GPG tools work for you, you won't have any trouble with |
Amazing advice, thank you! Wish I could sticky. This may also be the solution for #181 |
I'm attempting to clone my repo in a production server and decrypt my files there. I had already encrypted the repo beforehand with
git-crypt add-gpg-user
and it works fine on my development machine, but nothing I'm doing seems to re-unlock the repo on the production server. Specifically, I get the errorError: no GPG secret key available to unlock this repository.
I attempted to make a new GPG key on the production server, but that didn't help. I also don't know if my development machine has a GPG key linked to
git-crypt add-gpg-user
, meaning I don't have a key to export. I apologize if this seems like a trivial problem -- this is my first time using GPG and I have no idea what's going on. Can someone give me some guidance?The text was updated successfully, but these errors were encountered: