-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid signatures #4
Comments
I guess we should never store a signature without a valid/empty signature hash? Now it seems that may happen. For the scanning itself, don't know how risky this change is or if this is enough to handle faulty signatures (functions.php/row 3141):
Then VN[1] will be returned but as empty value, which means VN[2] will not wrongly be used as signature hash. That along with following change (functions.php/row 2534):
|
Added some additional logging to missing and empty signatures during scan, which brought up the total invalid signatures:
~80 empty signatures found |
I've made a few minor changes to the SigTool since the time that this issue was first created, since we'd last discussed it. If you get a spare moment, would you be able to test it out again, to let me know whether these invalid signatures still persist in signature files freshly generated by SigTool as of the current latest commit? Cheers. :-) It appears to be okay now at my end, but I'd be more confident about the problem being actually solved if it could be confirmed by way of a second opinion (after which, I could close this off, or.. if the invalid signatures still persist, I could try to explore some new avenues of testing and so on). |
Marking as fixed and closing. |
Hi,
(I move conversation over here as it is mostly just related to SigTool process now).
That last change in SigTool somehow made it worse I think. Now every file is flagged for something. var dump on $VN shows for example:
With index 1 being just "2005" sure enough it will flag almost any file. I'm sure that is not correct signature?
Not many faulty signatures now (have not checked how many is bypassed due to !isset($VN[1])):
The text was updated successfully, but these errors were encountered: