Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
| Beide Seiten, vorherige ÜberarbeitungVorherige Überarbeitung | |||
| knowledge_base:windows:git_gpg_sign [2023/09/07 15:38] – add ssh key signing julian.lemmerich | knowledge_base:windows:git_gpg_sign [2023/10/16 11:48] (aktuell) – merge with knowledge_base:sonstiges:git_sign_commit julian.lemmerich | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| - | ====== Git: GPG signing ====== | + | ~~REDIRECT>knowledge_base:sonstiges:git_sign_commit~~ | 
| - | + | ||
| - | with an imported privatekey | + | |
| - | + | ||
| - | ==== exporting key from Kali ==== | + | |
| - | + | ||
| - | <code bash> | + | |
| - | gpg --output private.pgp --armor --export-secret-key xx@xx.de | + | |
| - | </ | + | |
| - | + | ||
| - | ==== install GPG with winget ==== | + | |
| - | + | ||
| - | < | + | |
| - | winget install GnuPG.GnuPG | + | |
| - | </ | + | |
| - | + | ||
| - | ==== importing key ==== | + | |
| - | + | ||
| - | < | + | |
| - | gpg --import "Z:\Guest-Share\VM-setup\gpg\private.pgp" | + | |
| - | </ | + | |
| - | + | ||
| - | ==== settings ==== | + | |
| - | + | ||
| - | https:// | + | |
| - | + | ||
| - | < | + | |
| - | git config --global gpg.program " | + | |
| - | git config --global user.signingkey " | + | |
| - | git config --global commit.gpgsign true | + | |
| - | </ | + | |
| - | + | ||
| - | ==== Troubleshooting ==== | + | |
| - | + | ||
| - | https:// | + | |
| - | + | ||
| - | < | + | |
| - | export GPG_TTY=$(tty) | + | |
| - | </ | + | |
| - | + | ||
| - | ====== SSH Key ====== | + | |
| - | + | ||
| - | < | + | |
| - | git config --global gpg.format ssh | + | |
| - | git config --global user.signingkey  | + | |
| - | </ | + | |