Go implementation of the OpenSSH SSH Signature protocol. Sign and verify messages using SSH keys in Go.
APACHE-2.0 License
This Go library implements the SSHSIG
wire protocol, and
can be used to sign and verify messages using SSH keys.
Compared to other implementations, this library does all the following:
io.Reader
as input for signing and verifying messages.Verify
. Malicious input will still fail signature verification, but thisssh-sha2-512
as signature algorithm when signing with an RSASign
operation without a namespace
as specified in theVerify
operations to be performed without a namespace
, ensuringArmor
and Unarmor
functions to encode/decode the signatureFor more information about the use of this library, see the Go Reference.
There are several other implementations of the SSHSIG
protocol in Go, from
which this library has borrowed ideas: