-
-
Notifications
You must be signed in to change notification settings - Fork 199
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-secret issues operating between gpg 2.0.x and 2.1.x #274
Comments
Hello @jvassev, Is this issue complete and correct? We perform automated tests with gpg 2.0.22. Might this issue actually have to do with inter-operation between different versions of gnupg? |
I think my problem has to do with encrypting using gpg 2.1.0 and then failing to decrypt using 2.0.x. The exact version which fails to decrypt is (ubuntu xenial): I am encrypting with (centos 7): |
@jvassev yes, this is a known issue of git-secret interoperating with different versions of gnupg. We would love for someone to implement a solution, which requires git-secret not depending as much on binary files created by gpg. (edit:) I'm planning to close this as a dup of #228 and reword the description to mention it's a GnuPG inter-operation issue |
It looks like git-secret cannot decrypt a repo when it's encrypted with gpg 2.0.x.
This has to do with the removal of the secring.gpg: https://www.gnupg.org/faq/whats-new-in-2.1.html
I have "fixed" git-secret locally by just commenting these 3 lines:
git-secret/src/_utils/_git_secret_tools.sh
Lines 585 to 587 in 7dd6177
It would be nice if some older gpg's are also supported for those stuck older linuxes :)
The text was updated successfully, but these errors were encountered: