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

generate key from CLI #34

Open
Haniba3l opened this issue Jul 27, 2023 · 0 comments
Open

generate key from CLI #34

Haniba3l opened this issue Jul 27, 2023 · 0 comments

Comments

@Haniba3l
Copy link

Haniba3l commented Jul 27, 2023

am trying to generate a key from CLI when i run the command
java -jar JarHome/stargazer-keygen-1.0-SNAPSHOT-standalone.jar generate license.lic -verbose true -output -{"consumerAmount":1,"consumerType":"User","holder":"CN=Bank","issued":1690437913563,"notAfter":1722063600000,"issuer":"CN=Company","subject":"StarGazer 2020"}
-output
i get the line in red and a license with this standard values is created.

global.namespace.truelicense.v4.V4License@f1ce2f88[subject="StarGazer 2020", holder="CN=Unknown", issuer="CN=Company Inc.", issued=Thu Jul 27 09:05:14 EET 2023, notBefore=null, notAfter=null, consumerType="User", consumerAmount=1, info=null]

if i try to use this
-input global.namespace.....
i get an error..
java.nio.file.FileSystemException: global.namespace.truelicense.v4.V4License@752005ff[subject=StarGazer 2020,holder=CN=Christian Schlichtherle,issuer=CN=Company Inc.,issued=Sat May 23 18:55:08 CEST 2020,notBefore=Sat May 23 18:55:08 CEST 2020,notAfter=Sun May 23 18:55:08 CEST 2024,consumerType=User,consumerAmount=1,info=null]: File name too long

How can i use the V4 what is the code after the @?
Thank you

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

1 participant