-
Notifications
You must be signed in to change notification settings - Fork 1
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
Question/Enhancement: License format #3
Comments
Licenses are really meant to be used only for the Grav marketplace that we are building. We will offer ways to be part of the marketplace so that we can keep one store consistent and available to all. |
That's really bad. But from the point I really find it necessary to allow private repositories in some way. For me it is easy. I almost have a running GPM plugin, that provides the same information than the official ones (I mean https://getgrav.org/downloads/plugins.json ). Writing a client program, that allows to add "third party" repositories is also not the problem. I did that once, but I haven't considered a PR because I know how valuable the marketplace is for the Grav Team. My question do not refers how we can generate our own valid licenses, it refers to the possibility to verify licenses on the client side (not actual verifying, but at least a check that it isn't misspelled). The same goes for a possible expiration date. Those are data that are really uncritical, but are of any help for the user. |
There are no specifications that I know of or that are made public for the License, except that the service we use is using that format. They generate the keys and they associate them. As you noticed in the GPM Licenses class, we just add a bare minimum amount of checks to ensure that the key matches the standards we figured out ( The expiration date is also something we don't have beforehand, the remote verification takes care of checking that. |
Hi @w00fz , thanks for the info. I really thought there was some deeper insight in those License Keys. However, if there is no common scheme/ format, then I do not have to care about. Thanks for all! |
Dear all,
from the Grav commits for Licenses.php I can see that licenses are of the format
XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX
, whereX
represents a hexadecimal value. Up to all this allows to store anything with 16 Bytes information.And here come my questions: Does a license key format exists, i.e., a specification paper what is stored? Does the key contains checksum values (in order to quickly check that the key must be wrong)? And does the key contains some expiration date info (i.e, for trial keys)?
I ask because having a checksum stored with the key is a user-experience enhancement as well as the information what kind of key (expiration date) one has. I also ask because I'll setup a private GPM repository and really want to integrate it as best as I can.
The text was updated successfully, but these errors were encountered: