-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
joinservice: cache certificates for Azure SEV-SNP attestation (#2336)
* add ASK caching in joinservice Signed-off-by: Moritz Sanft <[email protected]> * use cached ASK in Azure SEV-SNP attestation Signed-off-by: Moritz Sanft <[email protected]> * update test charts Signed-off-by: Moritz Sanft <[email protected]> * fix linter Signed-off-by: Moritz Sanft <[email protected]> * fix typ Signed-off-by: Moritz Sanft <[email protected]> * make caching mechanism less provider-specific Signed-off-by: Moritz Sanft <[email protected]> * update buildfiles Signed-off-by: Moritz Sanft <[email protected]> * add `omitempty` flag Co-authored-by: Daniel Weiße <[email protected]> * frontload certificate getter Co-authored-by: Daniel Weiße <[email protected]> * rename frontloaded function Signed-off-by: Moritz Sanft <[email protected]> * pass cached certificates to constructor Signed-off-by: Moritz Sanft <[email protected]> * fix race condition Signed-off-by: Moritz Sanft <[email protected]> * fix marshalling of empty certs Signed-off-by: Moritz Sanft <[email protected]> * fix validator usage Signed-off-by: Moritz Sanft <[email protected]> * [wip] add certcache tests Signed-off-by: Moritz Sanft <[email protected]> * add certcache tests Signed-off-by: Moritz Sanft <[email protected]> * tidy Signed-off-by: Moritz Sanft <[email protected]> * fix validator test Signed-off-by: Moritz Sanft <[email protected]> * remove unused fields in validator Signed-off-by: Moritz Sanft <[email protected]> * fix certificate precedence Signed-off-by: Moritz Sanft <[email protected]> * use separate context Signed-off-by: Moritz Sanft <[email protected]> * tidy Signed-off-by: Moritz Sanft <[email protected]> * linter fixes Signed-off-by: Moritz Sanft <[email protected]> * linter fixes Signed-off-by: Moritz Sanft <[email protected]> * Remove unnecessary comment Co-authored-by: Thomas Tendyck <[email protected]> * use background context Signed-off-by: Moritz Sanft <[email protected]> * Use error format directive Co-authored-by: Thomas Tendyck <[email protected]> * `azure` -> `Azure` Co-authored-by: Thomas Tendyck <[email protected]> * improve error messages Signed-off-by: Moritz Sanft <[email protected]> * add x509 -> PEM util function Signed-off-by: Moritz Sanft <[email protected]> * use crypto util functions Signed-off-by: Moritz Sanft <[email protected]> * fix certificate replacement logic Signed-off-by: Moritz Sanft <[email protected]> * only require ASK from certcache Signed-off-by: Moritz Sanft <[email protected]> * tidy Signed-off-by: Moritz Sanft <[email protected]> * fix comment typo Signed-off-by: Moritz Sanft <[email protected]> --------- Signed-off-by: Moritz Sanft <[email protected]> Co-authored-by: Daniel Weiße <[email protected]> Co-authored-by: Thomas Tendyck <[email protected]>
- Loading branch information
1 parent
68d8b29
commit a5021c5
Showing
39 changed files
with
1,197 additions
and
50 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,7 @@ rules: | |
- configmaps | ||
verbs: | ||
- get | ||
- create | ||
- apiGroups: | ||
- "update.edgeless.systems" | ||
resources: | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,7 @@ rules: | |
- configmaps | ||
verbs: | ||
- get | ||
- create | ||
- apiGroups: | ||
- "update.edgeless.systems" | ||
resources: | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,7 @@ rules: | |
- configmaps | ||
verbs: | ||
- get | ||
- create | ||
- apiGroups: | ||
- "update.edgeless.systems" | ||
resources: | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,7 @@ rules: | |
- configmaps | ||
verbs: | ||
- get | ||
- create | ||
- apiGroups: | ||
- "update.edgeless.systems" | ||
resources: | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,7 @@ rules: | |
- configmaps | ||
verbs: | ||
- get | ||
- create | ||
- apiGroups: | ||
- "update.edgeless.systems" | ||
resources: | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,7 @@ rules: | |
- configmaps | ||
verbs: | ||
- get | ||
- create | ||
- apiGroups: | ||
- "update.edgeless.systems" | ||
resources: | ||
|
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.