ralph
1/12/2012 7:08:00 PM
On Thu, 12 Jan 2012 11:11:05 -0500, GS <gs@somewhere.net> wrote:
>on 1/12/2012, Tony Toews supposed :
>> On Thu, 12 Jan 2012 02:43:40 -0500, GS <gs@somewhere.net> wrote:
>>
>>> I'd be happy to help but I forgot most of the nuances involved with
>>> using CryptoApi since I started using a class wrapper for doing this
>>> for app licensing. The class (by David Midkiff) is a pure VB
>>> implementation that I include in my projects, and so is not dependent
>>> on APIs. It uses 'Private' Key methodology rather than 'Public/Private'
>>> keys because I don't give out the key. Let me know if you're interested
>>> in switching up from using the MS CryptoAPIs.
>>
>> The problem is I have many clients out there using the utility with
>> encrypted passwords in their INI files and an encrypted license key
>> file from me. I have to be able to use the same "seed", if that's the
>> correct terminology and the same outcome as the past versions of my
>> utility. So I have to continue to use the MS Crypto API so it's
>> transparent to the clients. Otherwise they'll be very unhappy and
>> I'll get many support emails.
>>
>> Tony
>
>Yeah, I went through the same issue when I transitioned from using an
>encrypted license key to an encrypted license file. I now send a
>LicenseActivator.EXE instead of keys because I also write a backup
>version of the license file to some obscure place in the Registry
>(and/or another file on the drive the app is installed to depending if
>the license has a 'Roam' profile).
>
>In your case it wouldn't matter if you sent a key or use a license
>file, so nothing will actually break if handled right. I did, though,
>revise my apps to recognize older license keys/files and convert the
>decrypted data to the new methodology so all previous releases were
>updated without breaking (or the user even knowing it happened). This
>was easy to do since the license is always checked at startup. If the
>old license file existed it was opened, processed, then replaced with a
>new license file. Since the old/new file names were different this was
>an easy transition for me and my users!
>
>FWIW, I use a separate license file so the app's INI file just contains
>app data. Optionally, I could send a new license file to replace the
>existing outdated license file. Also, my apps are licensed to the
>computer and so any user can use the app.
Excellent advise.
-ralph