From 35d5a340bb5be68e96c862d0b90455bb58f63e6e Mon Sep 17 00:00:00 2001 From: Michael Housh Date: Fri, 28 Mar 2025 11:03:47 -0400 Subject: [PATCH] feat: Adds note about signing key not working on code commits afterwards, and how to fix. --- Yubikey.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Yubikey.md b/Yubikey.md index ebb8103..e40fbd1 100644 --- a/Yubikey.md +++ b/Yubikey.md @@ -206,6 +206,11 @@ cat /tmp/test.txt.asc Remove the yubikey and try again, it shouldn't be possible without the yubikey being inserted. +> Note: I was having trouble afterwards on `Gitea` that was saying signatures were suspicious, I had +> to update my git config file to include `signingkey = 14A20BF5!`, which is my signing key, the `!` +> being the important part +> [stack-overflow-link](https://stackoverflow.com/questions/78554135/unverified-github-commits-using-gpg-keys-on-yubikey). + ## Setting up macOS to use gpg-agent for ssh The following lines need added to `~/.gnupg/gpg-agent.conf`, `enable-ssh-support`. @@ -228,5 +233,3 @@ When setting up I could only use my phone it wouldn't allow me on my computer. O device to the phone it prompts for a PIN, this is referring to the FIDO PIN that needs setup prior. This took me a while to figure out and had to factory reset the FIDO application on the yubikey after too many failed attempts where I used the primary PIN to try and unlock the yubikey. - -Test.