Depends on D12146
We'll need this method to get a nonce that can be signed and sent as part of the SecondaryDeviceKeysUploadRequest
Paths
| Differential D12151 Authored by varun on May 21 2024, 8:05 AM.
Details
Summary Depends on D12146 We'll need this method to get a nonce that can be signed and sent as part of the SecondaryDeviceKeysUploadRequest Test Plan called generateNonce from keyserver.js and got back a nonce
Diff Detail
Event TimelineHerald added subscribers: tomek, ashoat. · View Herald TranscriptMay 21 2024, 8:05 AM2024-05-21 08:05:49 (UTC-7) Harbormaster completed remote builds in B29114: Diff 40481.May 21 2024, 8:54 AM2024-05-21 08:54:56 (UTC-7) This revision is now accepted and ready to land.May 21 2024, 1:00 PM2024-05-21 13:00:41 (UTC-7) Closed by commit rCOMMdeb9bb36d19d: [rust-node-addon] generate_nonce client method (authored by varun). · Explain WhyMay 24 2024, 9:31 AM2024-05-24 09:31:35 (UTC-7) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 40481 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/nonce.rs
|
I thought putting an invariant here was a reasonable trade-off vs. refactoring the types in the fullStateSyncActionType payload (specifically StateSyncFullActionPayload which is derived from ClientFullStateSync which is derived from BaseFullStateSync) which are used across clients and keyserver.
Open to re-exploring if that would be preferred.