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.
This commit is contained in:
parent
aaef11077d
commit
d350a20e1f
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user