-
Notifications
You must be signed in to change notification settings - Fork 2k
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
identity: default to RS256 for new workload ids #18882
Merged
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
8767c8b
identity: default to RS256 for new workload ids
schmichael acda651
fix signing before new rsa key is generated
schmichael 98c36bb
oh no rsa nooooo
schmichael 893073e
can no longer use a custom region
schmichael bc4ffd3
Revert "oh no rsa nooooo"
schmichael 5fd3761
Revert "can no longer use a custom region"
schmichael 71e4858
fix log formatting
schmichael 33d4df5
add WaitForKeying test helper
schmichael 211c70a
make api tests wait for keys
schmichael 80cb291
sync api and core waitForLeader
schmichael 195c639
waitForLeader -> waitForServers
schmichael d406f6e
convert various tests from eddsa->rs256
schmichael 5e99be0
make agent endpoint tests wait for keyring
schmichael 3d62fcd
how did i forget to fix these :facepalm:
schmichael 5f6f086
fixup more tests needing to wait for keyring
schmichael 3af078c
more wait for keyring
schmichael 7758c00
fix test i just broke
schmichael e004ead
use configured region, not global
schmichael 9fb6ba1
hopefully the final fixes for the final failing package
schmichael 6837ca3
yet another wait for keyring
schmichael baaad9a
try expanding timings
schmichael 241aeb8
fix data race in test
schmichael 3a14314
handle leadership changes during tests
schmichael File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For this and the corresponding change in
testutil/server.go
I decided to switch all tests to wait for the keyring to be initialized.I did this because I think these tests are more like integration tests and less concerned with the implementation details than
nomad/
package tests. Therefore I thought it appropriate to let these tests block until servers are ready by default.