Skip to content
Merged
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
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@astrojs/starlight": "0.32.3",
"@astrojs/starlight-docsearch": "0.6.0",
"@astrojs/starlight-tailwind": "3.0.0",
"@astrojs/tailwind": "5.1.5",
"@astrojs/tailwind": "6.0.0",
"@cloudflare/vitest-pool-workers": "0.8.1",
"@cloudflare/workers-types": "4.20250317.0",
"@codingheads/sticky-header": "1.0.2",
Expand Down
6 changes: 3 additions & 3 deletions public/cloudflare-one/static/authenticated-doh.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ def request_doh_token(account_tag, user_id, client_id, client_secret):
'-H', f"Cf-Access-Client-Id: {client_id}",
'-H', f"Cf-Access-Client-Secret: {client_secret}"]
if verbose:
print(f"Issuing request {' '.join(command)}")
sanitized_command = [part if "Cf-Access-Client-Secret" not in part else "Cf-Access-Client-Secret: [REDACTED]" for part in command]
print(f"Issuing request {' '.join(sanitized_command)}")
response = json.loads(subprocess.check_output(command))
if verbose:
print("Got response:")
Expand Down Expand Up @@ -145,8 +146,7 @@ def request(method, url, body):
if client_id == "new":
service_token_name = input('Please input name for service token > ')
client_id, client_secret = request_create_service_token(service_token_name)
print(
f"Created service token with client_id {client_id} and client_secret {client_secret}. You may want to save these secrets.")
print("Created service token. You may want to save the client_id and client_secret securely.")


if len(client_secret) == 0:
Expand Down