Remove hardcoded Giphy API key from config.py
#19
Labels
No Label
ai-changes-requested
ai-pr-opened
ai-reviewed
ai-reviewing
ai-working
in-next-release
status/in-progress
status/pr-open
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cal/major-domo-v2#19
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
config.py:100— The Giphy API key is hardcoded as the default value forgiphy_api_key. While it can be overridden by an environment variable, any deployment that does not setGIPHY_API_KEYwill silently use this key, and the key itself is committed to version control. The correct pattern is to setgiphy_api_key: Optional[str] = Noneand fail gracefully when absent.File Locations
config.py:100Labels
security
Priority
high
Addressed in commit
f4be20aonnext-releasebranch. Will be closed when merged to main.Addressed in commit
f4be20aonnext-releasebranch. Will be closed when merged to main.