kb:tools:gpg:start
Start
Changelog
- 2025-10-24: Init
2025-10-24 Friday
Text here...
gpg --full-generate-key --pinentry-mode loopback # List keys gpg -k echo "1234" | gpg --pinentry-mode loopback -o /dev/null --local-user CCFF03F99D4857FD943568CC50F6AAC3E53B13 C0 -as - && echo "Passphrase correct!" # Enable admin prompt for elevated permissions Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" -Name "ConsentPromptBehaviorAdmin" -Value 1
Make sure to disable screen saver require login, and sleep (which will force sign-in).
# To use GPG in Windows
Install GPG4Win. Import keys and secret keys.
git config --global commit.gpgsign true git config --global user.signingkey CCFF03F99D4857FD943568CC50F6AAC3E53B13C0
Windows will link to its own bundled MSYS GPG which do not have the keys.
git config --global gpg.program "C:\Program Files (x86)\GnuPG\bin\gpg.exe"
kb/tools/gpg/start.txt · Last modified: 31 hours ago (24 October 2025) by justin
