JetBrains and GPG

I encountered some issues running WebStorm and I think I finally solved them. This was an annoying bug that was a mix of WebStorm and OSX behavior that I didn’t ask for.

TODO: Pinentry Image

This is the prompt that you get on OSX running Pinentry. I was getting this randomly all throughout the day just running JetBrains products. That’s really annoying. You can see that WebStorm is trying to run git-upload-pack when I get the Pinentry prompt, and that is what triggered it.

-+= 11718 admin /Applications/WebStorm.app/Contents/MacOS/webstorm
 |--- 12015 admin /Applications/WebStorm.app/Contents/bin/fsnotifier
 |-+- 12039 admin /Library/Developer/CommandLineTools/usr/bin/git -c core.quotepath=false -c log.showSignature=false -c credential.helper
 | \--- 12041 admin /usr/bin/ssh [email protected] git-upload-pack 'splicemachine/cloudmgr-ui.git'
 \-+- 12593 admin /Library/Developer/CommandLineTools/usr/bin/git -c core.quotepath=false -c log.showSignature=false -c credential.helper
   \--- 12594 admin /usr/bin/ssh [email protected] git-upload-pack 'splicemachine/cloudmgr-ui.git'

I didn’t ask for this man.

This answer showed me where that value was coming from. I’ve disabled it in the hope that the keychain expiry doesn’t effect me.

git config --show-origin --get credential.helper
file:/Library/Developer/CommandLineTools/usr/share/git-core/gitconfig	osxkeychain
cat /Library/Developer/CommandLineTools/usr/share/git-core/gitconfig
[credential]
 helper = osxkeychain
cd /Library/Developer/CommandLineTools/usr/share/git-core/
sudo mv gitconfig no.gitconfig.goaway

I currently get the behavior once when I start WebStorm, but not as often throughout the day. I would really prefer JetBrains to allow me to configure its behavior with regards to interaction with SCM.