HomePhabricator
Diffusion Comm 32518a2bb167

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

Description

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

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

Reviewers: jon, bartek

Reviewed By: jon, bartek

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D8201

Details

Provenance
varunAuthored on Jun 13 2023, 10:04 PM
Reviewer
jon
Differential Revision
D8201: [keyserver] add addReservedUsername method to rust-node-addon
Parents
rCOMM2dc4fbfd5898: [identity] implement addReservedUsername and removeReservedUsername RPCs
Branches
Unknown
Tags
Unknown