acvp: highlight that the TOTP secret goes in the config file.

Change-Id: I469a49f0f678235700b8859d84b1b25b9f51518e
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/43325
Reviewed-by: David Benjamin <davidben@google.com>
chromium-5359
Adam Langley 4 years ago committed by Adam Langley
parent 048f354b2a
commit 56b28d8446
  1. 2
      util/fipstools/acvp/acvptool/acvp.go

@ -270,7 +270,7 @@ func main() {
} }
totpSecret, err := base64.StdEncoding.DecodeString(config.TOTPSecret) totpSecret, err := base64.StdEncoding.DecodeString(config.TOTPSecret)
if err != nil { if err != nil {
log.Fatalf("Failed to decode TOTP secret from config file: %s", err) log.Fatalf("Failed to base64-decode TOTP secret from config file: %s. (Note that the secret _itself_ should be in the config, not the name of a file that contains it.)", err)
} }
if len(config.CertPEMFile) == 0 { if len(config.CertPEMFile) == 0 {

Loading…
Cancel
Save