Skip to content
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

Not a valid legacy git-crypt key file- attempt to decrypt #319

Open
zzph opened this issue Feb 25, 2025 · 0 comments
Open

Not a valid legacy git-crypt key file- attempt to decrypt #319

zzph opened this issue Feb 25, 2025 · 0 comments

Comments

@zzph
Copy link

zzph commented Feb 25, 2025

Hi folks,
Thanks for the work on this repo.

I am trying to convert my old git-crypt keys into new ones.
When I run "git-crypt unlock ../gpg-keys" it responds with
Error: ../gpg-keys: not a valid git-crypt key file. If this key was created prior to git-crypt 0.4, you need to migrate it

When I run git-crypt migrate-key /path/to/old_key /path/to/migrated_key it says:
not a valid legacy git-crypt key file.

I pretty urgently need to decrypt these files. Can anyone advise

Contents of git-crypt-keys (my zip)

openpgp-revovs.d/
private-keys.v1.d/
pubring.kbx
random_seed
sshcontrol
trustdb.gpg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant