-
Notifications
You must be signed in to change notification settings - Fork 64
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 MAC with i386 #72
Comments
I'm worried this might be a Curve25519 bug, which is the slowest thing to test on 32-bit. |
Can you let me know if https://github.com/paragonie/sodium_compat/releases/tag/v1.6.4 fixed the issue for you? |
Still having the invalid MAC error in FileTest::testSeal, but the FileTest::testBox is now passed successfully
|
After installing a VM on a 64 bits intel computer, I confirm that tests are passed successfully for this architecture. But I have the same 'Invalid MAC' error as described in my initial post with my Paseto attempt, therefore in addition to this bug report, I guess I must have something wrong in my paseto related code. |
It wouldn't be. PASETO doesn't touch the File API at all. |
Ok, I confirm that the PASETO issue was unrelated to any sodium_compat bug. It is now fixed. Anyway, I keep this bug opened since the FileTest::testSeal error is still pending. Maybe someone else could try to reproduce the bug, so that an isolated device specific issue can be ruled out. |
This fixes the unit tests on my Windows machine: c9ef28e |
This is fixed in |
Not here (debian testing 64bit hosting an LXC guest running debian stretch 32bit)
|
Okay, I'm not able to reproduce this in v1.6.5 on my setup. I'll look into setting up a congruent system so I can study it further. |
Since you were not able to reproduce it, I cloned the repository from scratch and ran the tests again, with a fully successfull output this time. |
For specific reasons , I have to work with an i386 computer running debian testing without iibsodium installed.
While giving a try to Paseto, I was hit with an "Invalid MAC" error when parsing the token, which lead me to #38.
After running the phpunit tests on current master HEAD, here is the final output:
I know that i386 targets are not high priority, but would it be possible for someone to have a look at these tests. Hopefully, it may result in a quick and easy fix.
thanks
The text was updated successfully, but these errors were encountered: