OAEP padding mismatch on some newer encryption methods

This commit is contained in:
zotlabs
2018-02-19 15:44:18 -08:00
parent a310cb2fbb
commit b6b4827680
2 changed files with 7 additions and 9 deletions

View File

@@ -1235,8 +1235,6 @@ function zot_fetch($arr) {
*/
function zot_import($arr, $sender_url) {
logger('arr: ' . print_r($arr,true));
$data = json_decode($arr['body'], true);
if(! $data) {
@@ -5080,7 +5078,6 @@ function zot6_check_sig() {
if($r) {
foreach($r as $hubloc) {
$verified = \Zotlabs\Web\HTTPSig::verify('',$hubloc['xchan_pubkey']);
logger('verified: ' . print_r($verified,true));
if($verified && $verified['header_signed'] && $verified['header_valid'] && $verified['content_signed'] && $verified['content_valid']) {
$ret['hubloc'] = $hubloc;
$ret['success'] = true;