Skip to content

proposal: x/crypto/ssh: add a way to see pubkey signature algorithm #73847

Closed as duplicate of#70795
@imirkin

Description

@imirkin

Proposal Details

There was functionality recently introduced in golang/crypto@e944286 to expose negotiated algorithms. This includes the hostkey algo, but not for any pubkeys used to authenticate.

There is currently no way to detect which algo is used for e.g. rsa pubkeys, most interesting being ssh-rsa vs rsa-sha2-*.

One option is to provide it in the ConnMetadata given to the PublicKeyCallback with a similar cast as used for NegotiatedAlgorithms from the above change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ProposalProposal-CryptoProposal related to crypto packages or other security issues

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions