git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
NGNicolas Graves <ngraves@ngraves.fr>
Date
Oct 11, 2022, 21:54 UTC
Message-ID
<87v8oquiuk.fsf@ngraves.fr>
In-Reply-To
<Y0XVCDu9o3xDnt81@tapette.crustytoothpaste.net>
On 2022-10-11 20:41, brian m. carlson wrote:
> Could you maybe mention what version of OpenSSH you're using and on what
> platform?  I used 9.0p1, and as I mentioned, it's Linux.  The output
> looks like so:

I currently use this version on Guix (so Linux): OpenSSH_8.9p1, OpenSSL 1.1.1q 5 Jul 2022

The errors occurs when I try to "really" commit using magit or git through the command line.

hint: Waiting for your editor to close the file... Waiting for Emacs... error: Couldn't load public key sk-ssh-ed25519@openssh.com AAAAG[..]zaDo=: No such file or directory?

fatal: failed to write commit object
Now if I try this command:
>   $ git verify-commit --raw HEAD

I get the following: error: gpg.ssh.allowedSignersFile needs to be configured and exist for ssh signature verification

It's possible that my config is not complete, I remember not having necessarily done the part with allowedsigners (which is not necessary for an ed25519 "simple" key apparently). I'll take a look, and come back to you.

-- 
Best regards,
Nicolas Graves
Previous: brian m. carlsonNext: Nicolas Graves
Message 3 of 7 in “Error / feature-request: Signing git commits with SSH hardware key”
  1. Nicolas GravesOct 11, 2022
  2. brian m. carlsonOct 11, 2022
  3. Nicolas GravesOct 11, 2022
  4. Nicolas GravesOct 11, 2022
  5. Nicolas GravesOct 12, 2022
  6. Fabian StelzerOct 12, 2022
  7. Nicolas GravesOct 12, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.