We've passed the deadline for allowing unsigned zot finger tokens. It is now a protocol requirement.

This commit is contained in:
zotlabs 2017-02-24 13:53:49 -08:00
parent 732dfa63c7
commit 8d0d2015d7
3 changed files with 3790 additions and 3790 deletions

View File

@ -123,9 +123,7 @@ class Finger {
}
else {
logger('No signed token from ' . $url . $rhs, LOGGER_NORMAL, LOG_WARNING);
// after 2017-01-01 this will be a hard error unless you over-ride it.
if((time() > 1483228800) && (! get_config('system', 'allow_unsigned_zotfinger')))
return $ret;
return $ret;
}
}

View File

@ -334,10 +334,7 @@ function zot_refresh($them, $channel = null, $force = false) {
}
else {
logger('No signed token from ' . $url . $rhs, LOGGER_NORMAL, LOG_WARNING);
// after 2017-01-01 this will be a hard error unless you over-ride it.
if((time() > 1483228800) && (! get_config('system','allow_unsigned_zotfinger'))) {
return false;
}
return false;
}
$x = import_xchan($j, (($force) ? UPDATE_FLAGS_FORCED : UPDATE_FLAGS_UPDATED));

File diff suppressed because it is too large Load Diff