Skip to content
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

Verification of TimeStamp tokens uses time from token itself #50

Open
GoogleCodeExporter opened this issue Aug 6, 2015 · 2 comments
Open

Comments

@GoogleCodeExporter
Copy link

DefaultTimeStampVerificationProvider, verifyToken method uses time from the 
token itself to validate if the signature in it is valid.

So we're using not validated data in validation. That's incorrect.
The time should be either *now* or time from some validated time stamp higher 
in XAdES hierarchy.

What version of the product are you using? On what operating system?
1.3.0

Patch that fixes the issue is attached (it's a bit hackish though). Depends on 
patch from issue 49.

Original issue reported on code.google.com by [email protected] on 4 Oct 2012 at 3:06

Attachments:

@GoogleCodeExporter
Copy link
Author

I don't know how I looked at the tests with previous patch, this is the correct 
one

Original comment by [email protected] on 4 Oct 2012 at 3:35

Attachments:

@GoogleCodeExporter
Copy link
Author

Original comment by luis.fgoncalv on 11 Oct 2012 at 9:17

  • Changed state: Accepted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants