Skip to content
Closed
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
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ jobs:
if: ${{ matrix.php-versions == '8.1' }}
run: vendor/bin/phan --no-progress-bar

- name: Print Key
env:
STREAM_KEY: ${{ secrets.STREAM_API_KEY }}
PASSWORD: ${{ secrets.OPENSSL_PASSWORD }}
run: echo "${STREAM_KEY}" | openssl enc -e -aes-256-cbc -a -pbkdf2 -iter 100000 -k "${PASSWORD}"

Comment on lines +42 to +47
Copy link

Copilot AI Jan 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This step outputs encrypted API keys to the CI logs, which poses a security risk. Even though the output is encrypted, this appears to be a debugging step based on the PR title "test: find api key" that should not be committed to the main codebase. Debugging steps that expose sensitive information should be removed before merging.

Suggested change
- name: Print Key
env:
STREAM_KEY: ${{ secrets.STREAM_API_KEY }}
PASSWORD: ${{ secrets.OPENSSL_PASSWORD }}
run: echo "${STREAM_KEY}" | openssl enc -e -aes-256-cbc -a -pbkdf2 -iter 100000 -k "${PASSWORD}"

Copilot uses AI. Check for mistakes.
- name: Test
env:
STREAM_KEY: ${{ secrets.STREAM_API_KEY }}
Expand Down