I would like to use DSA as a means of limiting use of a piece of software to those 
with appropriate permission.  Here's how it would work: A user of the software is 
given a password which consists of an ipaddress where his app is to run encrypted 
using the private key.  When the app runs it uses the public key to decrypt the 
password and verify the the localhost is a licensed user of the app.  Here are some 
related questions for the crypto-gurus:

1. If I understand correctly, the minimum private key size with DSA is 512 bits.  What 
are the current export restrictions on this kind of encryption?  Is it possible to use 
a smaller key with DSA?

2. The OpenSSL command line tools for generating the keys look very handy, however are 
there any tools available for encrypting something using the key file generated by 
gendsa ?  It looks like there is going to be some effort on my part in parsing the 
necessary public/private keys and other parameters from the key file so that I can use 
them in calls to DSA_sign() and DSA_verify().  Any advice on shortcuts or existing 
functions and or tools to help?

3. Is this a good approach? - or am I re-inventing the wheel?

Any help would be greatly appreciated

Bob.

--
Bob Ollila - [EMAIL PROTECTED]
(603)665-8100, (603)665-8103 fax
TerraLink Technologies - http://www.terralinktech.com
1600 Candia Road, Suite 5, Manchester NH 03109


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to