x/crypto/ssh: MarshalAuthorizedKey discards comment #46870
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputHello, it seems like https://github.com/golang/crypto/blob/master/ssh/keys.go#L281 will never consider writing the comment of the key so when parsing such key later on via https://github.com/golang/crypto/blob/master/ssh/keys.go#L85 the
comment
value will always be empty.The text was updated successfully, but these errors were encountered: