Skip to content

Feature request: Trait for private key management #618

Description

@j-baker

Hi! I'm wondering if a PR for the following functionality would be accepted:

I'd like to implement a server which uses a hardware-backed key as its host key, basically meaning that the host key isn't forgeable. Right now, the server takes a PrivateKey struct which contains the whole key, which is incompatible with this. I'm wondering if it'd be possible for that to take an enum which allows selecting an ExternalPrivateKey or similar (which would then be able to reach out to a custom api for the cryptographic operations.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions