Versions in this module Expand all Collapse all v0 v0.1.0 Sep 14, 2023 Changes in this version + var NoPassphrase = []byte("") + func LoadKeypair(file string, passphrase []byte) (putty.Keypair, error) + type Argon2Flavor string + const Argon2d + const Argon2i + const Argon2id + type Encryption string + const AES256CBC + const NoEncryption + type PPK struct + Argon2Memory int + Argon2Parallelism int + Argon2Passes int + Argon2Salt []byte + Comment string + Encryption Encryption + KeyDerivation Argon2Flavor + MAC []byte + PrivateBytes []byte + PublicBytes []byte + Type string + Version int + func InsecureParse(b []byte) (*PPK, error) + func InsecureParseFile(file string) (*PPK, error) + func (ppk PPK) Decrypt(passphrase []byte) (putty.Keypair, error)