Refuse a handoff resume under a certificate the fiber does not pin
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 56/100
Direzione di ricerca
Start with docs/design/handoff.md and docs/protocol.md to understand the handoff flow, then trace the relevant host and core code from the unit tests in pkg/runtime/host and pkg/core. Run those tests and inspect tests/integration/proc/handoff_linux_test.go for the certificate renewal case. Done means mismatched certificates are refused with a clear cause on both homes, pinned certificates still resume or attach, and the docs describe how to discard the session and create a new fiber.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
A handoff fiber pins the client certificate its Clone arrived under. After the caller renews that certificate over the same key, fiberd still admits the caller, so a Clone that resumes or attaches the fiber succeeds and the caller's TLS handshake to the fiber then fails with nothing to explain it.
- A Clone that would resume or attach a handoff fiber under another client certificate than the fiber pins is refused before the fiber is touched.
- The refusal names the cause, so a caller can tell a stale pin from a wrong caller.
- A Clone under the pinned certificate resumes and attaches as it does today.
- The check holds on the home that parked the fiber and on a home the session moved to.
- A caller can still discard the session and create a fiber under the renewed certificate.
docs/design/handoff.mdanddocs/protocol.mdstate the refusal and the way out.- Rows in the unit tests of
pkg/runtime/hostandpkg/core, and a renewal row intests/integration/proc/handoff_linux_test.go.
Follows #105, which binds a grant to the caller's key.
- Lingua principale
- Go
- Stelle
- 5
- Fork
- 5
- Merge medio
- 15h 27m
- PR unite (30g)
- 41
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
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 Azure/fiberd
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
Azure/fiberd#131 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 28/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Azure/fiberd
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 69/100
I maintainer di solito rispondono entro 2 giorni
-
[Bug] vela config-template apply drops the template's metadata.descriptionForse già presa @backendArchitect l’ha presa oggi. Apertaarea/cli area/config good first issue type/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
kubevela/kubevela#7756 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 2 giorni
-
enhancement good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
I maintainer di solito rispondono entro 1 giorno