Use io.ReadFull to ensure that generated jwk match the expected keysize #1064
79.13% of diff hit (target 72.00%)
View this Pull Request on Codecov
79.13% of diff hit (target 72.00%)
Annotations
Check warning on line 21 in internal/keyconv/keyconv.go
codecov / codecov/patch
internal/keyconv/keyconv.go#L21
Added line #L21 was not covered by tests
Check warning on line 46 in internal/keyconv/keyconv.go
codecov / codecov/patch
internal/keyconv/keyconv.go#L46
Added line #L46 was not covered by tests
Check warning on line 54 in internal/keyconv/keyconv.go
codecov / codecov/patch
internal/keyconv/keyconv.go#L53-L54
Added lines #L53 - L54 were not covered by tests
Check warning on line 74 in internal/keyconv/keyconv.go
codecov / codecov/patch
internal/keyconv/keyconv.go#L74
Added line #L74 was not covered by tests
Check warning on line 97 in internal/keyconv/keyconv.go
codecov / codecov/patch
internal/keyconv/keyconv.go#L97
Added line #L97 was not covered by tests
Check warning on line 107 in internal/keyconv/keyconv.go
codecov / codecov/patch
internal/keyconv/keyconv.go#L104-L107
Added lines #L104 - L107 were not covered by tests
Check warning on line 128 in internal/keyconv/keyconv.go
codecov / codecov/patch
internal/keyconv/keyconv.go#L128
Added line #L128 was not covered by tests
Check warning on line 158 in internal/keyconv/keyconv.go
codecov / codecov/patch
internal/keyconv/keyconv.go#L158
Added line #L158 was not covered by tests
Check warning on line 167 in internal/keyconv/keyconv.go
codecov / codecov/patch
internal/keyconv/keyconv.go#L164-L167
Added lines #L164 - L167 were not covered by tests
Check warning on line 47 in jwe/internal/aescbc/aescbc.go
codecov / codecov/patch
jwe/internal/aescbc/aescbc.go#L47
Added line #L47 was not covered by tests
Check warning on line 377 in jwe/jwe.go
codecov / codecov/patch
jwe/jwe.go#L376-L377
Added lines #L376 - L377 were not covered by tests
Check warning on line 75 in jwe/options_gen.go
codecov / codecov/patch
jwe/options_gen.go#L75
Added line #L75 was not covered by tests
Check warning on line 68 in jwt/openid/birthdate.go
codecov / codecov/patch
jwt/openid/birthdate.go#L65-L68
Added lines #L65 - L68 were not covered by tests