Re: sign and verify

2001-01-31 Thread Dr S N Henson
chris luchini wrote: > > Hi All, >I'm trying to write a little utility that will sign and verify a flat > text file. The RSA_verify function looks like it's close to what I want, > but > the text file in question is not any kind of mail digest. > > This is for one off use, so I don't want to

Re: sign and verify

2001-01-31 Thread Pedro Miller Rabinovitch
Yes, pretty much. Check out demos/sign/ in openssl. It's a simple app example that uses EVP_Sign* and EVP_Verify* to work the signing. It requires .pem files for use -- one X509 cert and one RSA key. Check the man pages on openssl ("req" command) to see how to generate them from the command li