Skip to content

Password keys 1 and 2 are the same #2

Closed
@Sc00bz

Description

@Sc00bz

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions