gitsshkey
package v2.23.0
Go to latest Published: Jun 3, 2025 License:AGPL-3.0
Opens a new window with list of versions in this module.
Latest LatestThis package is not in the latest version of its module.
Opens a new window with license information.
Imports:18 Opens a new window with list of imports.
Imported by:0 Opens a new window with list of known importers.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Index¶
Constants¶
This section is empty.
Variables¶
This section is empty.
Functions¶
funcGenerate¶
Generate creates a private key in the OpenSSH PEM format and public key inthe authorized key format.
funcMarshalED25519PrivateKey¶
func MarshalED25519PrivateKey(keyed25519.PrivateKey) ([]byte,error)
Types¶
typeAlgorithm¶
type Algorithmstring
const (// AlgorithmEd25519 is the Edwards-curve Digital Signature Algorithm using Curve25519AlgorithmEd25519Algorithm = "ed25519"// AlgorithmECDSA is the Digital Signature Algorithm (DSA) using NIST Elliptic CurveAlgorithmECDSAAlgorithm = "ecdsa"// AlgorithmRSA4096 is the venerable Rivest-Shamir-Adleman algorithm// and creates a key with a fixed size of 4096-bit.AlgorithmRSA4096Algorithm = "rsa4096")
funcParseAlgorithm¶
ParseAlgorithm returns a valid Algorithm or error if input is not a valid.
Click to show internal directories.
Click to hide internal directories.