Skip to content

Why does russh_keys::key::KeyPair::generate_ed25519 return an Option? #338

Description

@nicmr

It calls ed25519_dalek::SigningKey::generate internally, which cannot fail. Is it to have the same Signature as generate_rsa? If yes, is that valuable? It seems more ergonomic to me if infallible operations don't return an Option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions