added gpg block
This commit is contained in:
parent
68965c53db
commit
3b4e09c665
1 changed files with 22 additions and 0 deletions
22
README.md
22
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 <GPG KEY ID>
|
||||||
|
git config --global commit.gpgsign true
|
||||||
|
```
|
||||||
|
|
||||||
|
1. Read GPG Key and add it to STACKIT Git
|
||||||
|
```console
|
||||||
|
gpg --armor --export <GPG KEY ID>
|
||||||
|
```
|
||||||
|
|
||||||
|
Copy the Public Key block and add it into your Profile settings on the STACKIT Git instance.
|
||||||
|
|
||||||
|
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
Before using this template, ensure you have the following:
|
Before using this template, ensure you have the following:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue