This issue aims to document thoughts about the KEY attribute from the Root and Delegations classes.
The goal is to understand how we use that attribute, what might go wrong with it and how we can validate it.
When thinking about how we use KEY worth reading what is implemented in pr #1408 and pr #1436 implementing threshold validation.
We want to answer/address the following 6 questions/points based on my comment here:
- How do we use it?
- What might go wrong?
- Rethink how we store it?
- If, after the changes in step 3 there are concerns, then add a validation function
- Make the necessary changes for points 1 - 4, think and propose a way to integrate it into the class/classes (decorators, descriptors, etc.)
- create a pr for all additional changes on top of the validation functions
PS: The 7-th point is covered by documenting this issue.
This issue aims to document thoughts about the
KEYattribute from theRootandDelegationsclasses.The goal is to understand how we use that attribute, what might go wrong with it and how we can validate it.
When thinking about how we use
KEYworth reading what is implemented in pr #1408 and pr #1436 implementing threshold validation.We want to answer/address the following 6 questions/points based on my comment here:
PS: The 7-th point is covered by documenting this issue.