neicnordic / crypt4gh

Crypt4GH standard implementation
https://pkg.go.dev/github.com/neicnordic/crypt4gh
MIT License
8 stars 4 forks source link

Add ability to add/replace headers when doing header re-encryption #128

Closed pontus closed 7 months ago

pontus commented 8 months ago

Allow passing of zero or more EncryptedHeaderPacket that will be added to the reencrypted header by ReEncryptHeader. If a packet of the same type exists already it will be replaced.

codecov-commenter commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 72.44%. Comparing base (608c142) to head (5bd7dd8).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #128 +/- ## ========================================== + Coverage 71.21% 72.44% +1.22% ========================================== Files 6 6 Lines 886 900 +14 ========================================== + Hits 631 652 +21 + Misses 135 129 -6 + Partials 120 119 -1 ``` | [Flag](https://app.codecov.io/gh/neicnordic/crypt4gh/pull/128/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=neicnordic) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/neicnordic/crypt4gh/pull/128/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=neicnordic) | `72.44% <100.00%> (+1.22%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=neicnordic#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.