Documentation ¶
Index ¶
- func HostDecrypt(aesKey string, host *dbmodels.Host)
- func HostEncrypt(aesKey string, host *dbmodels.Host) (err error)
- func ImportSSHKey(keyValue string) (*dbmodels.SSHKey, error)
- func NewECDSAKey(length uint) (*pem.Block, gossh.PublicKey, error)
- func NewEd25519Key() (*pem.Block, gossh.PublicKey, error)
- func NewRSAKey(length uint) (*pem.Block, gossh.PublicKey, error)
- func NewSSHKey(keyType string, length uint) (*dbmodels.SSHKey, error)
- func SSHKeyDecrypt(aesKey string, key *dbmodels.SSHKey)
- func SSHKeyEncrypt(aesKey string, key *dbmodels.SSHKey) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HostDecrypt ¶
func NewECDSAKey ¶ added in v1.15.0
func SSHKeyDecrypt ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.