Closed
Description
self.pw and self.pw_scalar are the "same". They need to be cryptographically different and not dependent on the other:
self.pw_scalar = params.group.password_to_scalar(hkdf(pw, "pw1"))
self.pw = hkdf(pw, "pw2")
This is especially true for the client-server augmentation of SPAKE2, PAKE2+.
self.pw_scalar = params.group.password_to_scalar(hkdf(pw, "pw1"))
self.pw = hkdf(pw, "pw2")
self.pw3 = params.group.password_to_scalar(hkdf(pw, "pw3"))
Metadata
Metadata
Assignees
Labels
No labels