-
Notifications
You must be signed in to change notification settings - Fork 299
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
Runtime exception with Mdanter ECC library #14
Comments
@kanishkdudeja yeah me too. Tried more than 15+ tokens and their corresponding keys etc didn't get a result. Then switched to google's node.js library and it worked. |
Yep, same here. I keep getting:
|
Hi, Please look at the other open issues before creating a new one. This is the same as #12 and should be resolved by #13, but you can fix this already by correctly using the regular base 64 encoding (MIME spec) instead of the URL-safe variant. |
Hi Minishlink, Fatal error: Uncaught exception 'RuntimeException' with message 'Curve curve(-3, 41058363725152142129326129780047268409114441015993725554835256314039467401291, 115792089210356248762697446949407573530086143415290314195533631308867097853951) does not contain point (3241839770838454464458762781498604280851602814305279715423694631606457933959, 5171447275398088959133285509003806382170852108135282320327383382674674072772)' in C:\xxxxxxxxx\vendor\mdanter\ecc\src\Primitives\Point.php on line 100 I am using you latest branch from git. Please find 2 endpoint, key and token below that is throwing error. ==============1st============ 'BHK tD4LOUcd3K5fmRhMeNiRy22MZrObmqVh1BYxssgh7bu94ayrgR0gP4Vf92HZk6r/sSUxcMY8ErMjws7i8xI=', '5536inU7PxmfxdshX2DnNQ==', ==============2nd============ 'BDtWy4HfhkfyXAJnP51PLsldXvRI8Gyj2OGDQbklvUCFBNBpyU/nJg0ytb4enzQc5DoLIGqllKeFLRpNDvvirgA=', 'F WPP1RQd/nfoDOss rEHQ==' |
Hi Spomky, |
Hello @akhilesh-kk2, can you try with v4 (or v3)? If the problem is still there please open a new issue (I totally forgot you commented on this one) |
Hello Minishlink,
|
I get this output:
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'Curve curve(-3, 41058363725152142129326129780047268409114441015993725554835256314039467401291, 115792089210356248762697446949407573530086143415290314195533631308867097853951) does not contain point (67038273347490662382185575485487379440402771158004031264493575046428765755, 116935489649439228016838975285237332447812780727018558127038228236318709568)' in /var/www/vendor/mdanter/ecc/src/Primitives/Point.php:100
Stack trace:
#0 /var/www/vendor/mdanter/ecc/src/Primitives/CurveFp.php(111): Mdanter\Ecc\Primitives\Point->__construct(Object(Mdanter\Ecc\Math\Gmp), Object(Mdanter\Ecc\Curves\NamedCurveFp), '670382733474906...', '116935489649439...', NULL)
#1 /var/www/vendor/mdanter/ecc/src/Serializer/Point/UncompressedPointSerializer.php(76): Mdanter\Ecc\Primitives\CurveFp->getPoint('670382733474906...', '116935489649439...')
#2 /var/www/vendor/minish in /var/www/vendor/mdanter/ecc/src/Primitives/Point.php on line 100
Not sure if this is an issue with this library or the ECC library.
The text was updated successfully, but these errors were encountered: