GPG slows git commit

Erik Reinertsen erikrtn at gmail.com
Thu Mar 25 13:20:47 CET 2021


GPG slows git commit

I am on macOS 11.2.3, git 2.31.0, and gpg 2.2.27.

I have a private repo with a few python scripts (small). I create an empty text file, git add it, and commit it. I sign commits using GPG.

This process takes 4.64 seconds. Without gpg signing, it takes <1 sec.

Trace output is at https://gist.github.com/erikr/cf7b45d5382de0a5164a35aa08747d4b <https://gpgtools.tenderapp.com/discussions/problems/110188/r?go=aHR0cHM6Ly9naXN0LmdpdGh1Yi5jb20vZXJpa3IvY2Y3YjQ1ZDUzODJkZTBhNTE2NGEzNWFhMDg3NDdkNGI%3D>.

Expected
git commit is lightning fast, and gpg signing does not slow down git commit

Additional info
Any input would be much appreciated. I am also a beginner with GPG and git, so thanks for your patience in advance.

I posted this in the GPGTools support forum, but was told to ask this mailing list instead.

-Erik

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20210325/23833b11/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: carbon.png
Type: image/png
Size: 206605 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20210325/23833b11/attachment-0001.png>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20210325/23833b11/attachment-0004.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2021-03-20_14-05_DebugInfo.gpg
Type: application/octet-stream
Size: 13649 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20210325/23833b11/attachment-0001.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20210325/23833b11/attachment-0005.html>


More information about the Gnupg-users mailing list