Key generation and registration procedure

Post here any topics that related to Enigma Protector, its functionality, your misunderstanding, offers to improvements etc etc etc
Post Reply
bserra
Posts: 3
Joined: Thu Jul 30, 2009 1:11 pm

Key generation and registration procedure

Post by bserra »

I am trying to use the demo version to protect an application with the registration dialogue, and I meet the following problems:

- I do not understand why the file "secret\dat" is not created. Is it supported in the demo version? I expected to find a file in "ini" format with some stuff such as "NAME="myname", KEY="password". No file at all is created. Where could be the cause?

- what exactly should the user type to register the application in the Registation Form? I could not register the application, I suppose because the registration data are not stored in the "secret.dat" file.

- why the key generator generates different keys with the same every time I press the "Generate" button? Which one should I use?

Many thanks for your help
Benedetto Serra
Enigma
Site Admin
Posts: 2945
Joined: Wed Aug 20, 2008 2:24 pm

Re: Key generation and registration procedure

Post by Enigma »

bserra wrote:- I do not understand why the file "secret\dat" is not created. Is it supported in the demo version? I expected to find a file in "ini" format with some stuff such as "NAME="myname", KEY="password". No file at all is created. Where could be the cause?
This does not work in DEMO due to bug. But it works perfectly in the latest FULL version. Within 1-2 weeks I will update DEMO with all latest changes.
bserra wrote:- what exactly should the user type to register the application in the Registation Form? I could not register the application, I suppose because the registration data are not stored in the "secret.dat" file.
Yes, you are right, same DEMO bug.
bserra wrote:- why the key generator generates different keys with the same every time I press the "Generate" button? Which one should I use?
This is only due to random initialization of crypto algorithm. Each key is working, you may use any generated key.

If you want to test FULL version (that do not have a bugs), contact me through the private message or write to support@enigmaprotector.com (with the email address that is registered in this forum) and I send you full version and temporary key.
bserra
Posts: 3
Joined: Thu Jul 30, 2009 1:11 pm

Re: Key generation and registration procedure

Post by bserra »

Many thanks.
I have included in my Visual Basic code the modules I found in the examples\trial\VB\ subdirectory, (trial.bas) and in the EnigmaSDK\VB subdirectory (enigma_ide.bas) and the registration dialog works perfectly, with different passwords, and the "secret.dat" file has been created correctly.

Now, I suppose that to further customize the registration process I need to include also the
EnigmaSDK\VB\enigma_keygen_ide.bas module. Is this true ?

Are there some other examples useful or other documentation about how to customize the registration process?

Again, many thanks for your help

Benedetto Serra
Enigma
Site Admin
Posts: 2945
Joined: Wed Aug 20, 2008 2:24 pm

Re: Key generation and registration procedure

Post by Enigma »

bserra wrote:I have included in my Visual Basic code the modules I found in the examples\trial\VB\ subdirectory, (trial.bas) and in the EnigmaSDK\VB subdirectory (enigma_ide.bas) and the registration dialog works perfectly, with different passwords, and the "secret.dat" file has been created correctly.
Great! But with latest full version it is working with standard Registration Dialog too (as you tested previously)!
The file in the EnigmaSDK\VB\enigma_ide.bas contains declaration of Enigma API functions for VB, of course you should use it. Files in examples\trial\VB\ folder contain just an example, you can write own code.
bserra wrote:Now, I suppose that to further customize the registration process I need to include also the EnigmaSDK\VB\enigma_keygen_ide.bas module. Is this true ?
No, not sure you need this file. This file contains declaration of Key generator API. I.e. you are able to generate registration keys manually through Key Generator (main menu - tool), License Manager (same location), but if you want to make own customized shell for keys generating, then you have to use this dll and these API. FYI, these API and dll (keygen.dll) could be used for making auto keys generator for shareit, see example there: http://enigmaprotector.com/en/tutorials/tutorial3.html
bserra wrote:Are there some other examples useful or other documentation about how to customize the registration process?
The above tutorial is good, aslo take a look at Examples\HardwareId and Registraion examples, look at manual to License Manager and Mailer, custom keys generating.

Or write me back here, I will help!

Regards
Vladimir
Post Reply