From 83d229f73f8f6beeba9e95834db91de125c1fe85 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Thu, 6 Jan 2022 20:45:13 +0200 Subject: [PATCH] gitconfig: switch to ssh commit signing Resolves: #123 --- .mikaela/gitconfig | 15 ++++++++------- conf/gitconfig | 25 +++++++++++++------------ 2 files changed, 21 insertions(+), 19 deletions(-) diff --git a/.mikaela/gitconfig b/.mikaela/gitconfig index 6143eb5c..454c9a94 100644 --- a/.mikaela/gitconfig +++ b/.mikaela/gitconfig @@ -1,7 +1,8 @@ [user] name = Aminda Suomalainen email = suomalainen+git@mikaela.info - signingkey = 0x99392F62BAE30723 + # Aminda Suomalainen FINEID 20.12.2021-20.12.2026 + signingkey = ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCuq/w936y0Enjg7e+t27p6Hwj7RJpuDdhjV/FeikCitey23dx72yIFe3giHW10eBKHr0lhWbDhm2m0b74ZNKneR+oJ99Kl98KegGwjS/gRcjYILHWBJBCF7y61XNeJTlehEZ4zAXS3zLGaZ6DUWY3aqoMkoiAFDdHEAu5EfYITybR+eQZNiGOLVpEVC96bSgGYl4BtUjLib8YCkznllo1hbQWOJSeftIkCJj/XcOvX5kIHsnTMdkgPVd+JhBJ1ReYLf4mBYA0BVTBbHJVrMajz77Oo4iZua3XDw3RF9cekAHjh+x/zZntwiRu0k51xI0mX5nr9SsuiQccD/fxwCoI9P1u2xZHFthiHl4MxUvTRDuBTz8bktdUruqxJP+ZkKZmuozLhP738m+9nMRiavSJm0RQGDUMXfHoJ8+9VVB4uZRZq9Hprt7ReCYobgRaq4220Cpg/WADcm13o0jp0PKOl2uiS6MdIbReiLGJVf/XxeNun43K1+osv/Ermy6qL5WM= ##wtop #email = mikaela+digitalents@mikaela.info #signingkey = 0xDF046339D69EB8C9 @@ -49,12 +50,12 @@ [interactive] # diffFilter = diff-highlight [gpg] - program = gpg2 -[gpgv] - program = gpgv2 + format = ssh [tag] - forceSignAnnotated = true + forceSignAnnotated = true [pull] - ff = only + ff = only [init] - defaultBranch = cxefa + defaultBranch = cxefa +[gpg "ssh"] + allowedSignersFile = ~/src/gitea.blesmrt.net/Mikaela/ssh-allowed_signers/allowed_signers diff --git a/conf/gitconfig b/conf/gitconfig index 6e555a98..2816619f 100644 --- a/conf/gitconfig +++ b/conf/gitconfig @@ -1,10 +1,11 @@ [user] -# name = Aminda Suomalainen -# email = suomalainen+git@mikaela.info -# signingkey = 0x99392F62BAE30723 -# ##wtop -# #email = mikaela+digitalents@mikaela.info -# #signingkey = 0xDF046339D69EB8C9 + #name = Aminda Suomalainen + #email = suomalainen+git@mikaela.info + # Aminda Suomalainen FINEID 20.12.2021-20.12.2026 + #signingkey = ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCuq/w936y0Enjg7e+t27p6Hwj7RJpuDdhjV/FeikCitey23dx72yIFe3giHW10eBKHr0lhWbDhm2m0b74ZNKneR+oJ99Kl98KegGwjS/gRcjYILHWBJBCF7y61XNeJTlehEZ4zAXS3zLGaZ6DUWY3aqoMkoiAFDdHEAu5EfYITybR+eQZNiGOLVpEVC96bSgGYl4BtUjLib8YCkznllo1hbQWOJSeftIkCJj/XcOvX5kIHsnTMdkgPVd+JhBJ1ReYLf4mBYA0BVTBbHJVrMajz77Oo4iZua3XDw3RF9cekAHjh+x/zZntwiRu0k51xI0mX5nr9SsuiQccD/fxwCoI9P1u2xZHFthiHl4MxUvTRDuBTz8bktdUruqxJP+ZkKZmuozLhP738m+9nMRiavSJm0RQGDUMXfHoJ8+9VVB4uZRZq9Hprt7ReCYobgRaq4220Cpg/WADcm13o0jp0PKOl2uiS6MdIbReiLGJVf/XxeNun43K1+osv/Ermy6qL5WM= + ##wtop + #email = mikaela+digitalents@mikaela.info + #signingkey = 0xDF046339D69EB8C9 [alias] cleandi = clean -di cleandix = clean -dix @@ -49,12 +50,12 @@ [interactive] # diffFilter = diff-highlight [gpg] - program = gpg2 -[gpgv] - program = gpgv2 + format = ssh [tag] - forceSignAnnotated = true + forceSignAnnotated = true [pull] - ff = only + ff = only [init] - defaultBranch = cxefa + defaultBranch = cxefa +[gpg "ssh"] + allowedSignersFile = ~/src/gitea.blesmrt.net/Mikaela/ssh-allowed_signers/allowed_signers