Skip to content

feat: put the signature cache behind a feature flag (enabled by default)#481

Merged
lwshang merged 9 commits into
dfinity:mainfrom
hpeebles:sig_cache
May 1, 2026
Merged

feat: put the signature cache behind a feature flag (enabled by default)#481
lwshang merged 9 commits into
dfinity:mainfrom
hpeebles:sig_cache

Conversation

@hpeebles
Copy link
Copy Markdown
Contributor

This will allow canisters to perform certificate verification.

Currently they can't because the cached dependency pulls in web-time which calls into Javascript's Date.now() using wasm-bindgen and therefore isn't compatible with running within a canister.

@hpeebles hpeebles requested a review from a team as a code owner April 10, 2026 10:19
lwshang and others added 7 commits April 21, 2026 10:04
…es and suppress implicit dep features

Use `dep:` prefix for optional dependencies so the `cached`, `lazy_static`,
and `parking_lot` crate names are not leaked as public features. Fix cfg gates
that were relying on the implicit `cached` feature to now use the canonical
`signature_cache` feature name. Add a regression test that verifies the cached
path is taken when the feature is enabled.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@lwshang lwshang enabled auto-merge (squash) May 1, 2026 00:18
@lwshang lwshang merged commit 61376bb into dfinity:main May 1, 2026
9 checks passed
@hpeebles hpeebles deleted the sig_cache branch May 1, 2026 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants