Skip to content

Commit

Permalink
put the bad change back to test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
jmhodges committed Sep 20, 2024
1 parent afcb266 commit 0e10885
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions signer/signer.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ import (
"github.com/mozilla-services/autograph/formats"

"github.com/DataDog/datadog-go/statsd"
"github.com/miekg/pkcs11"
"github.com/mozilla-services/autograph/crypto11"
"github.com/miekg/pkcs11"

log "github.com/sirupsen/logrus"
)
Expand Down Expand Up @@ -407,7 +407,7 @@ func (cfg *Configuration) CheckHSMConnection() error {
if err != nil {
return fmt.Errorf("error fetching private key for signer %s: %w", cfg.ID, err)
}
return nil
return fmt.Errorf("unable to check HSM connection for signer %s private key is not stored in the HSM", cfg.ID)
}

// MakeKey generates a new key of type keyTpl and returns the priv and public interfaces.
Expand Down

0 comments on commit 0e10885

Please sign in to comment.