Skip to content

Commit

Permalink
Merge pull request #53 from BeamFi/dev
Browse files Browse the repository at this point in the history
Improve security using Web Crypto API to encrypt / decrypt meeting id and password in query params
  • Loading branch information
kinwo authored Mar 29, 2023
2 parents 4f83060 + 17780c6 commit 2ff2aec
Show file tree
Hide file tree
Showing 8 changed files with 1,482 additions and 1,320 deletions.
1 change: 1 addition & 0 deletions .env.development
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ NEXT_PUBLIC_II_CANISTER=http://localhost:8000/?canisterId=wxns6-qiaaa-aaaaa-aaaq
NEXT_PUBLIC_ENABLE_SPLITFEE=false
NEXT_PUBLIC_MEETING_HOST=http://localhost:3001
NEXT_PUBLIC_ENABLE_MEETING=true
NEXT_PUBLIC_WEB_CRYPTO_KEY="s0WfD8cXQvzRB+Ztst60NteNwjWrJVyKyJpYyhUZ5ig="
DFX_NETWORK=local
1 change: 1 addition & 0 deletions .env.iclocal
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ NEXT_PUBLIC_II_CANISTER=http://localhost:8000/?canisterId=wxns6-qiaaa-aaaaa-aaaq
NEXT_PUBLIC_ENABLE_SPLITFEE=false
NEXT_PUBLIC_MEETING_HOST=http://localhost:3001
NEXT_PUBLIC_ENABLE_MEETING=true
NEXT_PUBLIC_WEB_CRYPTO_KEY="s0WfD8cXQvzRB+Ztst60NteNwjWrJVyKyJpYyhUZ5ig="
DFX_NETWORK=local
2 changes: 2 additions & 0 deletions .github/workflows/firebase-hosting-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
- uses: actions/checkout@v3
- run: corepack enable && corepack prepare pnpm@latest --activate
- run: ./scripts/setup-ui-dev.sh && pnpm install && pnpm run build
env:
NEXT_PUBLIC_WEB_CRYPTO_KEY: ${{ secrets.NEXT_PUBLIC_WEB_CRYPTO_KEY }}
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/firebase-hosting-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
- uses: actions/checkout@v3
- run: corepack enable && corepack prepare pnpm@latest --activate
- run: ./scripts/setup-ui-prod.sh && pnpm install && pnpm run build
env:
NEXT_PUBLIC_WEB_CRYPTO_KEY: ${{ secrets.NEXT_PUBLIC_WEB_CRYPTO_KEY }}
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
Expand Down
Loading

0 comments on commit 2ff2aec

Please sign in to comment.