3

Does anybody know if there's a way to make VS Code ask for the GPG password when signing the commits?

I feel somehow uncomfortable having to use a password-less GPG key to do so.

solr
  • 1,092
  • 1
  • 10
  • 14

1 Answers1

-2

A bit late, but with the current version of VS Code (1.38) you only have to enable commit signing, by adding this to your settings.json:

"git.enableCommitSigning": true

Or you can open the settings tab, search for "gpg" and activate the checkbox "Enables commit signing with GPG".

If you have a GPG key with password, VS Code opens a separate GUI Window on commit:

enter image description here

See this article about signed commits in VS Code.

andreas
  • 16,357
  • 12
  • 72
  • 76