Have transcripted versions specify their minor version pre-1.0

This commit is contained in:
Luke Parker
2022-12-27 00:49:31 -05:00
parent bacf31378d
commit 3b4c600c60
4 changed files with 4 additions and 4 deletions

View File

@@ -123,7 +123,7 @@ impl<Id: Eq + Hash, C: Ciphersuite> Encryption<Id, C> {
fn cipher(&self, participant: Id, encrypt: bool) -> ChaCha20 {
// Ideally, we'd box this transcript with ZAlloc, yet that's only possible on nightly
// TODO: https://github.com/serai-dex/serai/issues/151
let mut transcript = RecommendedTranscript::new(b"DKG Encryption v0");
let mut transcript = RecommendedTranscript::new(b"DKG Encryption v0.2");
transcript.domain_separate(self.dst);
let other = self.enc_keys[&participant];