cfrg / draft-irtf-cfrg-opaque

The OPAQUE Asymmetric PAKE Protocol
https://cfrg.github.io/draft-irtf-cfrg-opaque/draft-irtf-cfrg-opaque.html
Other
100 stars 20 forks source link

Return client pk in Recovery functions #405

Closed bytemare closed 1 year ago

bytemare commented 1 year ago

Closes #384.

bytemare commented 1 year ago

At this point I'm wondering whether we should not simply bubble up the cleartext_creds from Recover() up to ClientFinish() and feed it to AuthClientFinalize() to avoid input arguments comments like

the optional encoded xyyz identity, which is set to xyz_public_key if not specified.

chris-wood commented 1 year ago

At this point I'm wondering whether we should not simply bubble up the cleartext_creds from Recover() up to ClientFinish() and feed it to AuthClientFinalize() to avoid input arguments comments like

Maybe! Would you be willing to draft a change so we can see what this looks like?

bytemare commented 1 year ago

@chris-wood here's what it looks like with cleartext_credentials. It's cleaner, I think

Regarding the implementation, I think we should adapt, yes

bytemare commented 1 year ago

@caw done :)