celo-monorepo icon indicating copy to clipboard operation
celo-monorepo copied to clipboard

[ODISv2] Bump @celo/poprf and fix poprf.test.ts

Open nategraf opened this issue 2 years ago • 0 comments

Description

This PR addresses the failing test in @celo/phone-number-privacy-common, poprf.test.ts. It makes a few changes:

  • Use a newly published version of @celo/poprf 0.1.9. This does not actually effect the results in the test, but contains an important change to the check that received elements of G_T are in the correct subgroup before operating on them.
  • Fix the usage of the wrong public key in the test that involves the combiner.
  • Update the final result values to reflect a change to the final hashing step.

nategraf avatar Aug 17 '22 00:08 nategraf