Closed Geal closed 1 year ago
wouldn't it be better to have the verification mode read the key from the samples file? That's what other implementations do, since they can't rely on rng consistency with rust, and read everything else from the samples file.
I can add it, but it would only work with the json output, not the markdown output
Is the markdown output used by automated tooling? I have only used the JSON output in biscuit-haskell and biscuit-go.
Not used by automated tooling, but very useful when debugging the crypto algorithms, as I'm doing right now 😄
working from json requires a larger refactoring of the samples, so I'll do that as follow up, and merge this for now, as it will unblock the ed25519-dalek upgrade
this will help in the migration to the new version of ed25519-dalek and rand. Test cases use a RNG with a static seed, but generation changed