Page MenuHomePhabricator

[Identity] DatabaseClient method to put pake registration data
ClosedPublic

Authored by varun on May 6 2022, 12:51 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 13, 11:41 AM
Unknown Object (File)
Tue, Nov 5, 7:19 PM
Unknown Object (File)
Oct 27 2024, 6:05 PM
Unknown Object (File)
Oct 27 2024, 6:05 PM
Unknown Object (File)
Oct 27 2024, 6:05 PM
Unknown Object (File)
Oct 20 2024, 9:04 PM
Unknown Object (File)
Oct 20 2024, 6:39 PM
Unknown Object (File)
Oct 13 2024, 8:12 PM

Details

Summary

The client will use this method to put PAKE registration data in our DynamoDB table. We serialize the ServerRegistration object and store it as bytes.

Depends on D3959

Test Plan

Successfully put an item in the PAKE registration table in DynamoDB

Diff Detail

Repository
rCOMM Comm
Branch
varun/identity_service (branched from master)
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

varun requested review of this revision.May 6 2022, 12:55 PM

Remove unnecessary clone

As in other diffs: wondering if we can avoid boilerplate?

This revision is now accepted and ready to land.May 9 2022, 4:38 AM

I'm not sure why this is in an "accepted" state. I hope it cannot be landed... After I accept, rust diffs should not be accepted, I know rust far too little to be decisive. Adding Jim as blocking.

This revision now requires review to proceed.May 9 2022, 4:54 AM
This revision is now accepted and ready to land.May 9 2022, 10:16 AM
In D3960#110942, @karol-bisztyga wrote:

As in other diffs: wondering if we can avoid boilerplate?

I will move the Strings to a consts module as discussed on another diff, but the code here is unavoidable. We remove some of the boilerplate code by using the Default trait.

I will move the Strings to a consts module as discussed on another diff

Great! Is there a task for this?

In D3960#117475, @karol-bisztyga wrote:

I will move the Strings to a consts module as discussed on another diff

Great! Is there a task for this?

just created one :-) https://linear.app/comm/issue/ENG-1225/create-a-consts-module