This commit is contained in:
Neil Alexander 2021-07-28 16:07:39 +01:00
parent 525c9e054f
commit 351ac51691
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -429,6 +429,7 @@ func (a *KeyInternalAPI) crossSigningKeys(
for userID := range req.UserToDevices {
keys, err := a.DB.CrossSigningKeysForUser(ctx, userID)
if err != nil {
logrus.WithError(err).Errorf("Failed to get cross-signing keys for user %q", userID)
return fmt.Errorf("a.DB.CrossSigningKeysForUser (%q): %w", userID, err)
}
@ -444,6 +445,8 @@ func (a *KeyInternalAPI) crossSigningKeys(
},
}
logrus.WithField("key", key).Info("Cross-signing key")
// TODO: populate signatures
switch keyType {