mirror of
https://github.com/element-hq/dendrite.git
synced 2025-09-14 05:12:26 +03:00
mas: revert cross_signing_keys.updatable_without_uia_before_ms field and related logic
This commit is contained in:
parent
453445695c
commit
0b4cf3badd
11 changed files with 41 additions and 212 deletions
|
@ -689,11 +689,6 @@ type ClientKeyAPI interface {
|
|||
QueryKeys(ctx context.Context, req *QueryKeysRequest, res *QueryKeysResponse)
|
||||
QueryMasterKeys(ctx context.Context, req *QueryMasterKeysRequest, res *QueryMasterKeysResponse)
|
||||
PerformUploadKeys(ctx context.Context, req *PerformUploadKeysRequest, res *PerformUploadKeysResponse) error
|
||||
PerformAllowingMasterCrossSigningKeyReplacementWithoutUIA(
|
||||
ctx context.Context,
|
||||
req *PerformAllowingMasterCrossSigningKeyReplacementWithoutUIARequest,
|
||||
res *PerformAllowingMasterCrossSigningKeyReplacementWithoutUIAResponse,
|
||||
) error
|
||||
|
||||
PerformUploadDeviceSignatures(ctx context.Context, req *PerformUploadDeviceSignaturesRequest, res *PerformUploadDeviceSignaturesResponse)
|
||||
// PerformClaimKeys claims one-time keys for use in pre-key messages
|
||||
|
@ -922,15 +917,6 @@ type PerformUploadDeviceKeysResponse struct {
|
|||
Error *KeyError
|
||||
}
|
||||
|
||||
type PerformAllowingMasterCrossSigningKeyReplacementWithoutUIARequest struct {
|
||||
UserID string
|
||||
Duration time.Duration
|
||||
}
|
||||
|
||||
type PerformAllowingMasterCrossSigningKeyReplacementWithoutUIAResponse struct {
|
||||
Timestamp int64
|
||||
}
|
||||
|
||||
type PerformUploadDeviceSignaturesRequest struct {
|
||||
Signatures map[string]map[gomatrixserverlib.KeyID]fclient.CrossSigningForKeyOrDevice
|
||||
// The user that uploaded the sig, should be populated by the clientapi.
|
||||
|
@ -968,7 +954,7 @@ type QueryMasterKeysRequest struct {
|
|||
}
|
||||
|
||||
type QueryMasterKeysResponse struct {
|
||||
Key *types.CrossSigningKey
|
||||
Key spec.Base64Bytes
|
||||
// Set if there was a fatal error processing this query
|
||||
Error *KeyError
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue