add GenerateSecrets function
This commit is contained in:
parent
75990d3d0e
commit
80665470ce
|
@ -33,7 +33,7 @@ func (i *Initializer) Init() (*keycard.Secrets, error) {
|
||||||
logger.Info("initialization started")
|
logger.Info("initialization started")
|
||||||
cmdSet := keycard.NewCommandSet(i.c)
|
cmdSet := keycard.NewCommandSet(i.c)
|
||||||
|
|
||||||
secrets, err := keycard.NewSecrets()
|
secrets, err := keycard.GenerateSecrets()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue