Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

subscriber-01: Remove taskprov feature flag, always behave as if taskprov is enabled #1969

Merged
merged 4 commits into from
Sep 22, 2023

Conversation

inahga
Copy link
Contributor

@inahga inahga commented Sep 20, 2023

This environment will always operate with taskprov enabled. Make simplifications based on this assumption. We no longer have to consider cases where taskprov isn't enabled.

The main functionality change is that we always advertise a global HPKE key and not bother with the task key. Some tests are deleted based on this, the only operative test is global_hpke_config().

Notice that a lot of our tests still work as-is--many of them insert a task specific HPKE key and use it directly without roundtripping through the advertisement endpoint. This works since we still trial decrypt global keys and task-specific keys. However, taskprov_tests.rs still exercises the roundtrip, so there is coverage.

This won't break janus-ops, since the extraneous config will be ignored (i.e. this doesn't block deployment).

In spirit of #1728.

@inahga inahga requested a review from a team as a code owner September 20, 2023 21:53
@inahga
Copy link
Contributor Author

inahga commented Sep 20, 2023

Integration tests need work.

@inahga inahga marked this pull request as draft September 20, 2023 23:11
@inahga inahga marked this pull request as ready for review September 21, 2023 18:40
@inahga inahga enabled auto-merge (squash) September 22, 2023 14:41
@inahga inahga merged commit 64d46cf into release/0.subscriber-01 Sep 22, 2023
8 checks passed
@inahga inahga deleted the inahga/sub01-taskprov-always-on branch September 22, 2023 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants