use Friendica\Core\Config;
use Friendica\Database\DBA;
-use Friendica\Database\DBM;
/**
* @brief Implements HTTP Signatures per draft-cavage-http-signatures-07.
$key = $key($sig_block['keyId']);
}
+ logger('Got keyID ' . $sig_block['keyId']);
+
// We don't use Activity Pub at the moment.
// if (!$key) {
// $result['signer'] = $sig_block['keyId'];
$contact = DBA::selectFirst('contact', ['pubkey'], ['id' => $id, 'network' => 'activitypub']);
}
- if (DBM::is_result($contact)) {
+ if (DBA::isResult($contact)) {
return $contact['pubkey'];
}