Closed pontus closed 8 months ago
i think we can go with version 1.9.1
as the way i read it it is a bug fix
change version https://github.com/neicnordic/crypt4gh/blob/master/internal/version/version.go#L10
Attention: Patch coverage is 60.00000%
with 10 lines
in your changes are missing coverage. Please review.
Project coverage is 69.75%. Comparing base (
88c2108
) to head (9060c4f
). Report is 4 commits behind head on master.
Files | Patch % | Lines |
---|---|---|
keys/keys.go | 60.00% | 5 Missing and 5 partials :warning: |
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This fixes support for unencrypted private crypt4gh keys. Support essentially existed but due to a logic error wasn't usable (KDF was checked against a list of actual KDFs, not including
none
, which is used for the unencrypted case) and failed if no match was found.This moves the unencrypted case up a bit and lets the following code be a little simpler, also adds a testcase for an unencrypted key.