Page MenuHomePhabricator

[native] helper functions for PAKE login workflow
ClosedPublic

Authored by varun on Aug 22 2022, 9:10 PM.
Tags
None
Referenced Files
F3610695: D4906.id15872.diff
Wed, Jan 1, 12:24 AM
F3610694: D4906.id15846.diff
Wed, Jan 1, 12:24 AM
F3610677: D4906.id.diff
Wed, Jan 1, 12:24 AM
F3610658: D4906.diff
Wed, Jan 1, 12:20 AM
Unknown Object (File)
Tue, Dec 31, 9:13 AM
Unknown Object (File)
Nov 8 2024, 8:57 PM
Unknown Object (File)
Nov 8 2024, 8:57 PM
Unknown Object (File)
Nov 8 2024, 8:56 PM
Subscribers

Details

Summary

Helper functions that handle the PAKE login workflow.

Admittedly, there's some code from the RegisterUser workflow repeated here. Because the gRPC message is slightly different (RegistrationResponse vs LoginResponse), it's hard to handle both response types in a single function without a lot of match statements and nesting. I'll create a task to make this more DRY.

Depends on D4905

Test Plan

cargo build, tested later in login_user method

Diff Detail

Repository
rCOMM Comm
Branch
grpc-client (branched from master)
Lint
No Lint Coverage
Unit
No Test Coverage