adding documentation/analysis of key format
This commit is contained in:
23
sshkeys/func.go
Normal file
23
sshkeys/func.go
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user