Skip to content

Commit de95e07

Browse files
abuabraham-ttdRelease Workflowvishalegbert-ttd
authored
Re-adding encryption (#1558)
* Re-adding encryption, flag to toggle. ---- Co-authored-by: Release Workflow <unifiedid-admin+release@thetradedesk.com> Co-authored-by: Vishal Egbert <vishal.egbert@thetradedesk.com>
1 parent f1f3095 commit de95e07

26 files changed

Lines changed: 482 additions & 27 deletions

conf/default-config.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@
3030
"salts_metadata_path": "salts/metadata.json",
3131
"services_metadata_path": "services/metadata.json",
3232
"service_links_metadata_path": "service_links/metadata.json",
33+
"cloud_encryption_keys_metadata_path": "cloud_encryption_keys/metadata.json",
34+
"encrypted_files": false,
35+
"cloud_encryption_keys_refresh_ms": 300000,
3336
"optout_metadata_path": null,
3437
"optout_inmem_cache": false,
3538
"enclave_platform": null,

conf/docker-config.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131
"salts_metadata_path": "/com.uid2.core/test/salts/metadata.json",
3232
"services_metadata_path": "/com.uid2.core/test/services/metadata.json",
3333
"service_links_metadata_path": "/com.uid2.core/test/service_links/metadata.json",
34+
"cloud_encryption_keys_metadata_path": "/com.uid2.core/test/cloud_encryption_keys/metadata.json",
35+
"encrypted_files": true,
3436
"identity_token_expires_after_seconds": 3600,
3537
"optout_metadata_path": null,
3638
"optout_inmem_cache": false,

conf/integ-config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"core_api_token": "trusted-partner-key",
1414
"optout_api_token": "test-operator-key",
1515
"optout_api_uri": "http://localhost:8081/optout/replicate",
16+
"cloud_encryption_keys_metadata_path": "http://localhost:8088/cloud_encryption_keys/retrieve",
1617
"salts_expired_shutdown_hours": 12,
1718
"operator_type": "public",
1819
"runtime_config_store": {

conf/local-config.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"salts_metadata_path": "/com.uid2.core/test/salts/metadata.json",
1010
"services_metadata_path": "/com.uid2.core/test/services/metadata.json",
1111
"service_links_metadata_path": "/com.uid2.core/test/service_links/metadata.json",
12+
"cloud_encryption_keys_metadata_path": "/com.uid2.core/test/cloud_encryption_keys/metadata.json",
1213
"identity_token_expires_after_seconds": 3600,
1314
"refresh_token_expires_after_seconds": 86400,
1415
"refresh_identity_token_after_seconds": 900,
@@ -37,6 +38,7 @@
3738
"client_side_token_generate_log_invalid_http_origins": true,
3839
"salts_expired_shutdown_hours": 12,
3940
"operator_type": "public",
41+
"encrypted_files": true,
4042
"runtime_config_store": {
4143
"type": "file",
4244
"config" : {

conf/local-e2e-docker-private-config.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
"keysets_metadata_path": "http://core:8088/key/keyset/refresh",
1212
"keyset_keys_metadata_path": "http://core:8088/key/keyset-keys/refresh",
1313
"salts_metadata_path": "http://core:8088/salt/refresh",
14+
"cloud_encryption_keys_metadata_path": "http://core:8088/cloud_encryption_keys/retrieve",
15+
"encrypted_files": false,
1416
"identity_token_expires_after_seconds": 3600,
1517
"refresh_token_expires_after_seconds": 86400,
1618
"refresh_identity_token_after_seconds": 900,

conf/local-e2e-docker-public-config.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
"salts_metadata_path": "http://core:8088/salt/refresh",
1414
"services_metadata_path": "http://core:8088/services/refresh",
1515
"service_links_metadata_path": "http://core:8088/service_links/refresh",
16+
"cloud_encryption_keys_metadata_path": "http://core:8088/cloud_encryption_keys/retrieve",
17+
"encrypted_files": false,
1618
"identity_token_expires_after_seconds": 3600,
1719
"refresh_token_expires_after_seconds": 86400,
1820
"refresh_identity_token_after_seconds": 900,

conf/local-e2e-private-config.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
"salts_metadata_path": "http://localhost:8088/salt/refresh",
1414
"services_metadata_path": "http://localhost:8088/services/refresh",
1515
"service_links_metadata_path": "http://localhost:8088/service_links/refresh",
16+
"cloud_encryption_keys_metadata_path": "http://localhost:8088/cloud_encryption_keys/retrieve",
17+
"encrypted_files": false,
1618
"identity_token_expires_after_seconds": 3600,
1719
"refresh_token_expires_after_seconds": 86400,
1820
"refresh_identity_token_after_seconds": 900,

conf/local-e2e-public-config.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
"salts_metadata_path": "http://localhost:8088/salt/refresh",
1414
"services_metadata_path": "http://localhost:8088/services/refresh",
1515
"service_links_metadata_path": "http://localhost:8088/service_links/refresh",
16+
"cloud_encryption_keys_metadata_path": "http://localhost:8088/cloud_encryption_keys/retrieve",
17+
"encrypted_files": false,
1618
"identity_token_expires_after_seconds": 3600,
1719
"refresh_token_expires_after_seconds": 86400,
1820
"refresh_identity_token_after_seconds": 900,

conf/validator-latest-e2e-docker-public-config.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
"salts_metadata_path": "http://core:8088/salt/refresh",
1515
"services_metadata_path": "http://core:8088/services/refresh",
1616
"service_links_metadata_path": "http://core:8088/service_links/refresh",
17+
"cloud_encryption_keys_metadata_path": "http://core:8088/cloud_encryption_keys/retrieve",
18+
"encrypted_files": true,
1719
"identity_token_expires_after_seconds": 3600,
1820
"refresh_token_expires_after_seconds": 86400,
1921
"refresh_identity_token_after_seconds": 900,

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<enclave-aws.version>2.1.0</enclave-aws.version>
2323
<enclave-azure.version>2.1.13</enclave-azure.version>
2424
<enclave-gcp.version>2.1.0</enclave-gcp.version>
25-
<uid2-shared.version>8.1.25</uid2-shared.version>
25+
<uid2-shared.version>9.0.8</uid2-shared.version>
2626
<image.version>${project.version}</image.version>
2727
<maven.compiler.source>21</maven.compiler.source>
2828
<maven.compiler.target>21</maven.compiler.target>

0 commit comments

Comments
 (0)