AGWA / git-crypt

Transparent file encryption in git
https://www.agwa.name/projects/git-crypt/
GNU General Public License v3.0
8.39k stars 476 forks source link

Git unlock “not valid git-crypt file” #308

Open zzph opened 9 months ago

zzph commented 9 months ago

Hi folks,

I’m new to git-crypt.

I had a repo setup working fine on a computer, but that computer is now not working.

I’ve cloned that repo on another device, and am trying to “unlock” the encrypted files.

git-crypt ~/git-crypt-keys which says it is “not a valid git-crypt file”.

Years ago, I tried to backup the keys (not sure how I did this). I have a zip folder with these files:

// contents of git-crypt-keys
openpgp-revovs.d/
private-keys.v1.d/
pubring.kbx
random_seed
sshcontrol
trustdb.gpg

Question

kingbuzzman commented 5 months ago

try git-crypt unlock ~/git-crypt-keys