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

@@ -7,16 +7,24 @@ const (
// Cipher names. I believe only AES256-CTR is supported upstream currently.
const (
CIPHER_AES256_CTR = "aes256-ctr"
CIPHER_NULL string = "none"
CIPHER_AES256_CTR string = "aes256-ctr"
)
var allowed_ciphers = [...]string{CIPHER_NULL, CIPHER_AES256_CTR}
// Key types.
const (
KEY_ED25519 string = "ssh-ed25519"
KEY_RSA string = "ssh-rsa"
)
var allowed_keytypes = [...]string{KEY_ED25519, KEY_RSA}
// KDF names. I believe only bcrypt is supported upstream currently.
const (
KDF_NULL string = "none"
KDF_BCRYPT string = "bcrypt"
)
var allowed_kdfnames = [...]string{KDF_NULL, KDF_BCRYPT}