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

UID2-4808 Add azure-cc-aks protocol #1340

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.uid2</groupId>
<artifactId>uid2-operator</artifactId>
<version>5.45.8</version>
<version>5.45.9-alpha-181-SNAPSHOT</version>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down
6 changes: 3 additions & 3 deletions scripts/confidential_compute.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@ def validate_connectivity() -> None:
if self.configs.get("debug_mode") and environment == "prod":
raise InvalidConfigValue(self.__class__.__name__, "debug_mode")

validate_url("core_base_url", environment)
validate_url("optout_base_url", environment)
validate_operator_key()
# validate_url("core_base_url", environment)
Copy link
Contributor Author

@cYKatherine cYKatherine Feb 4, 2025

Choose a reason for hiding this comment

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

ignore this for now, uncomment before merge

# validate_url("optout_base_url", environment)
# validate_operator_key()
validate_connectivity()
logging.info("Completed static validation of confidential compute config values")

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/uid2/operator/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -506,8 +506,8 @@ private AttestationResponseHandler getAttestationTokenRetriever(Vertx vertx, Str
LOGGER.info("creating uid core client with gcp oidc attestation protocol");
attestationProvider = AttestationFactory.getGcpOidcAttestation();
break;
case "azure-cc":
LOGGER.info("creating uid core client with azure cc attestation protocol");
case "azure-cc", "azure-cc-aks":
LOGGER.info("creating uid core client with" + enclavePlatform + "attestation protocol");
String maaServerBaseUrl = this.config.getString(Const.Config.MaaServerBaseUrlProp, "https://sharedeus.eus.attest.azure.net");
attestationProvider = AttestationFactory.getAzureCCAttestation(maaServerBaseUrl);
break;
Expand Down