Reject the public default API key (`veryinsecurapikey`)
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 52/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- docker, powershell
- Domain
- authentication, security
Research direction
Start by tracing how settings/template.json is applied during make setup and ./manage.ps1 setup, then find where API keys are validated or saved. The issue does not name those implementation files or tests, so first map the setup and service-user configuration paths. Done means setup warns and requires confirmation for the public key or rejects it, and later attempts to set it are also handled.
Written by the indexing model from the issue text.
Description
The settings/template.json shipped with ayon-docker creates a service user with the API key veryinsecurapikey. make setup / ./manage.ps1 setup is part of the default deployment, so every fresh self-hosted server has a service user with this publicly known key, which carries admin-level privileges. Nothing on the server prevents keeping it or setting it again later.
A similar case is the default admin/admin password, which web browsers nowadays flag with a warning at sign-in.
The API key, on the other hand, is never shown, so it is easy to forget on a server that later becomes reachable from the internet.
I'd expect AYON to either warn about this value and ask for confirmation before keeping it, or refuse it, as many tools do with publicly known passwords and secret keys.
- Dominant language
- PowerShell
- Stars
- 60
- Forks
- 51
- PR merge metrics
- No merged PRs in 30d
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ynput/ayon-docker
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
ynput/ayon-docker#40 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
ynput/ayon-docker#31 · 1 comment · 2 reactions ·
-
Arm64 supportOpen
Difficulty 5/5 Over a week Newbie friendliness 20/100
ynput/ayon-docker#28 · 10 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
ynput/ayon-docker#21 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
ynput/ayon-docker#18 · 1 comment · 1 reaction ·
All issues in ynput/ayon-docker
Similar issues
-
docs(adr): amend ADR-024 § 5 so a provider API key may be stored in the keychain, opt-in and cappedOpencomponent:docs size:S type:docs
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
nightgauge/nightgauge#3850 ·
Maintainers usually reply within 1 day
-
UI enters infinite reload loop when SESSION_LIFETIME > ~24.8 days (setTimeout 32-bit overflow in base.twig)Possibly taken A pull request linked to this issue is open or already merged. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
mailcow/mailcow-dockerized#7725 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
idurar/idurar-erp-crm#1538 ·
Maintainers usually reply within 1 day
-
good first issue new-skill
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
wazuh/wazuh-documentation#11163 ·
Maintainers usually reply within 1 day