From 3b4e09c66594b68e6cb633467b80860f273e9198 Mon Sep 17 00:00:00 2001 From: Markus Brunsch Date: Fri, 31 Oct 2025 14:08:03 +0100 Subject: [PATCH] added gpg block --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/README.md b/README.md index e080c2f..2862314 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,28 @@ https://opensource.org/licenses/MIT. */ ``` +## Setup Git GPG Key +https://docs.codeberg.org/security/gpg-key/ + +1. Generate GPG Key +```console +gpg --full-generate-key +``` + +1. Configure Git to use the Key +```console +git config --global user.signingkey +git config --global commit.gpgsign true +``` + +1. Read GPG Key and add it to STACKIT Git +```console +gpg --armor --export +``` + +Copy the Public Key block and add it into your Profile settings on the STACKIT Git instance. + + ## Prerequisites Before using this template, ensure you have the following: