stubbing out keygen funcs
This commit is contained in:
@@ -3,6 +3,8 @@ package sshkeys
|
||||
// EncryptedSSHKeyV1 represents an encrypted private key.
|
||||
type EncryptedSSHKeyV1 struct {
|
||||
SSHKeyV1
|
||||
CipherName string
|
||||
KDFName string
|
||||
KDFOpts SSHKDFOpts
|
||||
Passphrase string
|
||||
}
|
||||
@@ -18,9 +20,6 @@ type SSHKDFOpts struct {
|
||||
// Patch your shit.
|
||||
type SSHKeyV1 struct {
|
||||
Magic string
|
||||
CipherName string
|
||||
KDFName string
|
||||
KDFOpts SSHKDFOpts
|
||||
PublicKeys []SSHPubKey
|
||||
PrivateKeys []SSHPrivKey
|
||||
}
|
||||
@@ -34,4 +33,6 @@ type SSHPubKey struct {
|
||||
// SSHPrivKey contains the Private key of an SSH Keypair.
|
||||
type SSHPrivKey struct {
|
||||
PublicKey *SSHPubKey
|
||||
Checksum uint32
|
||||
Comment string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user