remove ed25519 key to see if this is responsible for the Mastodon federation issue

This commit is contained in:
Mike Macgirvin 2023-12-07 08:48:02 +11:00
parent 859ccaf3d4
commit 12506ed2e0

View file

@ -1709,12 +1709,12 @@ class Activity
'publicKeyPem' => $p['xchan_pubkey']
];
$ret['assertionMethod'] = [
'id' => $current_url . '?operation=ed25519key',
'type' => 'Multikey',
'controller' => $current_url,
'publicKeyMultibase' => (new Multibase())->publicKey($c['channel_epubkey'])
];
// $ret['assertionMethod'] = [
// 'id' => $current_url . '?operation=ed25519key',
// 'type' => 'Multikey',
// 'controller' => $current_url,
// 'publicKeyMultibase' => (new Multibase())->publicKey($c['channel_epubkey'])
// ];
$ret['manuallyApprovesFollowers'] = !$auto_follow;
if ($ret['type'] === 'Group') {