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

[v16] feat: Support multiple active CAs in Web exports #51418

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

codingllama
Copy link
Contributor

Backport #51301 to branch/v16.

#35444

Changelog: Added support for multiple active CAs in the /auth/export endpoint

* Move /auth/export code to own file

* Implement "/auth/export?format=zip"

* Refactor existing tests

* Test format=zip

* Fix comment

* Use bytes.NewReader

* Remove lib/client.ExportAuthorities
name: "all",
expectedStatus: http.StatusOK,
assertBody: func(t *testing.T, b []byte) {
require.Contains(t, string(b), "@cert-authority localhost,*.localhost ssh-rsa ")
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The test table assertions are a bit different here in comparison to v17/master - the latter wants "ecdsa-sha2-nistp256 " whereas here we have "ssh-rsa ". These are "old" assertions, so I just made sure they match the moved code from this branch.

@codingllama
Copy link
Contributor Author

Friendly ping @probakowski @zmb3.

@zmb3 zmb3 requested a review from rosstimothy January 24, 2025 15:58
@codingllama codingllama added this pull request to the merge queue Jan 24, 2025
@public-teleport-github-review-bot public-teleport-github-review-bot bot removed the request for review from probakowski January 24, 2025 16:30
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 24, 2025
@codingllama codingllama added this pull request to the merge queue Jan 24, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 24, 2025
@codingllama codingllama added this pull request to the merge queue Jan 24, 2025
Merged via the queue into branch/v16 with commit d87b7a2 Jan 24, 2025
41 checks passed
@codingllama codingllama deleted the codingllama/backport/51301-v16 branch January 24, 2025 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants