Skip to content

Additional SSH key algorithms #135

Description

@gabi-250

Would you be open to extending ssh-key to support encoding OpenSSH keys that use custom algorithms (see section 6 of RFC4251)? My use case involves encoding/decoding keys that have a custom algorithm name, e.g. x25519@torproject.org.

If you're open to the idea, I'd be happy to work on a patch to support this.

For context, I am helping build a key store for Arti (a Tor implementation in Rust). We're storing keys in OpenSSH private key format and using ssh-key to encode/decode them. I've found myself having to define a custom SSH key algorithm because we need to support x25519 keys, which don't have a predefined SSH key algorithm name (and thus aren't supported by this crate).

I realize we could be implementing our own encoders using the ssh_encoding crate, but I thought I'd ask anyway, just in case this is something you'd like to support in ssh-key.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions