You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
MAS wants a hook so that it can be responsible for doing the user-interactive auth before the client uploads a new master signing key.
MAS is going to use the special shared secret token here to drive this. We don't intend for this endpoint to be used by server operators. In fact it might make sense to implement it under /_synapse/... outside of /_synapse/admin.
Proposed impl:
add a nullable timestamp column updateable_without_uia_before (default NULL) to e2e_cross_signing_keys.
when we look for cross-signing keys for a given user with a given type, we select the newest such key. See here.
Change this function to also select the new timestamp column for that key and pass it back up the call chain. (Timestamps for prior signing keys are ignored.)
MAS wants a hook so that it can be responsible for doing the user-interactive auth before the client uploads a new master signing key.
MAS is going to use the special shared secret token here to drive this. We don't intend for this endpoint to be used by server operators. In fact it might make sense to implement it under
/_synapse/...
outside of/_synapse/admin
.Proposed impl:
updateable_without_uia_before
(default NULL) toe2e_cross_signing_keys
.synapse/synapse/rest/client/keys.py
Lines 379 to 410 in 249f4a3
@sandhose can you sanity check that the logic (particularly the last bullet) is as desired?
The text was updated successfully, but these errors were encountered: