Commit d350a20e authored by mmn's avatar mmn

Less verbose debugging (also don't log private keys)

Magicsig private keys were logged. That's probably not a good thing.
MagicEnvelope full XML entries no longer spam the log either.
parent aaef1107
......@@ -224,8 +224,6 @@ class Magicsig extends Managed_DataObject
*/
public function loadKey($mod, $exp, $type = 'public')
{
common_log(LOG_DEBUG, "Adding ".$type." key: (".$mod .', '. $exp .")");
$rsa = new Crypt_RSA();
$rsa->setSignatureMode(CRYPT_RSA_SIGNATURE_PKCS1);
$rsa->setHash($this->getHash());
......
......@@ -188,7 +188,6 @@ class MagicEnvelope
$xs->elementEnd('me:env');
$string = $xs->getString();
common_debug('MagicEnvelope XML: ' . $string);
return $string;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment