Expand description
Cross-signature binding an agent-mesh UserKey
to a GitHub SSH ed25519 key.
Workflow:
- User has an ed25519 SSH key in
~/.ssh/(the one GitHub already knows about). amesh bind githubsigns the agent-mesh user public key with that SSH private key, producing aGitHubBinding.- The binding is published alongside the user’s identity announcements.
- A peer fetches
https://github.com/<username>.keys, picks the matching ed25519 line, parses it, and callsGitHubBinding::verify. A success means: “this agent-mesh user pubkey is held by the same person who controls github.com/” .
Structs§
- GitHub
Binding - Cross-signature: “this agent-mesh
UserKeybelongs to the holder of this SSH key”.
Functions§
- ssh_
pubkey_ ed25519_ bytes - Extract the raw 32-byte ed25519 public key from a parsed SSH
public key. Returns
MeshError::InvalidKeyfor non-ed25519 keys.