diff --git a/keyserver/internal/internal.go b/keyserver/internal/internal.go index 4466b635..90b0f949 100644 --- a/keyserver/internal/internal.go +++ b/keyserver/internal/internal.go @@ -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 {