Skip to content

kernels: split out digest validation validation and raise on two different kernels with the same ID - #895

Draft
danieldk wants to merge 5 commits into
mainfrom
digest-validator
Draft

danieldk wants to merge 5 commits into
mainfrom
digest-validator

Conversation

@danieldk

@danieldk danieldk commented Oct 9, 2026

Copy link
Copy Markdown
Member

This change splits out digest validation into a separate validator, DigestValidator. We also separate out the receipt caches for digest and signature validation. This allows us to unconditionally enable digest validation and raise when digest validation fails.

Building on this, we also update the importing code to raise when two different kernels have the same kernel id.

@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants