private-attribution / ipa

A raw implementation of Interoperable Private Attribution
MIT License
39 stars 23 forks source link

add new PrivateKeyOnly struct to handle KeyRegistry with only a private key #1161

Closed eriktaubeneck closed 3 weeks ago

eriktaubeneck commented 3 weeks ago

This adds a new struct PublicKeyOnly, similar to the existing PrivateKeyOnly, allowing us to only provide a private key for the current helper. A helpers own public key should not need to be known when running.

codecov[bot] commented 3 weeks ago

Codecov Report

Attention: Patch coverage is 76.59574% with 11 lines in your changes missing coverage. Please review.

Project coverage is 92.01%. Comparing base (01c2cff) to head (52b69d0). Report is 29 commits behind head on main.

Files Patch % Lines
ipa-core/src/config.rs 0.00% 7 Missing :warning:
ipa-core/src/bin/helper.rs 0.00% 3 Missing :warning:
ipa-core/src/query/executor.rs 75.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1161 +/- ## ========================================== + Coverage 91.74% 92.01% +0.27% ========================================== Files 190 195 +5 Lines 28281 29948 +1667 ========================================== + Hits 25946 27557 +1611 - Misses 2335 2391 +56 ```

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