nuts-foundation/nuts-node

View on GitHub
crypto/jwx.go

Summary

Maintainability
A
1 hr
Test Coverage
B
82%

Method Crypto.SignJWS has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

func (client *Crypto) SignJWS(ctx context.Context, payload []byte, headers map[string]interface{}, key interface{}, detached bool) (string, error) {
Severity: Minor
Found in crypto/jwx.go - About 35 mins to fix

    Function signJWS has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    func signJWS(payload []byte, protectedHeaders map[string]interface{}, privateKey crypto.Signer, alg jwa.SignatureAlgorithm, detachedPayload bool) (string, error) {
    Severity: Minor
    Found in crypto/jwx.go - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status