Skip to content

Conversation

@hugovk
Copy link
Member

@hugovk hugovk commented Jul 11, 2025

Right now, run_release.py prints a summary at the start, including the API key:

.venv/bin/python run_release.py --repository ../cpython --ssh-user me --release 3.14.0a0
Release data:
- Branch: main
- Release tag: 3.14.0a0
- Normalized release tag: 3.14.0
- Git repo: ../cpython
- SSH username: me
- python.org API key: me:123456789012345678901234567890123456789
- Sign with GPG: False

Let's mask it:

.venv/bin/python run_release.py --repository ../cpython --ssh-user me --release 3.14.0a0
Release data:
- Branch: main
- Release tag: 3.14.0a0
- Normalized release tag: 3.14.0
- Git repo: ../cpython
- SSH username: me
- python.org API key: me:************************************789
- Sign with GPG: False

Let's not show it:

.venv/bin/python run_release.py --repository ../cpython --ssh-user me --release 3.14.0a0
Release data:
- Branch: main
- Release tag: 3.14.0a0
- Normalized release tag: 3.14.0
- Git repo: ../cpython
- SSH username: me
- Sign with GPG: False

@hugovk hugovk changed the title Mask API key in release summary Don't show API key in release summary Jul 11, 2025
Copy link
Collaborator

@sethmlarson sethmlarson left a comment

Choose a reason for hiding this comment

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

Thanks Hugo!

@hugovk hugovk merged commit 5894c29 into python:master Jul 12, 2025
12 checks passed
@hugovk hugovk deleted the mask-api-key branch July 12, 2025 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants