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

Can't activate licenses with special characters #47

Open
purriexyz opened this issue Sep 11, 2024 · 5 comments
Open

Can't activate licenses with special characters #47

purriexyz opened this issue Sep 11, 2024 · 5 comments

Comments

@purriexyz
Copy link

Hi,

I've imported some older license keys I created before. But upon activation these fails with notification of "No route was found matching the URL and request method."

If I try directly with the web browser it just gives a 404 error.

Keys without special chars seem to work just fine. For instance key that does not work: c$CNBmRp%6@qgM7FynD#

@gdarko
Copy link
Owner

gdarko commented Sep 18, 2024

Hey @purriexyz - Are you using the API for this? If so i think i have an easy solution for you. Let me know.

@purriexyz
Copy link
Author

Hey @gdarko

Yes I am using the API to activate the license. I tried via a direct call to the API via CuRL but the DLM-PHP class didn't work either.

@gdarko
Copy link
Owner

gdarko commented Sep 20, 2024

Hey @purriexyz -

Sometime ago we introduced a way to pass "Complex" license keys (like in your keys)

https://docs.codeverve.com/digital-license-manager/rest-api/complex-licenses/

All you need is to hash your key using the Digital License Manager secret keys and pass the license as hashed-**the-hash**

Best Regards,
Darko

@purriexyz
Copy link
Author

Thanks that indeed works. However if you enter a wrong license key it will give the error (probably not the exact error) that license key hashed-xxxxxxx has not been found.

Is it maybe possible to return the unhashed key in that error?

@gdarko
Copy link
Owner

gdarko commented Sep 24, 2024

Hey @purriexyz - The message has been updated to generic one that doesn't include the hashed- part as of 1.7.0.

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

No branches or pull requests

2 participants