Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Not getting the concept

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Licensing Support
View previous topic :: View next topic  
Author Message
Rene



Joined: 20 Mar 2007
Posts: 1

PostPosted: Tue Mar 20, 2007 10:59 pm    Post subject: Not getting the concept Reply with quote

I have spent some time trying to figure out how the code works (mostly for educative purposes) and I am just not getting this so I was hopping someone could help me out.

It was my understanding that someone can use RSA to sign information by using the private key to perform the signing and then using the public key to verify that the information is really coming from the person that is the owner of the private key.

I believe that this is what the Infatuation licensing program is doing but there are some things that I don’t understand, for example, I can’t understand why the “GenerateKey” funciton never uses the RSA to sign the key that is being generated.

Isn’t this the whole idea? Shouldn’t and instance of the RSA class be instantiated with its *private key* (inside the GenerateKey function) and then use the class to sign the key that is being generated so my program can then instantiate the RSA class using its *public key* and then verify that the key that was generated by “GenerateKey” function is really coming from me?

I am really confused about all this, I think something is going on with the “DesignSignature” and the “RuntimeSignature” but I also can’t figure out how those two play a part on the validation thing.

Could someone *please* give me an overview of how this validation system is supposed to work? I realize that I don’t have to know the internal implementation to be able to use the system but I would really like to.

Thanks.
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Wed Mar 21, 2007 8:43 am    Post subject: Reply with quote

We don't sign the individual license keys with RSA - because that would result in really long license keys (hundreds of characters). Instead we use RSA to validate that the license key was generated using the required product password. This allows us to include the RSA signature in your code at compile time and keep license keys to a managable length.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Licensing Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group