Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultKeyPath = filepath.Join(config.HomeDir(), ".ssh", "id_rsa")
)
Functions ¶
Types ¶
type PasswordMethod ¶
type PrivateKey ¶
type PrivateKey struct { Path string Block *pem.Block PasswordMethod }
func (*PrivateKey) IsEncrypted ¶
func (p *PrivateKey) IsEncrypted() bool
Click to show internal directories.
Click to hide internal directories.