Page MenuHomePhabricator

[services][identity] helper function to finish pake registration
AbandonedPublic

Authored by varun on May 27 2022, 10:14 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 9, 6:21 PM
Unknown Object (File)
Thu, May 9, 6:20 PM
Unknown Object (File)
Thu, May 9, 6:20 PM
Unknown Object (File)
Thu, May 9, 6:20 PM
Unknown Object (File)
Tue, Apr 23, 7:42 PM
Unknown Object (File)
Tue, Apr 23, 7:42 PM
Unknown Object (File)
Tue, Apr 23, 7:39 PM
Unknown Object (File)
Tue, Apr 16, 2:28 PM

Details

Summary

New helper function to finish PAKE registration and put the registration data in DynamoDB

Depends on D4140

Test Plan

successfully stored PAKE registration data in DynamoDB

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

This revision is now accepted and ready to land.May 30 2022, 1:58 AM
This revision now requires review to proceed.May 30 2022, 2:11 AM
tomek added inline comments.
services/identity/src/service.rs
96

Why do we use String here instead of &str? I feel like using &str when we don't need to own or mutate string is more convenient in a function parameter, but maybe it isn't a good practice. @varun is there a good reason for using String here?

jim added inline comments.
services/identity/src/service.rs
107

nit: Just so you know since Error impls From<DatabaseError>, you don't need the explicit map_err. ? will do that for you.

This revision is now accepted and ready to land.Jun 3 2022, 8:16 AM