checking in some various work
This commit is contained in:
parent
1624740118
commit
5f5d77a2a6
@ -2,15 +2,18 @@ package sshkeys
|
||||
|
||||
import (
|
||||
"errors"
|
||||
|
||||
"r00t2.io/goutils/checks"
|
||||
)
|
||||
|
||||
func genPrivKey(cipherAlgo string, kdf string, salt []byte, rounds uint32) ([]byte, error) {
|
||||
|
||||
func genPrivKey(cipherAlgo string, kdf string, salt []byte, rounds uint32, passphrase string) ([]byte, error) {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
func genPubKey(privKey *[]byte) ([]byte, error) {
|
||||
|
||||
if *privKey == nil {
|
||||
return nil, errors.New("must generate private key before public key")
|
||||
}
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user