Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 792 Bytes

File metadata and controls

34 lines (28 loc) · 792 Bytes

github-sign-commits

Scripts for automatic git signing setup.

AKA Verified commits.

Static Badge

PowerShell

irm https://raw.githubusercontent.com/Mopsgamer/github-sign-commits/refs/heads/main/sign.ps1 | iex
# Ensure the ssh-agent service is running
Set-Service ssh-agent -StartupType Automatic
Start-Service ssh-agent

Bash

curl -fsSL https://raw.githubusercontent.com/Mopsgamer/github-sign-commits/refs/heads/main/sign.sh | bash
# ~/.bashrc
ssh-add ~/.ssh/gitsign 2> /dev/null

Check

# WARNING: Sensitive data output
ssh-keygen -l -f ~/.ssh/gitsign.pub | sed 's/\(SHA256:\)[^[:space:]]*/\1**/g'
git config user.signingkey
git config gpg.format