Skip to content
Snippets Groups Projects
Commit ca1c177d authored by Jake Taylor's avatar Jake Taylor
Browse files

refactor to use generatepublickey

parent 15463994
Branches
Tags
3 merge requests!510Release,!267Make BuildReceptionIdentity public, and make backup restore function return a...,!263Hotfix/refactor cmd
...@@ -263,7 +263,6 @@ func createPrecannedUser(precannedID uint, rng csprng.Source, grp *cyclic.Group) ...@@ -263,7 +263,6 @@ func createPrecannedUser(precannedID uint, rng csprng.Source, grp *cyclic.Group)
// NOTE: not used... RSA Keygen (4096 bit defaults) // NOTE: not used... RSA Keygen (4096 bit defaults)
rsaKey, err := rsa.GenerateKey(rng, rsa.DefaultRSABitLen) rsaKey, err := rsa.GenerateKey(rng, rsa.DefaultRSABitLen)
if err != nil { if err != nil {
r
jww.FATAL.Panicf(err.Error()) jww.FATAL.Panicf(err.Error())
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment