diff --git a/pkg/secrethub/credentials/bootstrap_code.go b/pkg/secrethub/credentials/bootstrap_code.go index 243a9365..be321fc9 100644 --- a/pkg/secrethub/credentials/bootstrap_code.go +++ b/pkg/secrethub/credentials/bootstrap_code.go @@ -96,11 +96,11 @@ func UseBackupCode(code string) Provider { func (b *bootstrapCodeProvider) Provide(_ *http.Client) (auth.Authenticator, Decrypter, error) { err := ValidateBootstrapCode(b.code) if err != nil { - return nil, nil, fmt.Errorf("malformed code: %w", err) + return nil, nil, fmt.Errorf("malformed code: %v", err) } bytes, err := hex.DecodeString(filterBootstrapCode(b.code)) if err != nil { - return nil, nil, fmt.Errorf("malformed code: %w", err) + return nil, nil, fmt.Errorf("malformed code: %v", err) } bootstrapCode := newBootstrapCode(bytes, b.t) return auth.NewHTTPSigner(bootstrapCode), bootstrapCode, nil