# 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
|-+- 12039 admin /Library/Developer/CommandLineTools/usr/bin/git -c core.quotepath=false -c log.showSignature=false -c credential.helper
\-+- 12593 admin /Library/Developer/CommandLineTools/usr/bin/git -c core.quotepath=false -c log.showSignature=false -c credential.helper


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.