Doesnt work with VScode GUI
Benötigt git>=2.34
git config --global gpg.format ssh git config --global user.signingkey ~/.ssh/id_ed25519 git config --global commit.gpgsign true
install git for windows with „external OpenSSH“1)
git config --global user.signingkey "ssh-ed25519 AAAAblablapulbickey user@gerät"
gpg --full-generate-key
gpg --output private.pgp --armor --export-secret-key xx@xx.de
winget install GnuPG.GnuPG
gpg --import "Z:\Guest-Share\VM-setup\gpg\private.pgp"
https://stackoverflow.com/a/68958117
git config --global gpg.program "c:/Program Files (x86)/GnuPG/bin/gpg.exe" git config --global user.signingkey 26A64778F76A7911 git config --global commit.gpgsign true
https://gist.github.com/paolocarrasco/18ca8fe6e63490ae1be23e84a7039374
export GPG_TTY=$(tty)