Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Metadata API: Add Key attributes types validation
In our discussion with Jussi we come to the conclusion that we want to verify that all Key attributes contain values in the expected types, but at the same time we don't want to focus validating the semantics behind them. The reason is that having a Key instance with invalid attributes is possible and supported by the spec. That's why we have "threshold" for the roles meaning we can have up to a certain number of invalid Keys until we satisfy the required threshold. Also, for deeper semantic validation it's better to be done in securesystemslib which does the actual work with keys. For context see: theupdateframework#1438 Signed-off-by: Martin Vrachev <[email protected]>
- Loading branch information