mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 14:25:53 +01:00
Require cross signing keys to be present to verify another device
This commit is contained in:
parent
99ff0c0964
commit
a10f32470b
1 changed files with 5 additions and 0 deletions
|
|
@ -607,6 +607,11 @@ func (vh *VerificationHelper) onVerificationRequest(ctx context.Context, evt *ev
|
|||
return
|
||||
}
|
||||
|
||||
if vh.mach.CrossSigningKeys == nil {
|
||||
log.Warn().Msg("Ignoring verification request as we don't have cross signing keys")
|
||||
return
|
||||
}
|
||||
|
||||
log = log.With().
|
||||
Any("requested_methods", verificationRequest.Methods).
|
||||
Stringer("transaction_id", verificationRequest.TransactionID).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue