From 09b491491671f9ba68f969dfc1236393d702e3b5 Mon Sep 17 00:00:00 2001 From: Jenny Zhang Date: Fri, 24 Nov 2023 13:27:20 -0500 Subject: [PATCH] tka: clarify field comment Updates #cleanup Signed-off-by: Jenny Zhang --- tka/state.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tka/state.go b/tka/state.go index 85c92add4..0a459bd9a 100644 --- a/tka/state.go +++ b/tka/state.go @@ -30,7 +30,10 @@ type State struct { // to turn off the TKA in the event of a consensus-breaking bug. DisablementSecrets [][]byte `cbor:"2,keyasint"` - // Keys are the public keys currently trusted by the TKA. + // Keys are the public keys of either: + // + // 1. The signing nodes currently trusted by the TKA. + // 2. Ephemeral keys that were used to generate pre-signed auth keys. Keys []Key `cbor:"3,keyasint"` // StateID's are nonce's, generated on enablement and fixed for