AGWA / git-crypt

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

git-crypt fails to add-gpg-user when gpg.program is set to gpgsm #306

Closed btdonovan closed 8 months ago

btdonovan commented 8 months ago

Git-crypt fails to find users in the public keyring when git.program is set to gpgsm because gpgsm certs are prefixed with crt instead of pub. gpgsm also lacks a --fixed-list-mode option but that style output is the default in gpgsm so it could be safely dropped if gpgsm is the git.program.

Fixing these two problems would enable git-crypt to make use of x509 certificates for encryption.