From 8f3e624925e192d1672ac0aaa6e6741252c6b2e1 Mon Sep 17 00:00:00 2001 From: ducoterra Date: Sun, 19 Oct 2025 20:53:55 -0400 Subject: [PATCH] Add gpg commit signing to README --- README.md | 34 ++++++++++++++++++++++++---------- 1 file changed, 24 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 2fb6a05..df83d26 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,7 @@ Status](https://gitea.reeseapps.com/services/homelab/actions/workflows/distoolbo - ["find ." shortcuts](#find--shortcuts) - [tmux](#tmux) - [SSH Setup](#ssh-setup) + - [Git GPG Commit Signing](#git-gpg-commit-signing) - [Important Dates and Times](#important-dates-and-times) - [Project Lifecycle](#project-lifecycle) - [Project Types](#project-types) @@ -115,18 +116,31 @@ ssh -o PubkeyAuthentication=no ducoterra@${SSH_HOST}.reeselink.com ssh $SSH_HOST ``` +## Git GPG Commit Signing + +1. Use `gpg --list-key 'git@ducoterra.net'` to find your key +2. Use `git config --global user.signingkey 0A46826A...` to set the signing key +3. Use `gpg --export -a 'git@ducoterra.net'` to export the key to copy into Gitea/Github/Gitlab + +Now you can sign commits with `git commit -S`. + +Alternatively, you can sign every commit by default with `git config --global commit.gpgsign true`. + +You can verify a commit with `git verify-commit e1e551c`. If the commit is +signed you'll see an output. If not, nothing will show. + ## Important Dates and Times -| Time | Day | Description | -| ----- | -------- | ------------------------------ | -| 00:00 | All | Automated builds | -| 00:00 | All | NAS Snapshots | -| 02:00 | All | Backups | -| 04:00 | Saturday | Server Hardware Updates | -| 05:00 | Saturday | Server VM Updates | -| 05:00 | All | Unifi Protect Firmware Updates | -| 06:00 | All | Unifi Network Firmware Updates | -| 06:00 | Saturday | Truenas Disk Scrub | +| Time | Day | Description | +| ----- | -------- | ---------------------------------- | +| 00:00 | All | Automated builds | +| 00:00 | All | NAS Snapshots | +| 02:00 | All | Backups | +| 04:00 | All | Bare Metal Server Security Updates | +| 05:00 | All | VM Server Security Updates | +| 05:00 | All | Unifi Protect Firmware Updates | +| 06:00 | All | Unifi Network Firmware Updates | +| 06:00 | Saturday | Truenas Disk Scrub | ## Project Lifecycle