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)
Sat, Oct 26, 4:49 AM
Unknown Object (File)
Fri, Oct 11, 12:56 PM
Unknown Object (File)
Fri, Oct 11, 12:56 PM
Unknown Object (File)
Fri, Oct 11, 12:56 PM
Unknown Object (File)
Fri, Oct 11, 12:56 PM
Unknown Object (File)
Fri, Oct 11, 12:55 PM
Unknown Object (File)
Fri, Oct 11, 12:53 PM
Unknown Object (File)
Thu, Oct 10, 7:57 AM
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
No Lint Coverage
Unit
No Test Coverage

Event Timeline

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

rebase (properly, this time)