Skip to content

Commit

Permalink
Chore: log proofP JWT only in trace mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ivard committed Oct 19, 2023
1 parent 31bdffd commit 8a6ae19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/irmaserver/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ func (session *sessionData) getProofP(commitments *irma.IssueCommitmentMessage,
if !contains {
return nil, errors.Errorf("no keyshare proof included for scheme %s", scheme.Name())
}
conf.Logger.Debug("Parsing keyshare ProofP JWT: ", str)
conf.Logger.Trace("Parsing keyshare ProofP JWT: ", str)

Check failure

Code scanning / CodeQL

Log entries created from user input High

This log entry depends on a
user-provided value
.
claims := &struct {
jwt.StandardClaims
ProofP *gabi.ProofP
Expand Down

0 comments on commit 8a6ae19

Please sign in to comment.