Re: Error / feature-request: Signing git commits with SSH hardware key

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12.10.2022 00:17, Nicolas Graves wrote:
On 2022-10-11 23:54, Nicolas Graves wrote:

error: gpg.ssh.allowedSignersFile needs to be configured and exist for ssh signature verification

And I can confirm that it was this error and bad configuration, sorry!

error: Couldn't load public key sk-ssh-ed25519@xxxxxxxxxxx AAAAG[..]zaDo=: No such file or directory?

This error is not very precise though.

I assume you have specified your key in the git config in user.signingkey as the literal keystring? If so, then you'll need a `key::` prefix. Otherwise git will treat it as a file path. See https://git-scm.com/docs/git-config#Documentation/git-config.txt-usersigningKey

In the initial merge of this feature, git would allow ssh-* keys to be specified without the prefix. This was later deprecated and not all Tutorial/Docs you'll find online consider this.

Cheers,
Fabian


Thanks for your help!


--
Best regards,
Nicolas Graves



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux