add GenerateSecrets function

This commit is contained in:
Andrea Franz 2019-03-14 16:04:36 +01:00
parent 75990d3d0e
commit 80665470ce
1 changed files with 1 additions and 1 deletions

View File

@ -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
} }