HomePhabricator
Diffusion Comm 0350430166db

[shared] bump opaque-ke to 2.1.0-pre.1

Description

[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: https://github.com/drey7925/perovskite/commit/2076604cb44ba9c103eb0208efa7449cfb34bb73#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

Details

Provenance
varunAuthored on Nov 7 2024, 11:50 AM
Reviewer
will
Differential Revision
D13895: [shared] bump opaque-ke to 2.1.0-pre.1
Parents
rCOMM8a334ca7bcda: [lib] Avoid creation new ChatThreadItem unnecessarily in…
Branches
Unknown
Tags
Unknown