Added an identity client method to call the removeReservedUsername RPC.
We will need to call this when an account is deleted on Ashoat's keyserver to keep the Identity service aware of which usernames should be reserved.
Depends on D8201
Paths
| Differential D8202 Authored by varun on Jun 13 2023, 10:16 PM.
Details Summary Added an identity client method to call the removeReservedUsername RPC. Depends on D8201 Test Plan called this client method from keyserver.js with a signed message (signed by a hardcoded ed25519 key) and an existing reserved username and saw that the DDB table was updated
Diff Detail
Event TimelineHerald added subscribers: tomek, ashoat. · View Herald TranscriptJun 13 2023, 10:16 PM2023-06-13 22:16:57 (UTC-7) Harbormaster completed remote builds in B20232: Diff 27712.Jun 13 2023, 10:33 PM2023-06-13 22:33:52 (UTC-7) • jon added inline comments.
This revision is now accepted and ready to land.Jun 14 2023, 7:40 AM2023-06-14 07:40:24 (UTC-7) Harbormaster failed remote builds in B20299: Diff 27822!Jun 16 2023, 12:49 AM2023-06-16 00:49:33 (UTC-7) Harbormaster completed remote builds in B20301: Diff 27824.Jun 16 2023, 1:29 AM2023-06-16 01:29:44 (UTC-7) Closed by commit rCOMMa56b59339f70: [keyserver] add removeReservedUsername method to rust-node-addon (authored by varun). · Explain WhyJun 22 2023, 1:30 PM2023-06-22 13:30:54 (UTC-7) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 27824 keyserver/addons/rust-node-addon/rust-binding-types.js
keyserver/addons/rust-node-addon/src/identity_client/mod.rs
keyserver/addons/rust-node-addon/src/identity_client/remove_reserved_username.rs
|