Go Back   Velocity Reviews > Newsgroups > Java
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

Java - Need Licence Key Generator (For Java Product)

 
Thread Tools Search this Thread
Old 03-12-2005, 02:58 AM   #1
Default Need Licence Key Generator (For Java Product)


Dear all,

Can anyone suggest some of the state of the art, best tools for license key
generator?

We are releasing a product, so that we would like to generate license keys,
for evaluation, permanent, high availability etc, thanks

Open source also welcome, prefer proven tools,

Please advise, thanks

Regards,
Ravi




Ravi Shankar
  Reply With Quote
Old 03-14-2005, 07:53 AM   #2
=?UTF-8?b?TMSByrtpZSBUZWNoaWU=?=
 
Posts: n/a
Default Re: Need Licence Key Generator (For Java Product)
On Sat, 12 Mar 2005 10:58:17 +0800, Ravi Shankar wrote:

> Dear all,
>
> Can anyone suggest some of the state of the art, best tools for license
> key generator?
>
> We are releasing a product, so that we would like to generate license
> keys, for evaluation, permanent, high availability etc, thanks
>
> Open source also welcome, prefer proven tools,
>
> Please advise, thanks
>
> Regards,
> Ravi


To generate:

Generate a random Initializing Vector (iv).
Serialize your license data (data).
Calculate a hash of iv + data.
return base64_encode( iv + Encrypt (data + hash) )

To verify:

blob = base64_decrypt( input )
remove the iv from the front of blob
decrypt the rest of blob (leaving only license data).
remove hash from the end
calculate the correct hash of iv + data.
If the real hash doesn't match the hash sent in, it's not a valid license.
deserialize the license data and verify it to your heart's desire.

HTH,
La'ie Techie



=?UTF-8?b?TMSByrtpZSBUZWNoaWU=?=
  Reply With Quote
Old 03-14-2005, 02:35 PM   #3
M van Leeuwen
 
Posts: n/a
Default Re: Need Licence Key Generator (For Java Product)
"Decompile the invoking class, remove the verification, compile
the new class and add it back to the jar."

Unless you have some method of _inline_ code in a lot of methods
to do a complex validation of a string from the license data,
use a tool that does something more.

You could try for example



http://freshmeat.net/projects/licensemanager

http://www.agilis-sw.com/ezlm/



But mostly the entrypoint to the licensemanager is vunerable.

With decompilers you can remove those calls from the software.

Obfuscators make it a lot harder, but not impossible.



I haven't seen any products inserting bytecode to prevent this

weakness. Please inform me if you do (pryxan at yahoo).
I also like to have any code which does not decompile or
decompiles to unreadable and unusable code.


Regards,
Michael.

=?UTF-8?b?TMSByrtpZSBUZWNoaWU=?=
<laie@win_remove_get_nospam_solutions.com> wrote in
news:1110786817.11fe281a25ddc1e437c2f7ae5af6ede6@t eranews:

> On Sat, 12 Mar 2005 10:58:17 +0800, Ravi Shankar wrote:
>
>> Dear all,
>>
>> Can anyone suggest some of the state of the art, best tools for
>> license key generator?
>>
>> We are releasing a product, so that we would like to generate license
>> keys, for evaluation, permanent, high availability etc, thanks
>>
>> Open source also welcome, prefer proven tools,
>>
>> Please advise, thanks
>>
>> Regards,
>> Ravi

>
> To generate:
>
> Generate a random Initializing Vector (iv).
> Serialize your license data (data).
> Calculate a hash of iv + data.
> return base64_encode( iv + Encrypt (data + hash) )
>
> To verify:
>
> blob = base64_decrypt( input )
> remove the iv from the front of blob
> decrypt the rest of blob (leaving only license data).
> remove hash from the end
> calculate the correct hash of iv + data.
> If the real hash doesn't match the hash sent in, it's not a valid
> license. deserialize the license data and verify it to your heart's
> desire.
>
> HTH,
> La'ie Techie
>
>




M van Leeuwen
  Reply With Quote
Old 03-14-2005, 05:01 PM   #4
Jesper Nordenberg
 
Posts: n/a
Default Re: Need Licence Key Generator (For Java Product)
L??ie Techie <laie@win_remove_get_nospam_solutions.com> wrote in message news:<1110786817.11fe281a25ddc1e437c2f7ae5af6ede6@ teranews>...
> To generate:
>
> Generate a random Initializing Vector (iv).
> Serialize your license data (data).
> Calculate a hash of iv + data.
> return base64_encode( iv + Encrypt (data + hash) )
>
> To verify:
>
> blob = base64_decrypt( input )
> remove the iv from the front of blob
> decrypt the rest of blob (leaving only license data).
> remove hash from the end
> calculate the correct hash of iv + data.
> If the real hash doesn't match the hash sent in, it's not a valid license.
> deserialize the license data and verify it to your heart's desire.


Note that if a symmetric cipher is used this would be a very bad
license algorithm as the key must be included in the licensed software
and could thus easily be used to create valid licenses (no
modifications to the software would be required). An asymmetric cipher
like RSA where the private key is kept secret would be a better
option. However, it's still very easy to modify the software to accept
any license key as valid.

/Jesper Nordenberg


Jesper Nordenberg
  Reply With Quote
Old 03-16-2005, 02:05 PM   #5
Ravi Shankar
 
Posts: n/a
Default Re: Need Licence Key Generator (For Java Product)
Hi all,

Thanks for all suggestions and valuable advises. Will try RSA with a private
key, thanks

Regards,
ravi
"Ravi Shankar" <> wrote in message
news:d0tlsa$gkg$...
> Dear all,
>
> Can anyone suggest some of the state of the art, best tools for license
> key generator?
>
> We are releasing a product, so that we would like to generate license
> keys, for evaluation, permanent, high availability etc, thanks
>
> Open source also welcome, prefer proven tools,
>
> Please advise, thanks
>
> Regards,
> Ravi
>





Ravi Shankar
  Reply With Quote
Old 09-16-2007, 09:45 AM   #6
pould
Junior Member
 
Join Date: Sep 2006
Posts: 3
Default
An alternative to those products mentioned is LM-X License Manager.

We've used it for a while now and it's really good.

See LM-X License Manager.
http://www.x-formation.com

Good luck.

Poul


pould
pould is offline   Reply With Quote
Old 01-30-2010, 10:49 PM   #7
Eugen Kocak
Junior Member
 
Join Date: Jan 2010
Posts: 1
Default
Another alternative is BeeSoft Abeona at beesoft.eu/products/abeona.

It is license generator for java. License is not simple key, but standard properties file protected by MD5 checksum and RSA cryptography.

But you will need more programming to customize this library for your needs.

Maybe you find it useful.

Eugen


Eugen Kocak
Eugen Kocak is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Obtain a XP product key with a Vista license Kirby Timm MCITP 2 09-26-2008 06:00 PM
product key xp home edition dcc General Help Related Topics 0 02-06-2008 09:53 AM
Product Key? Charlotte MCITP 2 04-23-2007 03:20 PM
Home Theater Profile Exchange - April 15 2005 David Troxell - Encourager Software DVD Video 0 04-16-2005 06:18 PM
assuming that the COA Product Code for my Windows XP Professional (Academic Ver) is unique AND I have the CD.... noobie win2k A+ Certification 0 12-31-2003 08:00 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46