Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] subtle: breaking changes for a hypothetical v3.0 #136

Closed

Commits on Aug 3, 2024

  1. [WIP] subtle: breaking changes for a hypothetical v3.0

    This commit contains a minimal set of proposed breaking changes, as an
    alternative to trying to make additive changes which may be "subtly"
    breaking:
    
    - Add `ConstantTimeClone` trait and use it as
      `ConditionallySelectable`'s supertrait bound (alternative to dalek-cryptography#118):
      this makes it possible to implement `ConditionallySelectable` on
      heap-allocated types (fixes dalek-cryptography#94)
    - Remove `Default` bound on `CtOption::map` and `CtOption::and_then`:
      allows using these methods with types that don't impl `Default` and
      avoids potential timing sidechannels if there might be timing
      variability in `Default` types (fixes dalek-cryptography#63)
    tarcieri committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    18241c2 View commit details
    Browse the repository at this point in the history