alitheg commented on issue #676: URL: https://github.com/apache/tooling-trusted-releases/issues/676#issuecomment-4053761994
Ah hang on this is interesting - it looks like we *only* use this model when loading from attestable and loading checks - when we actually receive the payload we have it as `dict[str, Any]`. Given that it's schema.subset, could we change to actually using this model when we receive it over SSH (which would validate the data that's currently unvalidated), then remove the date fields when we write it to attestable so that it remains valid - now that it's locked into the attestable json we know we can trust it (as long as it was validated the first time around) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
