adding documentation/analysis of key format

This commit is contained in:
2020-09-11 23:06:51 -04:00
parent 456284a697
commit 6e032d8969
11 changed files with 267 additions and 124 deletions

23
sshkeys/func.go Normal file
View File

@@ -0,0 +1,23 @@
package sshkeys
func (k *EncryptedSSHKeyV1) GeneratePrivate(keyType uint8) error {
return nil
}
func (k *EncryptedSSHKeyV1) GeneratePublic(keyType uint8) error {
if err := k.GeneratePrivate(keyType); err != nil {
return err
}
return nil
}
func (k *SSHKeyV1) GeneratePrivate(keyType uint8) error {
return nil
}
func (k *SSHKeyV1) GeneratePublic(keyType uint8) error {
if err := k.GeneratePrivate(keyType); err != nil {
return err
}
return nil
}