Page MenuHomePhabricator

[keyserver] add addReservedUsername method to rust-node-addon
ClosedPublic

Authored by varun on Jun 13 2023, 10:15 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 24, 8:43 AM
Unknown Object (File)
Wed, Apr 24, 8:43 AM
Unknown Object (File)
Wed, Apr 24, 8:43 AM
Unknown Object (File)
Wed, Apr 24, 8:43 AM
Unknown Object (File)
Wed, Apr 24, 8:43 AM
Unknown Object (File)
Wed, Apr 24, 8:41 AM
Unknown Object (File)
Mar 3 2024, 9:55 PM
Unknown Object (File)
Mar 3 2024, 9:55 PM
Subscribers

Details

Summary

Added an identity client method to call the addReservedUsername RPC.
We will need to call this when a new account is registered on Ashoat's keyserver
via the old registration workflow to keep the Identity service aware of which
usernames should be reserved.

Depends on D8134

Test Plan

called this client method from keyserver.js with a signed message (signed by a hardcoded ed25519 key) and new username and saw that the DDB table was updated

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Jun 14 2023, 7:40 AM

rebase (properly, this time)