Versions in this module Expand all Collapse all v0 v0.1.0 Feb 21, 2018 Changes in this version + var DefaultKey = []byte + var PasswordCipher = GetDefaultPasswordCipher() + func IsKeyEncrypted(keyPath string) bool + type Cipher interface + func GetDefaultPasswordCipher() Cipher + func NewBlowfishCipher(key []byte) (Cipher, error) + type Config struct + ClientEmail string + EncryptedPassword string + Key string + Password string + PrivateKey string + PrivateKeyID string + PrivateKeyPath string + Region string + Secret string + TokenURL string + Username string + func NewConfig(filename string) (*Config, error) + func (c *Config) ClientConfig() (*ssh.ClientConfig, error) + func (c *Config) Load(filename string) error + func (c *Config) LoadFromReader(reader io.Reader, ext string) error + func (c *Config) NewJWTConfig(scopes ...string) (*jwt.Config, error) + func (c *Config) SSHClientConfig() (*ssh.ClientConfig, error) + func (c *Config) Save(filename string) error + type Decryptor interface + Decrypt func(src []byte) []byte + type Encryptor interface + Encrypt func(src []byte) []byte