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

Conversation

cYKatherine
Copy link
Contributor

No description provided.

@cYKatherine cYKatherine self-assigned this Feb 4, 2025
@cYKatherine cYKatherine force-pushed the kcc-UID2-4808-add-enclave-id-aks branch from f1a8d8c to 023381f Compare February 4, 2025 05:12
@cYKatherine cYKatherine force-pushed the kcc-UID2-4808-add-enclave-id-aks branch 2 times, most recently from 8cf3425 to 21c462a Compare February 4, 2025 05:18
@cYKatherine cYKatherine force-pushed the kcc-UID2-4808-add-enclave-id-aks branch from eb45e88 to 41d02b3 Compare February 4, 2025 05:34
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

String maaServerBaseUrl = this.config.getString(Const.Config.MaaServerBaseUrlProp, "https://sharedeus.eus.attest.azure.net");
attestationProvider = AttestationFactory.getAzureCCAttestation(maaServerBaseUrl);
break;
case "azure-cc-aks":
Copy link
Contributor Author

Choose a reason for hiding this comment

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

QQ: We specify enclavePlatform in config, however, azure-cc and azure-cc-aks gets the same attestation provider. Do we still want to separate azure-cc and azure-cc-aks for enclavePlatform? It's quite confusing comapred to protocol in operator key, should we potentially make them a same thing in the future?

Copy link
Contributor

Choose a reason for hiding this comment

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

I think it is fine since platform is different, attestation is same.

String maaServerBaseUrl = this.config.getString(Const.Config.MaaServerBaseUrlProp, "https://sharedeus.eus.attest.azure.net");
attestationProvider = AttestationFactory.getAzureCCAttestation(maaServerBaseUrl);
break;
case "azure-cc-aks":
Copy link
Contributor

Choose a reason for hiding this comment

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

cant we do

case "azure-cc", "azure-cc-aks":

@cYKatherine cYKatherine force-pushed the kcc-UID2-4808-add-enclave-id-aks branch from 6f2e3be to 499ea63 Compare February 4, 2025 23:42
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