ory-am/hydra

View on GitHub
jwk/manager.go

Summary

Maintainability
A
35 mins
Test Coverage

Method SQLDataRows.ToJWK has 5 return statements (exceeds 4 allowed).
Open

func (d SQLDataRows) ToJWK(ctx context.Context, r interface {
    KeyCipher() *aead.AESGCM
}) (keys *jose.JSONWebKeySet, err error) {
    if len(d) == 0 {
        return nil, errors.Wrap(x.ErrNotFound, "")
Severity: Major
Found in jwk/manager.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status