Documentation
¶
Index ¶
Constants ¶
View Source
const ( MagicHeader = "SSHSIG" DefaultHashAlgorithm = "sha512" Namespace = "git" )
Variables ¶
This section is empty.
Functions ¶
func NewSignature ¶ added in v1.1.0
Create a signature for the given data using the given signer.
Types ¶
type WrappedSig ¶
type WrappedSig struct { MagicHeader [6]byte Version uint32 PublicKey string Namespace string Reserved string HashAlgorithm string Signature string }
https://github.com/openssh/openssh-portable/blob/master/PROTOCOL.sshsig#L34
Click to show internal directories.
Click to hide internal directories.