license key validation - encryption/decryption

Irmen de Jong usenet at NOSPAM-irmen.cjb.net
Tue Dec 4 16:48:05 EST 2001


> How do i validate it at the customer site that the
> "key" installed is valid?

You're looking for a secure hash of your license file,
to protect the contents of the file from tampering.
The sha module can do this for you.

Now somehow you need to encode information about that
unique customer into your license, so that another customer
cannot also use that license file.

Perhaps some sort of public-private key scheme would work?
It's quite a task to create a Python application that can't be tricked
(hacked)
to think that the license is valid for *all* features.


Irmen de Jong






More information about the Python-list mailing list