Closed andresilva closed 10 months ago
Interestingly, dalek itself only uses subtle 2.3, so yes let's merge this once CI runs. We only switched to 2.5 due to using -ng for a while, or due to blindly upgrading.
I've no idea why subtle dislikes having multiple versions. I found no #[no_mangle]
in 2.5, and the trait wind up compatible somehow.
In principle of course, subtle should be upgraded because it's providing contant time tooling, but if dalek felt no need to upgrade yet, then we're fine too.
Don't forget to publish 0.11.4 with this so we can use it on polkadot :)
Done
We'll probably have more mess from https://github.com/dalek-cryptography/subtle/pull/118 in future
This is to help with https://github.com/paritytech/polkadot-sdk/pull/2524#issuecomment-1847055347. If you agree with this change and merge it please release schnorrkel 0.11.4 afterwards.