Skip to content

Commit 67b859f

Browse files
committed
fix: deploy scripts.
1 parent 93f664d commit 67b859f

9 files changed

Lines changed: 5 additions & 4 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ else
1515
# Please uncomment and set values for the following variables:
1616
1717
# The URL of the dstack-vmm RPC service
18-
# VMM_=unix:../../../build/vmm.sock
18+
# VMM_RPC=unix:../../../build/vmm.sock
1919
2020
# Cloudflare API token for DNS challenge
2121
# CF_API_TOKEN=your_cloudflare_api_token
@@ -72,7 +72,7 @@ required_env_vars=(
7272
"WG_ADDR"
7373
"GATEWAY_APP_ID"
7474
"MY_URL"
75-
"BOOTNODE_URL"
75+
# "BOOTNODE_URL"
7676
)
7777

7878
# Validate required environment variables
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ services:
2727
- CF_API_TOKEN=${CF_API_TOKEN}
2828
- CF_ZONE_ID=${CF_ZONE_ID}
2929
- MY_URL=${MY_URL}
30-
- BOOTNODE_URL=${BOOTNODE_URL}
3130
- ACME_STAGING=${ACME_STAGING}
3231
- SUBNET_INDEX=${SUBNET_INDEX}
3332
- RUST_LOG=info,certbot=debug
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ rpc_domain = "gateway.$SRV_DOMAIN"
8686
run_in_dstack = true
8787
8888
[core.sync]
89-
enabled = true
89+
enabled = false
9090
interval = "30s"
9191
my_url = "$MY_URL"
9292
bootnode = "$BOOTNODE_URL"

vmm/src/vmm-cli.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -676,6 +676,8 @@ def verify_signature(public_key: bytes, signature: bytes, app_id: str) -> Option
676676

677677
# Create the message to verify
678678
prefix = b"dstack-env-encrypt-pubkey"
679+
if app_id.startswith("0x"):
680+
app_id = app_id[2:]
679681
message = prefix + b":" + bytes.fromhex(app_id) + public_key
680682

681683
# Hash the message with Keccak-256

0 commit comments

Comments
 (0)