Merge branch 'ed25519-strict-verification' into 'main'

use strict verification for ed25519

See merge request veilid/veilid!136
This commit is contained in:
Christien Rioux 2023-08-20 15:25:21 +00:00
commit 595b237f64

View File

@ -225,7 +225,7 @@ impl CryptoSystem for CryptoSystemVLD0 {
let mut dig = Blake3Digest512::new();
dig.update(data);
pk.verify_prehashed(dig, None, &sig)
pk.verify_prehashed_strict(dig, None, &sig)
.map_err(|e| VeilidAPIError::parse_error("Verification failed", e))?;
Ok(())
}