The Poker Copilot Blog

Tracking the development of Poker Copilot, Mac OS X software for poker analysis and statistics.

Tuesday, 24 June 2008

Day 24: License Key Generator Completed

I've been getting the occasional e-mail from an online poker player who is interested in my software. Each e-mail helps boost my enthusiasm and my motivation to get Poker Copilot out by next Monday.

Today I got stuck into a task I've been avoiding: the license key generator. Fortunately it wasn't so hard once I had worked out how I would do it. It took a few sketches on paper, some time getting familiar with Java's cryptography API again, and an evening of coding.

The basic model is this:

30-Day Evaluation
when you download Poker Copilot you have an automatic 30-day evaluation.

Creating a License Key
When you buy a license I generate a key from your user name and a couple of other things. I encrypt this using public-private key encryption. I send you the encrypted key by e-mail.

Using a License Key
Poker Copilot knows how to decrypt the key but not how to encrypt. It decrypts the key and checks that it contains your username and some other information.

With this model, anyone who reverse engineers Poker Copilot will be able to decrypt keys. However only I can encrypt - and therefore create - keys.

I hope the concept proves valid. Now I'm going to finish the day with 30 minutes of poker.

2 comments:

Anonymous said...

Sadly, they'll just recompile your app, remove/alter the code that checks for the key and then recompile and distribute. No key is required for the hacked software.

Paco Hope said...
This comment has been removed by a blog administrator.
 

Poker Copilot

Free 30 Day Trial

Only $69

Order risk free with our 30-day money back guarantee.

  • Poker tracking software for Mac OS X
  • Supports PokerStars, Winamax, Merge Network, Ongame Network
  • Analyses your opponents while you play
  • On-table HUD for Mac
  • Easy to use, easy to understand

Watch a demo of the major features of Poker Copilot