Intellij IDEA GIT Announcement Ends with GPG

Signing GPG GIT does the work in the terminal, but not in Intellij Idea.

gpg failed to sign the data fatal: failed to write commit object
+2
source share
1 answer

If you have a working GPG signing, your GIT logs into the terminal, but not into Intellij Idea, you can use pinentry-mac. Remember to also update the files gpg.confand gpg-agent.conf.

brew install pinentry-mac
echo "no-tty" >> ~/.gnupg/gpg.conf
echo $(which pinentry-mac) >> ~/.gnupg/gpg-agent.conf

Further information here: https://nathanielhoag.com/blog/2016/09/05/signing-commits-in-git/

0
source

Source: https://habr.com/ru/post/1687968/


All Articles