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

Fix Unittests for PSS token generation #8

Open
Thalhammer opened this issue Oct 7, 2018 · 0 comments
Open

Fix Unittests for PSS token generation #8

Thalhammer opened this issue Oct 7, 2018 · 0 comments

Comments

@Thalhammer
Copy link
Owner

PSS adds salt to the generated signature, so simply signing a known token and check for a specific result (as done in all other test cases) is not possible. We need to find a way to check if a given signature is in the expected format. Ideally, we could somehow force OpenSSL to always use the same salt.

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

1 participant