File tree Expand file tree Collapse file tree 4 files changed +62
-2
lines changed
Expand file tree Collapse file tree 4 files changed +62
-2
lines changed Original file line number Diff line number Diff line change @@ -132,6 +132,8 @@ Run the following for each of the `dev2025h1a` and `dev2025h2a` log shards to co
132132 openssl genpkey -algorithm ed25519 | npx wrangler -e=${ENV} secret put WITNESS_KEY_${LOG_NAME}
133133 openssl genpkey -algorithm EC -pkeyopt ec_paramgen_curve:P-256 | npx wrangler -e=${ENV} secret put SIGNING_KEY_${LOG_NAME}
134134
135+ (Note: For mtc_worker we use ed25519 for both the witness key and the signing key.)
136+
1351371. Deploy the worker. The worker will be available at `https://static-ct-${ENV}.<your-team>.workers.dev/logs/${LOG_NAME}`.
136138
137139 npx wrangler -e=${ENV} deploy
Original file line number Diff line number Diff line change 11SIGNING_KEY_dev1="-----BEGIN PRIVATE KEY-----\nMC4CAQAwBQYDK2VwBCIEIBCLa48rfJHyYIhRoP83GJzwEtEJfdVKeI6YvrZLhiUG\n-----END PRIVATE KEY-----\n"
22WITNESS_KEY_dev1="-----BEGIN PRIVATE KEY-----\nMC4CAQAwBQYDK2VwBCIEIHwiErJNKCNGZL+Osj+O8MqSMiwPP4kdcC4iTpojV9Od\n-----END PRIVATE KEY-----\n"
33SIGNING_KEY_dev2="-----BEGIN PRIVATE KEY-----\nMC4CAQAwBQYDK2VwBCIEINaOgrQNAgPl9+sEQqCxEnvlblHlC3JbrM04/uryf3we\n-----END PRIVATE KEY-----\n"
4- WITNESS_KEY_dev2="-----BEGIN PRIVATE KEY-----\nMC4CAQAwBQYDK2VwBCIEINKYH1WadDgPJEXYzLx0OWzNoi4hRcpUnYpoWrTc7BDO\n-----END PRIVATE KEY-----\n"
4+ WITNESS_KEY_dev2="-----BEGIN PRIVATE KEY-----\nMC4CAQAwBQYDK2VwBCIEINKYH1WadDgPJEXYzLx0OWzNoi4hRcpUnYpoWrTc7BDO\n-----END PRIVATE KEY-----\n"
5+ SIGNING_KEY_shard1="-----BEGIN PRIVATE KEY-----\nMC4CAQAwBQYDK2VwBCIEINaOgrQNAgPl9+sEQqCxEnvlblHlC3JbrM04/uryf3we\n-----END PRIVATE KEY-----\n"
6+ WITNESS_KEY_shard1="-----BEGIN PRIVATE KEY-----\nMC4CAQAwBQYDK2VwBCIEINKYH1WadDgPJEXYzLx0OWzNoi4hRcpUnYpoWrTc7BDO\n-----END PRIVATE KEY-----\n"
Original file line number Diff line number Diff line change 1+ {
2+ "logging_level" : " info" ,
3+ "logs" : {
4+ "shard1" : {
5+ "description" : " Cloudflare bootstrap MTCA shard 1" ,
6+ "log_id" : " 13335.1" ,
7+ "submission_url" : " https://bootstrap-mtca.cloudflareresearch.com/logs/shard1/" ,
8+ "monitoring_url" : " https://bootstrap-mtca-shard1.cloudflareresearch.com" ,
9+ "enable_dedup" : false
10+ }
11+ }
12+ }
Original file line number Diff line number Diff line change 5656 ]
5757 }
5858 ]
59+ },
60+ "bootstrap-mtca" : {
61+ "build" : {
62+ // Change '--release' to '--dev' to compile with debug symbols.
63+ // DEPLOY_ENV is used in build.rs to select per-environment config and roots.
64+ "command" : " cargo install -q worker-build && DEPLOY_ENV=bootstrap-mtca worker-build --release"
65+ },
66+ "route" : {
67+ "pattern" : " bootstrap-mtca.cloudflareresearch.com" ,
68+ "custom_domain" : true
69+ },
70+ "r2_buckets" : [
71+ {
72+ "bucket_name" : " bootstrap-mtca-shard1" ,
73+ "binding" : " public_shard1"
74+ }
75+ ],
76+ "durable_objects" : {
77+ "bindings" : [
78+ {
79+ "name" : " BATCHER" ,
80+ "class_name" : " Batcher"
81+ },
82+ {
83+ "name" : " CLEANER" ,
84+ "class_name" : " Cleaner"
85+ },
86+ {
87+ "name" : " SEQUENCER" ,
88+ "class_name" : " Sequencer"
89+ }
90+ ]
91+ },
92+ "migrations" : [
93+ {
94+ // tag should be unique for each entry
95+ "tag" : " v1" ,
96+ "new_sqlite_classes" : [
97+ " Batcher" ,
98+ " Cleaner" ,
99+ " Sequencer"
100+ ]
101+ }
102+ ]
59103 }
60104 }
61- }
105+ }
You can’t perform that action at this time.
0 commit comments