mirror of
https://github.com/chatmail/core.git
synced 2026-05-06 16:36:59 +03:00
fix: Don't leak cryptographic identity by signing vc-request-pubkey
This commit is contained in:
@@ -83,7 +83,7 @@ fn criterion_benchmark(c: &mut Criterion) {
|
||||
let secret = secrets[NUM_SECRETS / 2].clone();
|
||||
symm_encrypt_message(
|
||||
plain.clone(),
|
||||
create_dummy_keypair("alice@example.org").unwrap().secret,
|
||||
Some(create_dummy_keypair("alice@example.org").unwrap().secret),
|
||||
black_box(&secret),
|
||||
true,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user