Skip to content

Commit 0350430

Browse files
committed
[shared] bump opaque-ke to 2.1.0-pre.1
Summary: This version of opaque-ke uses the latest version of voprf. The previous version of opaque-ke was using an older version of voprf that no longer works with the latest version of Rust. Hence, in order to upgrade to the latest version of Rust, we need to first upgrade opaque-ke. As part of this upgrade, we need a wrapper for Argon2 that uses the default params from argon 0.4. Further explanation provided inline. Basically copied this code: drey7925/perovskite@2076604#diff-400eb1f04580ae4870aa9d4aae3210268771ed3a5237703cc070d87296830d38 This resolves: https://linear.app/comm/issue/ENG-9164/upgrade-opaque-ke-20 Next diff will bump our Rust version from 1.76 to 1.82 (latest stable version) Test Plan: 1. deployed custom identity image to staging with these changes 2. checked out master branch 3. successfully logged in to existing account on staging identity from native, web, keyserver 4. successfully registered and logged in to staging from native 5. switched back to feature branch 6. successfully logged in to existing account on staging identity from native, web, keyserver 7. successfully registered and logged in to staging from native Note that I ran `cleaninstall` after switching branches Reviewers: will, bartek Reviewed By: will, bartek Subscribers: tomek Differential Revision: https://phab.comm.dev/D13895
1 parent 8a334ca commit 0350430

File tree

6 files changed

+245
-174
lines changed

6 files changed

+245
-174
lines changed

Cargo.lock

Lines changed: 45 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ actix-web-httpauth = "0.8.0"
4343
aead = "0.5"
4444
aes-gcm = "0.10"
4545
anyhow = "1.0.74"
46-
argon2 = "0.4"
46+
argon2 = "0.5.3"
4747
async-stream = "0.3.2"
4848
aws-config = "1.5.4"
4949
aws-sdk-dynamodb = "1.39.1"
@@ -60,6 +60,7 @@ ed25519-dalek = "1"
6060
futures = "0.3.30"
6161
futures-core = "0.3"
6262
futures-util = "0.3.28"
63+
generic-array = "0.14.7"
6364
hex = "0.4.3"
6465
http = "0.2.9"
6566
hyper = "0.14"
@@ -75,7 +76,7 @@ num-derive = "0.4"
7576
num-traits = "0.2"
7677
num_cpus = "1.13.1"
7778
once_cell = "1.17"
78-
opaque-ke = "2.0"
79+
opaque-ke = "2.1.0-pre.1"
7980
postmark = "0.8"
8081
prost = "0.11"
8182
regex = "1.10.3"

0 commit comments

Comments
 (0)