clients will call this RPC with a user ID and get in response a map of session initialization info (public keys, social proof, etc.) it needs, keyed by the device's ed25119 signing public key.
adding @ashoat to OK the API design
Differential D6904
[identity] GetSessionInitializationInfo RPC varun on Feb 27 2023, 2:36 PM. Authored by Tags None Referenced Files
Details clients will call this RPC with a user ID and get in response a map of session initialization info (public keys, social proof, etc.) it needs, keyed by the device's ed25119 signing public key. adding @ashoat to OK the API design called this RPC from the keyserver and got back the test data i created in DDB. also tested the failure case with an invalid user ID and got back an exception in JS.
Diff Detail
Event Timeline
Comment Actions Yeah but it makes it much harder whenever we want to change it. Protobufs / gRPC don't handle versioning of schemas very well. @jon, do you have a good story on how we'll handle it if we need to add a new entry? In general we need to land this ASAP, so would prefer to prioritize finishing up the monthly goal over further discussion here. Maybe we can create a stub task and discuss there once everything is landed? |