|
Hi,
I'm trying to sign data using dsa private key using openSSL. I want to use a private key that is stored in a file. Can any one please suggest me how to get privae key from a file.
Thanks in advance.
|
|
|
|
|
Read the file and extract the key. You need to explain exactly how this key is stored in the file and what problem you are having reading it out.
|
|
|
|
|
My private key file is a text file and it contains the data
FCA6 82CE 8E12 CABA 26EF CCF7 110E 526D B078 B05E DECB CD1E B4A2 08F3 AE16 17AE 01F3 5B91 A47E 6DF6 3413 C5E1 2ED0 899B CD13 2ACD 50D9 9151 BDC4 3EE7 3759 2E17.
962E DDCC 369C BA8E BB26 0EE6 B6A1 26D9 346E 38C5.
6784 71B2 7A9C F44E E91A 49C5 147D B1A9 AAF2 44F0 5A43 4D64 8693 1D2D 1427 1B9E 3503 0B71 FD73 DA17 9069 B32E 2935 630E 1C20 6235 4D0D A20A 6C41 6E50 BE79 4CA4.
06CE 2BF2 3F33 FDCD 3F22 1301 4F56 1152 69F6 FA4D.
Here BIG x is the private key and I need this key to sign my data.
|
|
|
|
|
IICTECH wrote: Here BIG x is the private key and I need this key to sign my data. So what is your problem?
|
|
|
|
|
If that is your actual private key file, then it is not private anymore.
|
|
|
|