stubbing out keygen funcs

This commit is contained in:
2020-09-12 00:58:58 -04:00
parent ff9fbdab69
commit 1624740118
5 changed files with 60 additions and 19 deletions

View File

@@ -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
}