Re: Why don't openssl RSA work for Word Document file?

2010-02-02 Thread Steffen DETTMER
> Namrata Sorte wrote: > > Ya to be more specific, I want to sign and verify Word Document > > File and using command line will be fine for now. Are you looking for something like openssl smime -sign -in ml.doc... openssl smime -encrypt -in in.doc... maybe? With RSA based certificates it uses R

Re: Why don't openssl RSA work for Word Document file?

2010-02-01 Thread Cristian Thiago Moecke
I don't know WHY you would want to do that, but I don't know WHY NOT to give you an objective answer. Maybe you are trying to understand some crypto basics and want to test how a signature scheme works, I don't know. So, what you need is to sign the HASH, not the document. Sign process: 1) Generat

RE: Why don't openssl RSA work for Word Document file?

2010-02-01 Thread David Schwartz
Namrata Sorte wrote: > Ya to be more specific, I want to sign and verify Word Document > File and using command line will be fine for now. For this I am > using SHA-1 to generate hash of the input message, than I want > to use RSA for signing this message digest, which finally will > be appended t

Re: Why don't openssl RSA work for Word Document file?

2010-01-31 Thread Namrata Sorte
> How do you want to sign or encrypt this document? Do you want to do it natively from> word? Or do you want to do this from a Unix command prompt? What formats do you want > it encrypted in? How will the consumer decrypt or verify the document? Again, do you want > this to happen from the

RE: Why don't openssl RSA work for Word Document file?

2010-01-28 Thread David Schwartz
Namrata Sorte wrote: > Actually I want to Sign Word Document (.doc) file using RSA > (both encryption-decryption & signing-verifying) algorithm. > So could you please tell me what modification will be required > to make in existing algorithm to support signing word document. I don't know what I c

Re: Why don't openssl RSA work for Word Document file?

2010-01-28 Thread Patrick Patterson
On January 28, 2010 01:05:25 pm John R Pierce wrote: > Namrata Sorte wrote: > > Hi, > > > > Actually I want to Sign Word Document (.doc) file using RSA (both > > encryption-decryption & signing-verifying) algorithm. So could you > > please tell me what modification will be required to make in exist

Re: Why don't openssl RSA work for Word Document file?

2010-01-28 Thread John R Pierce
Namrata Sorte wrote: Hi, Actually I want to Sign Word Document (.doc) file using RSA (both encryption-decryption & signing-verifying) algorithm. So could you please tell me what modification will be required to make in existing algorithm to support signing word document. openssl is designed

RE: Why don't openssl RSA work for Word Document file?

2010-01-28 Thread Tim Ward
I guess, since this is the openssl users list, he wants to use openssl to sign a word document file. One might indeed so guess. But there's different ways of doing that. My guess is that he wants to call the OpenSSL API from VB code sitting behind a "sign this document" button on a Word tool

Re: Why don't openssl RSA work for Word Document file?

2010-01-28 Thread Cristian Thiago Moecke
I guess, since this is the openssl users list, he wants to use openssl to sign a word document file. So, you will need to at least take a hash of the document first, using openssl dgst. But Patrick recommendations apply. I guess you may want a more user friendly sollution. So, please explain in m

Re: Why don't openssl RSA work for Word Document file?

2010-01-28 Thread Patrick Patterson
Hi there: It is really quite simple. How do you want to sign or encrypt this document? Do you want to do it natively from word? Or do you want to do this from a Unix command prompt? What formats do you want it encrypted in? How will the consumer decrypt or verify the document? Again, do you want

Re: Why don't openssl RSA work for Word Document file?

2010-01-28 Thread Namrata Sorte
Hi, Actually I want to Sign Word Document (.doc) file using RSA (both encryption-decryption & signing-verifying) algorithm. So could you please tell me what modification will be required to make in existing algorithm to support signing word document. Thanking you, Namrata On Wed, Jan 27, 2010 at

RE: Why don't openssl RSA work for Word Document file?

2010-01-27 Thread David Schwartz
Namrata Sorte wrote: > Hey, > Thanks for reply. Could you please explain me : >> You have to put connect it to a suitable transmission and drive it for it to work. > in more detail. Sure. RSA is a mathematical algorithm that has applications in encryption and signature verification. But it

Re: Why don't openssl RSA work for Word Document file?

2010-01-27 Thread Namrata Sorte
Hey, Thanks for reply. Could you please explain me : > You have to put connect it to a suitable transmission and drive it for it to work. in more detail. Thanks & Regards, Namrata On Wed, Jan 27, 2010 at 7:08 AM, David Schwartz wrote: > Namrata Sorte wrote: > > > Hi, > > > I have a query rega

RE: Why don't openssl RSA work for Word Document file?

2010-01-27 Thread David Schwartz
Namrata Sorte wrote: > Hi, > I have a query regarding RSA algorithm viz: > Why don't openssl RSA signing & verifying work for Word Document file? > Neither it works for document encryption & decryption. > Could anybody please guide & explain me why is it so? It's the same reason an internal co