chore(deps): bump github.com/caos/logging from 0.0.2 to 0.3.1 (#159)
* chore(deps): bump github.com/caos/logging from 0.0.2 to 0.3.1 Bumps [github.com/caos/logging](https://github.com/caos/logging) from 0.0.2 to 0.3.1. - [Release notes](https://github.com/caos/logging/releases) - [Changelog](https://github.com/caos/logging/blob/master/.releaserc.js) - [Commits](https://github.com/caos/logging/compare/v0.0.2...v0.3.1) --- updated-dependencies: - dependency-name: github.com/caos/logging dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * update logging * update logging Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Livio Amstutz <livio.a@gmail.com>
This commit is contained in:
parent
c07557be02
commit
ab76b3518f
3 changed files with 12 additions and 34 deletions
|
@ -65,16 +65,16 @@ func (s *tokenSigner) exchangeSigningKey(key jose.SigningKey) {
|
|||
s.alg = key.Algorithm
|
||||
if key.Algorithm == "" || key.Key == nil {
|
||||
s.signer = nil
|
||||
logging.Log("OP-DAvt4").Warn("signer has no key")
|
||||
logging.Warn("signer has no key")
|
||||
return
|
||||
}
|
||||
var err error
|
||||
s.signer, err = jose.NewSigner(key, &jose.SignerOptions{})
|
||||
if err != nil {
|
||||
logging.Log("OP-pf32aw").WithError(err).Error("error creating signer")
|
||||
logging.New().WithError(err).Error("error creating signer")
|
||||
return
|
||||
}
|
||||
logging.Log("OP-agRf2").Info("signer exchanged signing key")
|
||||
logging.Info("signer exchanged signing key")
|
||||
}
|
||||
|
||||
func (s *tokenSigner) SignatureAlgorithm() jose.SignatureAlgorithm {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue