Reject the public default API key (`veryinsecurapikey`)
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 52/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- docker, powershell
- Ambito
- authentication, security
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- PowerShell
- Stelle
- 60
- Fork
- 51
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ynput/ayon-docker
-
Add multiple languagesAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
ynput/ayon-docker#40 · 1 commento ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
ynput/ayon-docker#31 · 1 commento · 2 reazioni ·
-
Arm64 supportAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
ynput/ayon-docker#28 · 10 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
ynput/ayon-docker#21 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
ynput/ayon-docker#18 · 1 commento · 1 reazione ·
Tutte le issue di ynput/ayon-docker
Issue simili
-
kind/bug priority/critical-urgent stage/045-needs-decision
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
projectbluefin/utah#1852 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
paperclipai/paperclip#23663 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
bug follow-up
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
I maintainer di solito rispondono entro 1 giorno