Skip to content

userauth_pubkey: signature algorithm ssh-rsa not in PubkeyAcceptedAlgorithms [preauth] #38

@commonism

Description

@commonism

OpenSSH 8.8 deprecated using ssh-rsa.
golang/crypto/ssh does not play nice with OpenSSH 8.8.

Using https://github.com/tobischo/gocrypto/commit/a878079a19cdba9b9da3ce57de2c4c9cb43b7ea3 it works.

go mod edit -replace golang.org/x/crypto=github.com/tobischo/gocrypto@a878079a19cdba9b9da3ce57de2c4c9cb43b7ea3
go mod tidy
CGO_ENABLED=0 go build .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions