Skip to content

Commit

Permalink
feat: make Verify API opt-in & secure attestation with CSRF tokens (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
xDarksome committed Jul 13, 2023
1 parent 4087c5f commit 022f45a
Show file tree
Hide file tree
Showing 19 changed files with 694 additions and 161 deletions.
4 changes: 2 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ PROJECT_REGISTRY_AUTH_TOKEN="See 1Password: cloudflare-workers/prod/internal-api
PROJECT_REGISTRY_CACHE_URL=redis://localhost:6379/1
TEST_PROJECT_ID="Create one on https://wc-cloud-staging.vercel.app"

SECRET="See 1Password: prod-bouncer-secret"

# Terraform
GRAFANA_AUTH=

DOMAIN_WHITELIST=walletconnect.com,vercel.app,localhost
1 change: 1 addition & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ concurrency:

env:
TF_VAR_project_registry_auth_token: ${{ secrets.PROJECT_REGISTRY_AUTH_TOKEN }}
TF_VAR_secret: ${{ secrets.SECRET }}

jobs:
get-version:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci_terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ concurrency:

env:
TF_VAR_project_registry_auth_token: ${{ secrets.PROJECT_REGISTRY_AUTH_TOKEN }}
TF_VAR_secret: ${{ secrets.SECRET }}

jobs:
fmt:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ concurrency:

env:
TF_VAR_project_registry_auth_token: ${{ secrets.PROJECT_REGISTRY_AUTH_TOKEN }}
TF_VAR_secret: ${{ secrets.SECRET }}

jobs:
build-container:
Expand Down
Loading

0 comments on commit 022f45a

Please sign in to comment.