From 9ce5d8d191add692d033293de02d37c610da608c Mon Sep 17 00:00:00 2001 From: Kevin Lewi Date: Mon, 11 Jul 2022 19:17:29 -0400 Subject: [PATCH] Fixing voprf dependency pinning (#280) --- CHANGELOG.md | 5 +++++ Cargo.toml | 2 +- README.md | 2 +- src/lib.rs | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6fe8660..938c4a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 2.0.0-pre.3 (July 11, 2022) +* Synced implementation with draft-irtf-cfrg-opaque-10 +* Changed argon2 salt length to recommended value (16 bytes) +* Fixed issue from 2.0.0-pre.2 not pinning voprf dependency correctly + ## 2.0.0-pre.2 (April 22, 2022) * Synced implementation with draft-irtf-cfrg-opaque-08 diff --git a/Cargo.toml b/Cargo.toml index 358dc2b..917f816 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -46,7 +46,7 @@ serde_ = { version = "1", package = "serde", default-features = false, features "derive", ], optional = true } subtle = { version = "2.3", default-features = false } -voprf = { version = "0.4.0-pre.3", default-features = false, features = [ +voprf = { version = "=0.4.0-pre.3", default-features = false, features = [ "danger", ] } zeroize = { version = "1.5", features = ["zeroize_derive"] } diff --git a/README.md b/README.md index 876a25a..270c0e6 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ Resources --------- - [OPAQUE academic publication](https://eprint.iacr.org/2018/163.pdf), including formal definitions and a proof of security -- [draft-irtf-cfrg-opaque-08](https://datatracker.ietf.org/doc/draft-irtf-cfrg-opaque/08/), containing a detailed (byte-level) specification for OPAQUE +- [draft-irtf-cfrg-opaque-10](https://datatracker.ietf.org/doc/draft-irtf-cfrg-opaque/10/), containing a detailed (byte-level) specification for OPAQUE - ["Let's talk about PAKE"](https://blog.cryptographyengineering.com/2018/10/19/lets-talk-about-pake/), an introductory blog post written by Matthew Green that covers OPAQUE - [opaque-wasm](https://github.com/marucjmar/opaque-wasm), a WebAssembly package for this library diff --git a/src/lib.rs b/src/lib.rs index 32a68c0..004977d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -8,7 +8,7 @@ //! An implementation of the OPAQUE asymmetric password authentication key //! exchange protocol //! -//! Note: This implementation is in sync with [draft-irtf-cfrg-opaque-08](https://datatracker.ietf.org/doc/draft-irtf-cfrg-opaque/08/), +//! Note: This implementation is in sync with [draft-irtf-cfrg-opaque-10](https://datatracker.ietf.org/doc/draft-irtf-cfrg-opaque/10/), //! but this specification is subject to change, until the final version //! published by the IETF. //!