From 3b4e09c66594b68e6cb633467b80860f273e9198 Mon Sep 17 00:00:00 2001 From: Markus Brunsch Date: Fri, 31 Oct 2025 14:08:03 +0100 Subject: [PATCH 1/2] 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: -- 2.45.4 From 75c1c5fee42c361d3bf237f62c180a20e09d2b71 Mon Sep 17 00:00:00 2001 From: Markus Brunsch Date: Fri, 31 Oct 2025 14:09:34 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2862314..0e793a1 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,6 @@ https://opensource.org/licenses/MIT. ``` ## Setup Git GPG Key -https://docs.codeberg.org/security/gpg-key/ 1. Generate GPG Key ```console @@ -38,6 +37,8 @@ gpg --armor --export ``` Copy the Public Key block and add it into your Profile settings on the STACKIT Git instance. +https://docs.codeberg.org/security/gpg-key/ +https://gist.github.com/troyfontaine/18c9146295168ee9ca2b30c00bd1b41e ## Prerequisites -- 2.45.4