OpCert counters

Aperta
#40 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
haskell
Ambito
security

Direzione di ricerca

Inizia con il contesto della issue #32 e con la gestione attuale da parte di KES Agent dei numeri di serie OpCert e di opcert.counter. Chiarisci lo scenario di sicurezza per il rifiuto dei salti, il ripristino dopo un certificato errato o compromesso e gli upload mancati nelle reti autoriparanti; il lavoro è completato quando il comportamento e l’approccio di reimpostazione o ripristino sono concordati e documentati.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

backburner research

Split off from #32

OpCerts should be rejected when their serial number does not match the next serial number in sequence.
Currently, KES Agent only rejects opcerts whose serial numbers are the same or lower than the current one, and it does not track serial numbers itself. This means that when a KES Agent restarts, it will accept any OpCert (provided the signature checks out), and it will always accept OpCerts whose serial number is higher than that of the one it currently holds.

Clarify:

  • What exactly is the scenario against which exact serial number checks defend? (That is, why is it important to not only check that no serial number has been used twice, but also that there are no gaps in the sequence of serial numbers?)
  • How do we currently handle the situation where a user has generated an incorrect/compromised OpCert, and needs to generate a new one without installing the incorrect one? This would require resetting the OpCert counter (opcert.counter), but AFAICT, there is no straightforward way of doing that.
  • How are we going to handle a situation where multiple KES agents are running in a self-healing network, and one of them misses a key upload due to being unavailable for a long enough amount of time?
Lingua principale
Haskell
Stelle
2
Fork
13
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di IntersectMBO/kes-agent

Tutte le issue di IntersectMBO/kes-agent

Issue simili

Altre issue su Haskell

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.