Task: return pending keys ids from GET /api/v1/metadata/sign
together with metadata
#489
Closed
1 task done
What is the task about?
This task is related to metadata update ceremony at the RSTUF CLI.
One of the key steps there is the authorization part.
Currently, when we do metadata update with full signing, we expect at least threshold number of keys from current root to be loaded.
Now, we cannot do the same as we have allowed our maintainers to initiate bootstrap with DAS.
My suggestion is to follow these steps for metadata DAS:
a) there are current_root_threshold amount of keys loaded and signed the new root version
b) there are new_root_threshold amount of keys loaded and signed the new root version
POST /api/v1/metadata/sign
These steps are already implemented at the RSTUF worker by pr:
repository-service-tuf/repository-service-tuf-worker#355.
What I am worried is how our users will understand that they need to call
POST /api/v1/metadata/sign
with keys not exclusively coming from the new root version.Imagine this situaiton:
POST /api/v1/metadata/sign
with keys coming from NEW ROOT.A solution for this could be to make
GET /api/v1/metadata/sign
return not only metadata requiring signing, but the pending keyids together with root version they come from.Example:
References
Code of Conduct
The text was updated successfully, but these errors were encountered: