git-crypt icon indicating copy to clipboard operation
git-crypt copied to clipboard

Git unlock “not valid git-crypt file”

Open zzph opened this issue 1 year ago • 1 comments

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

  • can any of the above files help me decrypt my content?

zzph avatar Feb 28 '24 04:02 zzph

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

kingbuzzman avatar Jun 18 '24 11:06 kingbuzzman