More debugging in Magicsig class verify method
This commit is contained in:
parent
2ce1b77314
commit
960baae1d1
@ -198,6 +198,7 @@ class Magicsig extends Managed_DataObject
|
||||
|
||||
// parse components
|
||||
if (!preg_match('/RSA\.([^\.]+)\.([^\.]+)(.([^\.]+))?/', $text, $matches)) {
|
||||
common_debug('Magicsig error: RSA key not found in provided string.');
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -214,6 +215,8 @@ class Magicsig extends Managed_DataObject
|
||||
$magic_sig->loadKey($mod, $private_exp, 'private');
|
||||
}
|
||||
|
||||
common_debug('Magicsig success: Public exponent from provided string: '.var_export($mod,true));
|
||||
|
||||
return $magic_sig;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user