ms capi to openssl

B

Bhaskar

Hello ,

I am having RSA Public & Private keys & encrypted data on windows
machine. Both generated with Ms Capi.


I want to decrypt the data on linux using openssl.


[1] So how do I move the private key from capi to openssl ? Do I need
to change endian ness for private key ?
What do u exactly mean by changing endian-ness ? It is complete
reversal of bytes or just swapping of bytes within word.


[2] Before decrypting a data , do I need to reverse the bytes ? What
should I do , I am badly stuck .


Currently its a nightmare for me to get this working.


Thanks,
- Bhaskar.
 
S

S. Pidgorny

Export the keypair to a PFX file and import to Linux. Don't worry about the
byte order since it's on the lower level of APIs and only matters if CPU
architecture is different anyway.

--
Svyatoslav Pidgorny, MS MVP - Security, MCSE
-= F1 is the key =-

* http://sl.mvps.org * http://msmvps.com/blogs/sp *

"Bhaskar" <bhaskar.tilak@gmail.com> wrote in message
news:1187686644.392770.62780@i38g2000prf.googlegroups.com...
> Hello ,
>
> I am having RSA Public & Private keys & encrypted data on windows
> machine. Both generated with Ms Capi.
>
>
> I want to decrypt the data on linux using openssl.
>
>
> [1] So how do I move the private key from capi to openssl ? Do I need
> to change endian ness for private key ?
> What do u exactly mean by changing endian-ness ? It is complete
> reversal of bytes or just swapping of bytes within word.
>
>
> [2] Before decrypting a data , do I need to reverse the bytes ? What
> should I do , I am badly stuck .
>
>
> Currently its a nightmare for me to get this working.
>
>
> Thanks,
> - Bhaskar.
>
 

Similar threads

K
Replies
0
Views
70
Kathleen Mitford, CVP, Global Industry
K
C
Replies
0
Views
120
Charlie Bell
C
N
Replies
0
Views
221
Norman JuniorRudhumbu
N
Back
Top Bottom