updating refs, finished key gen buffer

This commit is contained in:
2020-09-21 01:43:22 -04:00
parent 382aaffa39
commit b80b823c02
15 changed files with 567 additions and 550 deletions

View File

@@ -35,7 +35,7 @@ func (k *SSHPrivKey) generateRsa() error {
} else {
k.Key = sk // See https://golang.org/pkg/crypto/rsa/#PrivateKey
k.PublicKey.KeyType = KeyRsa
k.PublicKey.Key = k.Key.PublicKey
k.PublicKey.Key = sk.PublicKey
}
return nil
}