Flexible traits - #9
Conversation
|
Dobby has started work on this for @rubenhensen.
This note is informational — it starts nothing by itself. |
|
Thanks for the flag, @rubenhensen — I'm on it. I'll try merging |
|
I tried a local The underlying problem (#6 — But the branch is from November 2022 and This is a breaking API redesign (the PR body says as much), so resolving it means re-deriving the trait-flexibility design against four years of changes to the crypto core, not mechanically picking sides — that's a judgment call only the author or a maintainer can make safely. Separately, the workflow-file conflict means even a resolved merge commit couldn't be pushed by this bot (no Recommend: the author rebases this by hand onto current |
|
I tried a local test-merge of The conflicts are extensive: core trait definitions in I left a comment on the PR recommending the author either rebase this by hand onto current |
This PR aims to solve #6 . When some schemes require a public key in the key generation or decryption/decapsulation, an operation may panic. Instead, the code now won't compile. This change is breaking, so we should consider carefully.
This approach has several drawbacks:
Another approach is to put the pk in the sk and usk, respectively. But imo, this does not make sense from a practical point of view: