Skip to content

test: CRL fetching [WPB-19580]#2007

Open
SimonThormeyer wants to merge 7 commits intomainfrom
simon/test/fetch-crls-e2e-test
Open

test: CRL fetching [WPB-19580]#2007
SimonThormeyer wants to merge 7 commits intomainfrom
simon/test/fetch-crls-e2e-test

Conversation

@SimonThormeyer
Copy link
Copy Markdown
Member

@SimonThormeyer SimonThormeyer commented Apr 2, 2026

What's new in this PR

Test CRL fetching


PR Submission Checklist for internal contributors
  • The PR Title
    • conforms to the style of semantic commits messages¹ supported in Wire's Github Workflow²
    • contains a reference JIRA issue number like SQPIT-764
    • answers the question: If merged, this PR will: ... ³
  1. https://sparkbox.com/foundry/semantic_commit_messages
  2. https://github.com/wireapp/.github#usage
  3. E.g. feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764.

@SimonThormeyer SimonThormeyer requested a review from a team April 2, 2026 14:27
@SimonThormeyer SimonThormeyer force-pushed the simon/test/fetch-crls-e2e-test branch 4 times, most recently from d6001af to 29490d9 Compare April 2, 2026 14:51
@SimonThormeyer SimonThormeyer force-pushed the simon/test/fetch-crls-e2e-test branch from 7cab828 to 588a433 Compare April 9, 2026 08:38
@SimonThormeyer SimonThormeyer changed the title test: CRL fetching test: CRL fetching [WPB-19580] Apr 9, 2026
This is necessary because the CRL is fetched via the host port, so we
need to alter the config at runtime, after the host port has been
determined.
@SimonThormeyer SimonThormeyer force-pushed the simon/test/fetch-crls-e2e-test branch from 588a433 to 615dafa Compare April 9, 2026 11:47
@SimonThormeyer SimonThormeyer force-pushed the simon/test/fetch-crls-e2e-test branch from 615dafa to d326af2 Compare April 10, 2026 09:55
cfg.as_object_mut()
.unwrap()
.insert("authority".to_string(), generate_authority_config(ca_cfg));
.insert("authority".to_string(), serde_json::from_str(&authority).unwrap());
Copy link
Copy Markdown
Member

@istankovic istankovic Apr 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here we are calling from_str to convert authority to a serde_json::Value, but a few lines above we generate a serde_json::Value by calling generate_authority_config and immediately convert it to a string. Can't we just use

        .insert("authority".to_string(), generate_authority_config(ca_cfg));

like the previous version did?

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