knowledge_base:sonstiges:git_sign_commit
Dies ist eine alte Version des Dokuments!
Inhaltsverzeichnis
Git Commits Signieren
SSH
Doesnt work with VScode GUI
git config --global gpg.format ssh git config --global user.signingkey ~/.ssh/examplekey
GPG
generate key
gpg --full-generate-key
exporting key Linux
gpg --output private.pgp --armor --export-secret-key xx@xx.de
install GPG Windows
winget install GnuPG.GnuPG
importing key
gpg --import "Z:\Guest-Share\VM-setup\gpg\private.pgp"
settings
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
Troubleshooting
https://gist.github.com/paolocarrasco/18ca8fe6e63490ae1be23e84a7039374
export GPG_TTY=$(tty)
/storage/data/attic/knowledge_base/sonstiges/git_sign_commit.1697449678.txt.gz · Zuletzt geändert: (Externe Bearbeitung)
