<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-981</id>
	<title>Nabble - OpenSSL - User</title>
	<updated>2009-11-30T02:28:41Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/OpenSSL---User-f981.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/OpenSSL---User-f981.html" />
	<subtitle type="html"></subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26572386</id>
	<title>how to create a CertifiateVerify request</title>
	<published>2009-11-30T02:28:41Z</published>
	<updated>2009-11-30T02:28:41Z</updated>
	<author>
		<name>krishn2</name>
	</author>
	<content type="html">Hi All,
&lt;br&gt;&lt;br&gt;&lt;br&gt;I am writing a client program and my server is openssl. I am working on DTLS handshake implementation and I am stuck with Certificate Verify request. I dont know how to create this request. I could not find much info regarding this. I have all the necessary data with me but I dont know how to make the certificate verify request. 
&lt;br&gt;&lt;br&gt;To the best of my knowledge, I have to add all the request incoming and outgoing till this point ( not adding certificateVerify) , take their MD5 digest and SHA1 digest and sign this and send this in the certificate verify request but I am always getting BAD REQUEST SIGNATURE at server.
&lt;br&gt;&lt;br&gt;I am adding the TLS header (e.g. handshake type, length, etc) and other content after that. below is the image. The data I keep on concatenating from all the messages is highlighted:
&lt;br&gt;&lt;br&gt;&lt;img src=&quot;http://old.nabble.com/file/p26572386/messages.gif&quot; border=&quot;0&quot; /&gt;&lt;br&gt;&lt;br&gt;I dont know what I am doing and what part of all the messages I have to add to buffer which i use signing?
&lt;br&gt;&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;Krishn2</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/how-to-create-a-CertifiateVerify-request-tp26572386p26572386.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26553198</id>
	<title>Re: error in SSLv3 read client hello</title>
	<published>2009-11-28T05:37:24Z</published>
	<updated>2009-11-28T05:37:24Z</updated>
	<author>
		<name>Jean-Christophe Baptiste</name>
	</author>
	<content type="html">Hi Rajan,
&lt;br&gt;&lt;br&gt;Thank you for the explanation, I have a better understanding now.
&lt;br&gt;&lt;br&gt;But why a client would need to renegotiate all the time ?
&lt;br&gt;I don't know any setting on the client side to workaround.
&lt;br&gt;Does this mean that most browsers need to be updated as well ?
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;JC
&lt;br&gt;&lt;br&gt;Le samedi 28 novembre 2009 à 19:01 +0530, tensy joseph a écrit :
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Jean,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; You are getting this error because either client or server is trying
&lt;br&gt;&amp;gt; to renegotiate the session. The OpenSSL team has applied the patch
&lt;br&gt;&amp;gt; which will disable all the renegotiation and hence will break all
&lt;br&gt;&amp;gt; renegotiation attempt .This patch is released to take care of Security
&lt;br&gt;&amp;gt; Vulnerabilty Issue CVE-2009-3555. If the client needs to do
&lt;br&gt;&amp;gt; renegotiation then you will have to live with a vulnerable server for
&lt;br&gt;&amp;gt; now.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks
&lt;br&gt;&amp;gt; Rajan
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 2009/11/28 Jean-Christophe Baptiste &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26553198&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jc@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Hi all,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I can confirm the following issue :
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.mail-archive.com/openssl-users@openssl.org/msg59562.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/openssl-users@.../msg59562.html&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; As an openSUSE user, I reported the bug there :
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;https://bugzilla.novell.com/show_bug.cgi?id=558176&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugzilla.novell.com/show_bug.cgi?id=558176&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; They applied the same patch and I am having the same &amp;quot;Exit:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; error in
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SSLv3 read client hello A&amp;quot; error.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; How many people are aware of it ? Is there any patch yet ?
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Thank you for your help,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; JC
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;/div&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (853 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26553198/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/error-in-SSLv3-read-client-hello-tp26552209p26553198.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26553160</id>
	<title>Re: error in SSLv3 read client hello</title>
	<published>2009-11-28T05:31:03Z</published>
	<updated>2009-11-28T05:31:03Z</updated>
	<author>
		<name>rajanchittil</name>
	</author>
	<content type="html">Hi Jean,&lt;br&gt;&lt;br&gt;You are getting this error because either client or server is trying to renegotiate the session. The OpenSSL team has applied the patch which will disable all the renegotiation and hence will break all renegotiation attempt .This patch is released to take care of Security Vulnerabilty Issue CVE-2009-3555. If the client needs to do renegotiation then you will have to live with a vulnerable server for now.&lt;br&gt;
&lt;br&gt;Thanks&lt;br&gt;Rajan&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/11/28 Jean-Christophe Baptiste &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26553160&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jc@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
Hi all,&lt;br&gt;
&lt;br&gt;
I can confirm the following issue :&lt;br&gt;
&lt;a href=&quot;http://www.mail-archive.com/openssl-users@openssl.org/msg59562.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/openssl-users@.../msg59562.html&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
As an openSUSE user, I reported the bug there :&lt;br&gt;
&lt;a href=&quot;https://bugzilla.novell.com/show_bug.cgi?id=558176&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://bugzilla.novell.com/show_bug.cgi?id=558176&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
They applied the same patch and I am having the same &amp;quot;Exit: error in&lt;br&gt;
SSLv3 read client hello A&amp;quot; error.&lt;br&gt;
&lt;br&gt;
How many people are aware of it ? Is there any patch yet ?&lt;br&gt;
&lt;br&gt;
Thank you for your help,&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;
JC&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;input id=&quot;gwProxy&quot; type=&quot;hidden&quot;&gt;&lt;input id=&quot;jsProxy&quot; type=&quot;hidden&quot;&gt;&lt;div id=&quot;refHTML&quot;&gt;&lt;/div&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/error-in-SSLv3-read-client-hello-tp26552209p26553160.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26552529</id>
	<title>Re: Application crashes when trying to access X509 Certificate  Extension returned by X509_get_ext method</title>
	<published>2009-11-28T03:58:28Z</published>
	<updated>2009-11-28T03:58:28Z</updated>
	<author>
		<name>sandeep kiran p</name>
	</author>
	<content type="html">&lt;div&gt;Sanjay,&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Can you check if it still fails when you do a memcpy instead of direct assignment? Something like,&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;OrgPtr = (char *)malloc (Extension-&amp;gt;value-&amp;gt;length);&lt;/div&gt;
&lt;div&gt;if (NULL == OrgPtr) assert(&amp;quot;Malloc failure&amp;quot;);&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;memcpy(OrgPtr, Extension-&amp;gt;value-&amp;gt;data, Extension-&amp;gt;value-&amp;gt;length);&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;-Sandeep&lt;br&gt;&lt;br&gt;&lt;/div&gt;
&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Nov 26, 2009 at 8:44 AM, Sanjay Bhat &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26552529&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bsanjay@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote style=&quot;BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex&quot; class=&quot;gmail_quote&quot;&gt;
&lt;div style=&quot;MARGIN: 4px 4px 1px; FONT: 10pt Tahoma&quot;&gt;
&lt;div&gt;Hi Kyle,&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Thanks a ton for the quick reply buddy :)&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;When we debug our application in visual studio, we see that both &amp;quot;Extension&amp;quot; and &amp;quot;Extension-&amp;gt;value&amp;quot; are not NULL. But &amp;quot;Extension-&amp;gt;value-&amp;gt;data&amp;quot; seems to be NULL or corrupted, causing our application to crash.&lt;/div&gt;

&lt;div&gt; &lt;/div&gt;
&lt;div&gt;I am trying these options for debugging the problem :&lt;/div&gt;
&lt;div&gt;&amp;gt; make sure the X509 certificate we are using is a valid one, containing the extension we are looking for, because &amp;quot;Certificate-&amp;gt;valid&amp;quot; is set to 0 for our certificate.&lt;/div&gt;
&lt;div&gt;&amp;gt; debug through the openssl function X509_get_ext( ) in visual studio by attaching the openssl source, to see why &amp;quot;Extension-&amp;gt;value-&amp;gt;data&amp;quot; is not being set correctly.&lt;/div&gt;
&lt;div&gt;&amp;gt; also try using some older openssl version instead of the current 0.9.8 d we are currently using. &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;I will update again after trying these options.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;I suspect something being wrong in this certificate itself, may be it does not comply to the X509 certificate format. Can you please confirm that the certificate we are using is a valid x509 certificate ? &lt;br&gt;&lt;/div&gt;

&lt;div&gt; &lt;/div&gt;
&lt;div&gt;This is the certificate we are using :&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;static unsigned char *LETestDefaultKey = {&lt;br&gt;  &amp;quot;-----BEGIN RSA PRIVATE KEY-----\r\n&amp;quot;&lt;br&gt;  &amp;quot;MIIBPAIBAAJBAM6ss7cWYg0Yf7Ot6PkdWBtQ0Pp89YO/2rG0K8iAJW5AY399hh/s\r\n&amp;quot;&lt;br&gt;  &amp;quot;VjiIfPZpqCwqJka/2r23jzZJfW8X19nTiqECAwEAAQJATBeXv0P1a77mXYAdM4LT\r\n&amp;quot;&lt;br&gt;
  &amp;quot;SpNRrbfOKOi9GworyJEtts5Cn153ROK3750NHrOeaXbkFl89/UD0oMsO22TnF+Ol\r\n&amp;quot;&lt;br&gt;  &amp;quot;lQIhAO0gkTZggugyZ7HDQihy/7EVAgK9rg7SPc5JnyZITW5bAiEA3x+q4AZDXUHW\r\n&amp;quot;&lt;br&gt;  &amp;quot;26W7BlZoedPy6Mo5wWNb/gN9x/T987MCIQCt8TfUFZOxVFgwU7USCtl5QpnI/O7T\r\n&amp;quot;&lt;br&gt;
  &amp;quot;PHHOAr9Vy6/RBQIhAJPO76y+mWuzDPmu/YmCPm3OWZGbPc1929gXSgDnrD//AiEA\r\n&amp;quot;&lt;br&gt;  &amp;quot;vwlwVtb26OSBJX47M+MZeWsiD3GVydtRdcL9+Xy0XEw=\r\n&amp;quot;&lt;br&gt;  &amp;quot;-----END RSA PRIVATE KEY-----\r\n&amp;quot;&lt;br&gt; };&lt;br&gt;static unsigned char *LETestDefaultCert = {&lt;br&gt;
  &amp;quot;-----BEGIN CERTIFICATE-----\r\n&amp;quot;&lt;br&gt;  &amp;quot;MIIBojCCAUygAwIBAgIBMzANBgkqhkiG9w0BAQQFADAqMQswCQYDVQQGEwJVUzEb\r\n&amp;quot;&lt;br&gt;  &amp;quot;MBkGA1UEAxMSTm92ZWxsIE5TdXJlIEF1ZGl0MB4XDTA1MTAxMTE3NDEyOFoXDTE1\r\n&amp;quot;&lt;br&gt;
  &amp;quot;MTAwOTE3NDEyOFowJjELMAkGA1UEBhMCVVMxFzAVBgNVBAMTDlNlY3VyZUxvZ2lu\r\n&amp;quot;&lt;br&gt;  &amp;quot;U1NPMFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAM6ss7cWYg0Yf7Ot6PkdWBtQ0Pp8\r\n&amp;quot;&lt;br&gt;  &amp;quot;9YO/2rG0K8iAJW5AY399hh/sVjiIfPZpqCwqJka/2r23jzZJfW8X19nTiqECAwEA\r\n&amp;quot;&lt;br&gt;
  &amp;quot;AaNhMF8wDgYDVR0PAQH/BAQDAgWgMBgGA1UdEQQRMA+BDWFyZ2xAYmxhaC5jb20w\r\n&amp;quot;&lt;br&gt;  &amp;quot;EQYJYIZIAYb4QgEBBAQDAgWgMCAGDGCGSAGG+DcBglsKAQQQFg5TZWN1cmVMb2dp\r\n&amp;quot;&lt;br&gt;  &amp;quot;blNTTzANBgkqhkiG9w0BAQQFAANBABaOsowc+4encEksW5w1v1dHg7DNdBbQJHct\r\n&amp;quot;&lt;br&gt;
  &amp;quot;JSNfzPfE8igm617Ggsfrb0nkc50mdlyugkfZC/dX+sx4vtQk1Ok=\r\n&amp;quot;&lt;br&gt;  &amp;quot;-----END CERTIFICATE-----\r\n&amp;quot;&lt;br&gt; };&lt;br&gt;&lt;/div&gt;
&lt;div&gt;Looking forward for your reply... have a wonderful day ahead !!!&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Regards,&lt;/div&gt;
&lt;div&gt;Sanjay &lt;/div&gt;
&lt;div&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Kyle Hamilton &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26552529&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;aerowolf@...&lt;/a&gt;&amp;gt; 11/24/2009 4:56 AM &amp;gt;&amp;gt;&amp;gt; 
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;Are you checking to make sure that there *is* data in that extension?&lt;br&gt;Or that the extension value even exists?&lt;br&gt;&lt;br&gt;if (NULL == Extension-&amp;gt;value) assert(&amp;quot;Extension-&amp;gt;value NULL&amp;quot;);&lt;br&gt;
if (NULL == Extension-&amp;gt;value-&amp;gt;data) assert (&amp;quot;Extension-&amp;gt;value-&amp;gt;data NULL&amp;quot;);&lt;br&gt;OrgPtr=Extension-&amp;gt;value-&amp;gt;data;&lt;br&gt;&lt;br&gt;-Kyle H&lt;br&gt;&lt;br&gt;On Fri, Nov 20, 2009 at 3:50 AM, Sanjay Bhat &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26552529&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bsanjay@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;&amp;gt; Hi,&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Our application running in windows 2008 64-bit platform crashes when we try&lt;br&gt;&amp;gt; to access the data member of X509_EXTENSION returned by X509_get_ext().&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; We are using  0.9.8d version of openssl compiled for windows 64 bit&lt;br&gt;
&amp;gt; platform.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; We are clueless why this is happening and are badly stuck with this. Please&lt;br&gt;&amp;gt; help us.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Here is the code snippet of our application with the point of crash in bold&lt;br&gt;&amp;gt; :&lt;br&gt;
&amp;gt;&lt;br&gt;&amp;gt; BOOL GetX509ObjectString(X509 *Certificate, unsigned char *ASN1, unsigned&lt;br&gt;&amp;gt; char *Short, unsigned char *Description, unsigned char *Buffer, unsigned&lt;br&gt;&amp;gt; long BufSize)&lt;br&gt;&amp;gt; {&lt;br&gt;&amp;gt;     X509_EXTENSION      *Extension;&lt;br&gt;
&amp;gt;     int                 nid;&lt;br&gt;&amp;gt;     int                 Position;&lt;br&gt;&amp;gt;     ASN1_STRING         *Value;&lt;br&gt;&amp;gt;     unsigned char       *OrgPtr;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt;     if (!Buffer) {&lt;br&gt;&amp;gt;         return(FALSE);&lt;br&gt;
&amp;gt;     }&lt;br&gt;&amp;gt;     Buffer[0]=&amp;#39;\0&amp;#39;;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt;     nid = OBJ_create(ASN1, Short, Description);&lt;br&gt;&amp;gt;     Position=X509_get_ext_by_NID(Certificate, nid, -1);&lt;br&gt;&amp;gt;     if (Position==-1) {&lt;br&gt;&amp;gt;         return(FALSE);&lt;br&gt;
&amp;gt;     }&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt;  Extension=X509_get_ext(Certificate, Position);&lt;br&gt;&amp;gt;   if (!Extension) {&lt;br&gt;&amp;gt;         return(FALSE);&lt;br&gt;&amp;gt;     }&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt;     /* The M_d2i function alters the pointer, so keep a copy */&lt;br&gt;
&amp;gt;     OrgPtr=Extension-&amp;gt;value-&amp;gt;data; //This is the point of crash. Referencing&lt;br&gt;&amp;gt; data member seems to be causing the crash&lt;br&gt;&amp;gt;     Value=M_d2i_ASN1_IA5STRING(NULL, &amp;amp;(Extension-&amp;gt;value-&amp;gt;data),&lt;br&gt;
&amp;gt; Extension-&amp;gt;value-&amp;gt;length);&lt;br&gt;&amp;gt;     Extension-&amp;gt;value-&amp;gt;data=OrgPtr;&lt;br&gt;&amp;gt;     strncpy(Buffer, Value-&amp;gt;data, min(Value-&amp;gt;length+1, BufSize));&lt;br&gt;&amp;gt;     Buffer[min(Value-&amp;gt;length+1, BufSize)-1]=&amp;#39;\0&amp;#39;;&lt;br&gt;
&amp;gt;     ASN1_STRING_free(Value);&lt;br&gt;&amp;gt;     return(TRUE);&lt;br&gt;&amp;gt; }&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Appreciate any kind of help on this is greatly appreciated.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Thanks &amp;amp; Regards,&lt;br&gt;&amp;gt; Sanjay.&lt;br&gt;______________________________________________________________________&lt;br&gt;
OpenSSL Project                                 &lt;a href=&quot;http://www.openssl.org/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;User Support Mailing List                    &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26552529&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;&lt;br&gt;
Automated List Manager                           &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26552529&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Application-crashes-when-trying-to-access-X509-Certificate-Extension-returned-by-X509_get_ext-method-tp26467217p26552529.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26552209</id>
	<title>error in SSLv3 read client hello</title>
	<published>2009-11-28T03:01:39Z</published>
	<updated>2009-11-28T03:01:39Z</updated>
	<author>
		<name>Jean-Christophe Baptiste</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;&lt;br&gt;I can confirm the following issue :
&lt;br&gt;&lt;a href=&quot;http://www.mail-archive.com/openssl-users@openssl.org/msg59562.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/openssl-users@.../msg59562.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;As an openSUSE user, I reported the bug there :
&lt;br&gt;&lt;a href=&quot;https://bugzilla.novell.com/show_bug.cgi?id=558176&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugzilla.novell.com/show_bug.cgi?id=558176&lt;/a&gt;&lt;br&gt;&lt;br&gt;They applied the same patch and I am having the same &amp;quot;Exit: error in
&lt;br&gt;SSLv3 read client hello A&amp;quot; error.
&lt;br&gt;&lt;br&gt;How many people are aware of it ? Is there any patch yet ?
&lt;br&gt;&lt;br&gt;Thank you for your help,
&lt;br&gt;&lt;br&gt;JC
&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (853 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26552209/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/error-in-SSLv3-read-client-hello-tp26552209p26552209.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26546880</id>
	<title>Re: openssl and hardware tokens</title>
	<published>2009-11-27T11:30:23Z</published>
	<updated>2009-11-27T11:30:23Z</updated>
	<author>
		<name>John R Pierce</name>
	</author>
	<content type="html">Nicolas Pelloux-Prayer wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I'm currently working on a similar task during the development of a 
&lt;br&gt;&amp;gt; TLS client (with client-side authentication), using a PKCS#11 hardware 
&lt;br&gt;&amp;gt; token.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The main problem we encountered is that we cannot access the private 
&lt;br&gt;&amp;gt; key stored in the token; Therefore we made an engine which implements 
&lt;br&gt;&amp;gt; RSA signature methods, and used a fake private key file to make 
&lt;br&gt;&amp;gt; OpenSSL think the user cert &amp; private key are present (state 
&lt;br&gt;&amp;gt; SSL3_ST_CW_CERT_B in d1_clnt.c) to be able to run to the 
&lt;br&gt;&amp;gt; CertificateVerify message signature state, &amp;nbsp;which is performed by our 
&lt;br&gt;&amp;gt; engine using our user private key inside the token.
&lt;/div&gt;&lt;br&gt;yes, you can't acccess the private key in a token, otherwise you could 
&lt;br&gt;copy it, which would invalidate the whole point of using a token in the 
&lt;br&gt;first place.
&lt;br&gt;&lt;br&gt;&amp;gt; Actually it works, but this approach doesn't feel right as we 
&lt;br&gt;&amp;gt; basically fool the api... I wondered if someone had a better idea of 
&lt;br&gt;&amp;gt; how to do this properly, like a way to make OpenSSL know the engine 
&lt;br&gt;&amp;gt; will handle the private key itself and will not extract it, it would 
&lt;br&gt;&amp;gt; be very helpfull.
&lt;br&gt;&lt;br&gt;&lt;br&gt;see &lt;a href=&quot;http://www.opensc-project.org/engine_pkcs11/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.opensc-project.org/engine_pkcs11/&lt;/a&gt;&lt;br&gt;&lt;br&gt;good luck figuring out how to use it though. &amp;nbsp; &amp;nbsp; I found this, 
&lt;br&gt;&lt;a href=&quot;http://www.openssl.org/docs/crypto/engine.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org/docs/crypto/engine.html&lt;/a&gt;&amp;nbsp;and can't even find links 
&lt;br&gt;to the specific ENGINE_xxxx apis. &amp;nbsp;in fact, coming in the front door at 
&lt;br&gt;&lt;a href=&quot;http://www.openssl.org/docs/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org/docs/&lt;/a&gt;&amp;nbsp;I don't even see a link to that page?
&lt;br&gt;&lt;br&gt;&lt;br&gt;______________________________________________________________________
&lt;br&gt;OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26546880&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26546880&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/openssl-and-hardware-tokens-tp26336133p26546880.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26546493</id>
	<title>RE: General question about documentation</title>
	<published>2009-11-27T10:53:37Z</published>
	<updated>2009-11-27T10:53:37Z</updated>
	<author>
		<name>Rene Hollan-2</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 3.2//EN&quot;&gt;
&lt;HTML&gt;
&lt;HEAD&gt;
&lt;META HTTP-EQUIV=&quot;Content-Type&quot; CONTENT=&quot;text/html; charset=iso-8859-1&quot;&gt;
&lt;META NAME=&quot;Generator&quot; CONTENT=&quot;MS Exchange Server version 6.5.7655.3&quot;&gt;
&lt;TITLE&gt;RE: General question about documentation&lt;/TITLE&gt;
&lt;/HEAD&gt;
&lt;BODY&gt;
&lt;!-- Converted from text/plain format --&gt;
&lt;BR&gt;

&lt;P&gt;&lt;FONT SIZE=2&gt;Yes, what ever attempts are made to improve the documentation, they should probably start with errors and omissions in this book, rather than from scratch.&lt;BR&gt;
&lt;BR&gt;
Perhaps O'Rielly might want to publish a followup?&lt;BR&gt;
&lt;BR&gt;
-----Original Message-----&lt;BR&gt;
From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26546493&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;owner-openssl-users@...&lt;/a&gt; on behalf of Mark&lt;BR&gt;
Sent: Fri 11/27/2009 2:46 AM&lt;BR&gt;
To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26546493&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;&lt;BR&gt;
Subject: RE: General question about documentation&lt;BR&gt;
&lt;BR&gt;
Hi All,&lt;BR&gt;
&lt;BR&gt;
&amp;gt; Rene Hollan wrote:&lt;BR&gt;
&amp;gt; &amp;gt;&lt;BR&gt;
&amp;gt; &amp;gt; Oh, you need to dig deeper, to understand the semantics and&lt;BR&gt;
&amp;gt; not just&lt;BR&gt;
&amp;gt; &amp;gt; the syntax of those APIs.&lt;BR&gt;
&amp;gt; &amp;gt;&lt;BR&gt;
&amp;gt; &amp;gt; I didn't say using the source as documentation was&lt;BR&gt;
&amp;gt; convenient, but it&lt;BR&gt;
&amp;gt; &amp;gt; is possible, to any degree of detail you want.&lt;BR&gt;
&amp;gt; &amp;gt;&lt;BR&gt;
&amp;gt; &amp;gt; To wit: given the source code, it is possible to create&lt;BR&gt;
&amp;gt; documentation&lt;BR&gt;
&amp;gt; &amp;gt; to any degree of convenience. But, given some instance of external&lt;BR&gt;
&amp;gt; &amp;gt; documentation and no source, it is not possible to improve the&lt;BR&gt;
&amp;gt; &amp;gt; convenience factor of that documentation to an arbitrary degree.&lt;BR&gt;
&amp;gt; &amp;gt;&lt;BR&gt;
&amp;gt; &amp;gt; Suggesting what people who donate their time DO is rather&lt;BR&gt;
&amp;gt; like herding&lt;BR&gt;
&amp;gt; &amp;gt; cats. Some like coding and others like documenting and some&lt;BR&gt;
&amp;gt; like both.&lt;BR&gt;
&amp;gt; &amp;gt; Perhaps instead of an admonition that the project needs better&lt;BR&gt;
&amp;gt; &amp;gt; documentation, a question regarding who is willing to contribute to&lt;BR&gt;
&amp;gt; &amp;gt; said better documentation is more in order.&lt;BR&gt;
&amp;gt; &amp;gt;&lt;BR&gt;
&amp;gt;&lt;BR&gt;
&amp;gt; unluckily, those of us who most need the docs are least able to&lt;BR&gt;
&amp;gt; contribute, as I haven't the foggiest notion how to properly&lt;BR&gt;
&amp;gt; use any of&lt;BR&gt;
&amp;gt; the APIs at present.&amp;nbsp;&amp;nbsp; I suppose I need to get the ORA book and start&lt;BR&gt;
&amp;gt; reading, as eventually I&amp;quot;m going to be helping another&lt;BR&gt;
&amp;gt; development team&lt;BR&gt;
&amp;gt; at work with getting an SSL connection going that needs to&lt;BR&gt;
&amp;gt; use a client&lt;BR&gt;
&amp;gt; certificate stored on a PKCS#11 PKI token, so I'll be sorting&lt;BR&gt;
&amp;gt; out how to&lt;BR&gt;
&amp;gt; use libssl w/ opensc's engine-pkcs11 module, who's&lt;BR&gt;
&amp;gt; documentation is just&lt;BR&gt;
&amp;gt; about as non-existant as that of openssl.&amp;nbsp; this task was very easy in&lt;BR&gt;
&amp;gt; Java, as Java's SecureSocket hides all the complexity, up to and&lt;BR&gt;
&amp;gt; including full support for PKCS#11 plugins.&lt;BR&gt;
&lt;BR&gt;
The O'Reilly book is essential reading IMHO but it is far from a&lt;BR&gt;
complete&lt;BR&gt;
guide to OpenSSL.&amp;nbsp; There are many APIs that it does not mention at all.&lt;BR&gt;
It is also quite old now (2002).&lt;BR&gt;
&lt;BR&gt;
I realize that in Open source projects it is hard to find the time to&lt;BR&gt;
document&lt;BR&gt;
the software but I believe that documentation is an essential part of&lt;BR&gt;
any&lt;BR&gt;
project, especially something as complex as OpenSSL.&lt;BR&gt;
&lt;BR&gt;
Even if a wiki turnout out to be a better FAQ then it would still be&lt;BR&gt;
very useful IMHO.&lt;BR&gt;
&lt;BR&gt;
Is it possible to gain sponsorship for this project or charge for the&lt;BR&gt;
documentation,&lt;BR&gt;
or make a commercial variant of OpenSSL which can support the open&lt;BR&gt;
source&lt;BR&gt;
version?&lt;BR&gt;
&lt;BR&gt;
Mark.&lt;BR&gt;
&lt;BR&gt;
______________________________________________________________________&lt;BR&gt;
OpenSSL Project&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A HREF=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/A&gt;&lt;BR&gt;
User Support Mailing List&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26546493&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;&lt;BR&gt;
Automated List Manager&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26546493&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;&lt;BR&gt;
&lt;BR&gt;
&lt;/FONT&gt;
&lt;/P&gt;

&lt;/BODY&gt;
&lt;/HTML&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Getting-started---d2i_PKCS12_fp-tp26374160p26546493.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26543100</id>
	<title>Re: CMS with PBE (Was Re: Decrypting a password encrypted  pkcs7-envelopedData): success !</title>
	<published>2009-11-27T06:18:25Z</published>
	<updated>2009-11-27T06:18:25Z</updated>
	<author>
		<name>malat</name>
	</author>
	<content type="html">On Thu, Nov 26, 2009 at 7:59 PM, Dr. Stephen Henson &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26543100&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;steve@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Mon, Nov 23, 2009, Mathieu Malaterre wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Steve,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; Do you have a sample PBE blob you want to decrypt?
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Here is one:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; $ wget &lt;a href=&quot;http://idisk.mac.com/dclunie-Public/securedicomfileset.tar.bz2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://idisk.mac.com/dclunie-Public/securedicomfileset.tar.bz2&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; $ openssl asn1parse -in DICOMDIR -inform DER
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; It was generated using Bouncy Castle
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I forgot to mention, if you need help from me, do not hesitate !
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I've added experimental support to HEAD. This seems to decrypt the example OK
&lt;br&gt;&amp;gt; and can decrypt its own output. It adds a new option -pwri_password to the
&lt;br&gt;&amp;gt; cms utility (will need something better at some point).
&lt;/div&gt;&lt;br&gt;EXCELLENT ! This works on my machine:
&lt;br&gt;&lt;br&gt;&amp;nbsp; tar xvfz openssl-SNAP-20091127.tar.gz
&lt;br&gt;&amp;nbsp; cd openssl-SNAP-20091127/
&lt;br&gt;&amp;nbsp; ./config --prefix=$HOME/local --openssldir=$HOME/local/openssl
&lt;br&gt;&amp;nbsp; make
&lt;br&gt;&amp;nbsp; make install
&lt;br&gt;&amp;nbsp; /home/mathieu/local/bin/openssl cms &amp;nbsp;-decrypt -in DICOMDIR
&lt;br&gt;-pwri_password password -inform DER &amp;gt; out.dcm
&lt;br&gt;&lt;br&gt;Thanks so much :)
&lt;br&gt;-- 
&lt;br&gt;Mathieu
&lt;br&gt;______________________________________________________________________
&lt;br&gt;OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26543100&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26543100&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-CMS-with-PBE-%28Was-Re%3A-Decrypting-a-password-encrypted--pkcs7-envelopedData%29%3A-success-%21-tp26543100p26543100.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26542913</id>
	<title>Re: Memory leak issue in openssl</title>
	<published>2009-11-27T06:11:43Z</published>
	<updated>2009-11-27T06:11:43Z</updated>
	<author>
		<name>VijayK</name>
	</author>
	<content type="html">&amp;gt;&amp;gt;OpenSSL artifacts that are created by the application, then handed to 
&lt;br&gt;&amp;gt;&amp;gt;some other part of the API for use, so who is now responsible for the 
&lt;br&gt;&amp;gt;&amp;gt;destructions of them? &amp;nbsp;That kind of misunderstanding.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt;Darryl
&lt;br&gt;&lt;br&gt;&lt;br&gt;Hi Darryl,
&lt;br&gt;&lt;br&gt;To an extent you are correct. We have fixed the issue and it is due to our usage and clean up of openSSL BIOs. We have a BIO pair we got misled by the reference in following book that SSL_free will clean all the associated BIOs.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Book &amp;quot;Network Security with OpenSSL By Pravir Chandra, Matt Messier, John Viega&amp;quot;, Page:137, following paragraph.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;The last point to make about this example is that we removed the call to BIO_free. 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; This is done because SSL_free automatically frees the SSL object's underlying BIOs for us.&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;But later while we were referring to the documentation on openssl website, we came to know that SSL_free cleans up only one haf of the BIO pair where as the other half need to be cleaned using BIO_free. After adding this piece of code, the memory leak has vanished.
&lt;br&gt;&lt;br&gt;Thanks for your guidance.
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;Vijay
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Memory-leak-issue-in-openssl-tp26297284p26542913.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26542852</id>
	<title>RE: Adding a custom engine to OpenSSL</title>
	<published>2009-11-27T06:05:54Z</published>
	<updated>2009-11-27T06:05:54Z</updated>
	<author>
		<name>Loke Jun Han</name>
	</author>
	<content type="html">&lt;html&gt;
&lt;head&gt;

&lt;/head&gt;
&lt;body class='hmmessage'&gt;
Thanks, will try it out as soon as I can.&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;&lt;br&gt;Jun Han&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Date: Thu, 26 Nov 2009 13:24:29 +0100&lt;br&gt;&amp;gt; From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542852&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;steve@...&lt;/a&gt;&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542852&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;&lt;br&gt;&amp;gt; Subject: Re: Adding a custom engine to OpenSSL&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; On Thu, Nov 26, 2009, Loke Jun Han wrote:&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; &amp;gt; &lt;br&gt;&amp;gt; &amp;gt; Hi,&lt;br&gt;&amp;gt; &amp;gt; &lt;br&gt;&amp;gt; &amp;gt;        Is there anyway to for openSSL to automatically load a specific engine when the command line program is executed?&lt;br&gt;&amp;gt; &amp;gt; &lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; Yes, you specify details in the configuration file openssl.cnf, for the syntax&lt;br&gt;&amp;gt; see:&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; http://www.openssl.org/docs/apps/config.html&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; Steve.&lt;br&gt;&amp;gt; --&lt;br&gt;&amp;gt; Dr Stephen N. Henson. OpenSSL project core developer.&lt;br&gt;&amp;gt; Commercial tech support now available see: http://www.openssl.org&lt;br&gt;&amp;gt; ______________________________________________________________________&lt;br&gt;&amp;gt; OpenSSL Project                                 http
 ://www.openssl.org&lt;br&gt;&amp;gt; User Support Mailing List                    &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542852&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;&lt;br&gt;&amp;gt; Automated List Manager                           &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542852&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;&lt;/div&gt; 		 	   		  &lt;br /&gt;&lt;hr /&gt;New Windows 7: Find the right PC for you. &lt;a href='http://windows.microsoft.com/shop' target='_new' rel=&quot;nofollow&quot;&gt;Learn more.&lt;/a&gt;&lt;/body&gt;
&lt;/html&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Adding-a-custom-engine-to-OpenSSL-tp26526324p26542852.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26542819</id>
	<title>RE: Adding a custom engine to OpenSSL</title>
	<published>2009-11-27T06:02:10Z</published>
	<updated>2009-11-27T06:02:10Z</updated>
	<author>
		<name>Loke Jun Han</name>
	</author>
	<content type="html">&lt;html&gt;
&lt;head&gt;

&lt;/head&gt;
&lt;body class='hmmessage'&gt;
Yup.&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542819&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openSSL@...&lt;/a&gt;&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542819&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;&lt;br&gt;&amp;gt; Subject: Re: Adding a custom engine to OpenSSL&lt;br&gt;&amp;gt; Date: Thu, 26 Nov 2009 05:21:35 -0600&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; On Thu November 26 2009, Loke Jun Han wrote:&lt;br&gt;&amp;gt; &amp;gt; &lt;br&gt;&amp;gt; &amp;gt; Hi,&lt;br&gt;&amp;gt; &amp;gt; &lt;br&gt;&amp;gt; &amp;gt;        Is there anyway to for openSSL to automatically load a specific engine when the command line program is executed?&lt;br&gt;&amp;gt; &amp;gt; &lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; Like one of the engines in the list from:&lt;br&gt;&amp;gt; openssl engine&lt;br&gt;&amp;gt; ?&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; Mike&lt;br&gt;&amp;gt; &amp;gt; Thanks,&lt;br&gt;&amp;gt; &amp;gt; &lt;br&gt;&amp;gt; &amp;gt; Jun Han &lt;br&gt;&amp;gt; &amp;gt;  		 	   		  &lt;br&gt;&amp;gt; &amp;gt; _________________________________________________________________&lt;br&gt;&amp;gt; &amp;gt; Windows 7: Find the right PC for you. Learn more.&lt;br&gt;&amp;gt; &amp;gt; http://windows.microsoft.com/shop&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; ______________________________________________________________________&lt;br&gt;&amp;gt; OpenSSL Project                                 http://ww
 w.openssl.org&lt;br&gt;&amp;gt; User Support Mailing List                    &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542819&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;&lt;br&gt;&amp;gt; Automated List Manager                           &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542819&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;&lt;/div&gt; 		 	   		  &lt;br /&gt;&lt;hr /&gt;Windows 7: Find the right PC for you. &lt;a href='http://windows.microsoft.com/shop' target='_new' rel=&quot;nofollow&quot;&gt;Learn more.&lt;/a&gt;&lt;/body&gt;
&lt;/html&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Adding-a-custom-engine-to-OpenSSL-tp26526324p26542819.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26542799</id>
	<title>[FWD] Question on SSL_shutdown timeout</title>
	<published>2009-11-27T06:01:26Z</published>
	<updated>2009-11-27T06:01:26Z</updated>
	<author>
		<name>Lutz Jaenicke-3</name>
	</author>
	<content type="html">Forwarded to openssl-users for public discussion.
&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Lutz
&lt;br&gt;----- Forwarded message from Xavier De Kepper &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542799&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xavier.dekepper@...&lt;/a&gt;&amp;gt; -----
&lt;br&gt;&lt;br&gt;From: Xavier De Kepper &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542799&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xavier.dekepper@...&lt;/a&gt;&amp;gt;
&lt;br&gt;To: &amp;quot;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542799&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rt@...&lt;/a&gt;&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542799&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rt@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date: Fri, 27 Nov 2009 02:15:17 -0800
&lt;br&gt;Subject: Question on SSL_shutdown timeout
&lt;br&gt;Thread-Topic: Question on SSL_shutdown timeout
&lt;br&gt;Thread-Index: AcpvSoR93gXfC8xGT46vvjF0PlcdBQ==
&lt;br&gt;Accept-Language: fr-FR, en-US
&lt;br&gt;acceptlanguage: fr-FR, en-US
&lt;br&gt;&lt;br&gt;Hello,
&lt;br&gt;&lt;br&gt;I have a question concerning SSL_shutdown in case of SSLv3/TLSv1 connection.
&lt;br&gt;In my usecase, I send a request to a HTTPS server but got no response, therefore my application timeouts.
&lt;br&gt;Then the application is closing the connection with two calls to SSL_shutdown.
&lt;br&gt;Unfortunately the server doesn't respond to the &amp;quot;close notify&amp;quot; therefore the SSL_shutdown call timeout.
&lt;br&gt;&lt;br&gt;My question is what is the value of this timeout and how can it be configured ?
&lt;br&gt;I noticed that this timeout doesn't have always the same value.
&lt;br&gt;&lt;br&gt;I did a search on the web but didn't find anything on this topic.
&lt;br&gt;&lt;br&gt;Thank you very much,
&lt;br&gt;Xavier
&lt;br&gt;&lt;br&gt;&lt;br&gt;----- End forwarded message -----
&lt;br&gt;--
&lt;br&gt;Lutz Jaenicke &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542799&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jaenicke@...&lt;/a&gt;
&lt;br&gt;OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org/~jaenicke/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org/~jaenicke/&lt;/a&gt;&lt;br&gt;______________________________________________________________________
&lt;br&gt;OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542799&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542799&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-FWD--Question-on-SSL_shutdown-timeout-tp26542799p26542799.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26540710</id>
	<title>RE: General question about documentation</title>
	<published>2009-11-27T02:46:37Z</published>
	<updated>2009-11-27T02:46:37Z</updated>
	<author>
		<name>Mark-487</name>
	</author>
	<content type="html">Hi All, 
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Rene Hollan wrote:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Oh, you need to dig deeper, to understand the semantics and 
&lt;br&gt;&amp;gt; not just 
&lt;br&gt;&amp;gt; &amp;gt; the syntax of those APIs.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I didn't say using the source as documentation was 
&lt;br&gt;&amp;gt; convenient, but it 
&lt;br&gt;&amp;gt; &amp;gt; is possible, to any degree of detail you want.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; To wit: given the source code, it is possible to create 
&lt;br&gt;&amp;gt; documentation 
&lt;br&gt;&amp;gt; &amp;gt; to any degree of convenience. But, given some instance of external 
&lt;br&gt;&amp;gt; &amp;gt; documentation and no source, it is not possible to improve the 
&lt;br&gt;&amp;gt; &amp;gt; convenience factor of that documentation to an arbitrary degree.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Suggesting what people who donate their time DO is rather 
&lt;br&gt;&amp;gt; like herding 
&lt;br&gt;&amp;gt; &amp;gt; cats. Some like coding and others like documenting and some 
&lt;br&gt;&amp;gt; like both. 
&lt;br&gt;&amp;gt; &amp;gt; Perhaps instead of an admonition that the project needs better 
&lt;br&gt;&amp;gt; &amp;gt; documentation, a question regarding who is willing to contribute to 
&lt;br&gt;&amp;gt; &amp;gt; said better documentation is more in order.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; unluckily, those of us who most need the docs are least able to 
&lt;br&gt;&amp;gt; contribute, as I haven't the foggiest notion how to properly 
&lt;br&gt;&amp;gt; use any of 
&lt;br&gt;&amp;gt; the APIs at present. &amp;nbsp; I suppose I need to get the ORA book and start 
&lt;br&gt;&amp;gt; reading, as eventually I&amp;quot;m going to be helping another 
&lt;br&gt;&amp;gt; development team 
&lt;br&gt;&amp;gt; at work with getting an SSL connection going that needs to 
&lt;br&gt;&amp;gt; use a client 
&lt;br&gt;&amp;gt; certificate stored on a PKCS#11 PKI token, so I'll be sorting 
&lt;br&gt;&amp;gt; out how to 
&lt;br&gt;&amp;gt; use libssl w/ opensc's engine-pkcs11 module, who's 
&lt;br&gt;&amp;gt; documentation is just 
&lt;br&gt;&amp;gt; about as non-existant as that of openssl. &amp;nbsp;this task was very easy in 
&lt;br&gt;&amp;gt; Java, as Java's SecureSocket hides all the complexity, up to and 
&lt;br&gt;&amp;gt; including full support for PKCS#11 plugins.
&lt;/div&gt;&lt;br&gt;The O'Reilly book is essential reading IMHO but it is far from a
&lt;br&gt;complete
&lt;br&gt;guide to OpenSSL. &amp;nbsp;There are many APIs that it does not mention at all.
&lt;br&gt;It is also quite old now (2002).
&lt;br&gt;&lt;br&gt;I realize that in Open source projects it is hard to find the time to
&lt;br&gt;document
&lt;br&gt;the software but I believe that documentation is an essential part of
&lt;br&gt;any
&lt;br&gt;project, especially something as complex as OpenSSL.
&lt;br&gt;&lt;br&gt;Even if a wiki turnout out to be a better FAQ then it would still be
&lt;br&gt;very useful IMHO.
&lt;br&gt;&lt;br&gt;Is it possible to gain sponsorship for this project or charge for the
&lt;br&gt;documentation,
&lt;br&gt;or make a commercial variant of OpenSSL which can support the open
&lt;br&gt;source
&lt;br&gt;version?
&lt;br&gt;&lt;br&gt;Mark.
&lt;br&gt;&lt;br&gt;______________________________________________________________________
&lt;br&gt;OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26540710&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26540710&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Getting-started---d2i_PKCS12_fp-tp26374160p26540710.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26540445</id>
	<title>Re: openssl and hardware tokens</title>
	<published>2009-11-27T02:17:29Z</published>
	<updated>2009-11-27T02:17:29Z</updated>
	<author>
		<name>Nicolas Pelloux-Prayer</name>
	</author>
	<content type="html">I&amp;#39;m currently working on a similar task during the development of a TLS client (with client-side authentication), using a PKCS#11 hardware token.&lt;br&gt;&lt;br&gt;The main problem we encountered is that we cannot access the private key stored in the token; Therefore we made an engine which implements RSA signature methods, and used a fake private key file to make OpenSSL think the user cert &amp;amp; private key are present (state SSL3_ST_CW_CERT_B in d1_clnt.c) to be able to run to the CertificateVerify message signature state,  which is performed by our engine using our user private key inside the token.&lt;br&gt;
&lt;br&gt;Actually it works, but this approach doesn&amp;#39;t feel right as we basically fool the api... I wondered if someone had a better idea of how to do this properly, like a way to make OpenSSL know the engine will handle the private key itself and will not extract it, it would be very helpfull.&lt;br&gt;

&lt;br&gt;Best regards,&lt;br&gt;Nicolas&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/11/16 Victor B. Wagner &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26540445&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;vitus@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

&lt;div&gt;On 2009.11.13 at 04:44:02 -0800, Mansour Dagher wrote:&lt;br&gt;
&lt;br&gt;
&amp;gt; Hi all,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; if certificates and associated keys are stored on HW (Sun crypto card for example), is there a way in openssl to specify the card as the location of these certificates/kets?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; It appears from the methods below, the openSSL only takes filesystem directory paths and file names as input for certificate/key locations:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; X509_STORE_load_locations()&lt;br&gt;
&amp;gt; SSL_CTX_use_certificate_chain_file()&lt;br&gt;
&amp;gt; SSL_CTX_use_PrivateKey_file()&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Any suggestions/thought?&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;There is SSL_CTX_use_PrivateKey which allows you to use private key&lt;br&gt;
already loaded into memory as EVP_PKEY structure.&lt;br&gt;
&lt;br&gt;
There is ENGINE_load_private_key function, which allows to create&lt;br&gt;
EVP_PKEY structure engine-specific way. Engine is a module, which&lt;br&gt;
handles interaction with some crypto hardware. Really this EVP_PKEY can&lt;br&gt;
contain just reference for key stored in the hardware.&lt;br&gt;
&lt;br&gt;
If engine-initialization code sets up an RSA/DSA/other PKEY method which&lt;br&gt;
knows how to hand of crypto operation to the hardware, you can use&lt;br&gt;
key stored on the token (and never actually leaves it) for all&lt;br&gt;
operations - either PKCS7/CMS/SMIME or SSL/TLS.&lt;br&gt;
&lt;br&gt;
If you store trusted CA certificates on the token as well, engine module&lt;br&gt;
can also provide X509_STORE method, which can be used for certificate&lt;br&gt;
verification. I don&amp;#39;t remember in which version of OpenSSL support for&lt;br&gt;
engine-provided X509_STORE method is appeared.&lt;br&gt;
&lt;br&gt;
Things are somewhat worse for certificates for the your private key.&lt;br&gt;
&lt;br&gt;
There was no ENGINE api to load certificates from token in the 0.9.8&lt;br&gt;
version.&lt;br&gt;
&lt;br&gt;
In the 1.0.0 function ENGINE_load_ssl_client_cert appeared, which allows&lt;br&gt;
you to load certificate/private key pair given list of CA names&lt;br&gt;
acceptable by server. This function seems to be designed for use from&lt;br&gt;
SSL client certificate callback.&lt;br&gt;
&lt;br&gt;
But there still no API for loading SSL server certificate/key pair and&lt;br&gt;
for loading SMIME certificate/key pair, not to mention loading&lt;br&gt;
certificate with arbitrary extendedKeyUsage.&lt;br&gt;
&lt;br&gt;
But main problem is that when one want to use hardware token with&lt;br&gt;
OpenSSL, it typically means tha one want to use token with existing&lt;br&gt;
openssl applications, such as Apache, Lynx, OpenVPN etc.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
OpenVPN has some support for PKCS#11 modules, but I&amp;#39;ve never tried it.&lt;br&gt;
&lt;br&gt;
Other applications cannot make use of OpenSSL engine API without&lt;br&gt;
modifications.&lt;br&gt;
&lt;br&gt;
I&amp;#39;m not sure that they can work with X509_STORE method provided by&lt;br&gt;
engine, even this method is set as default. Some client applications&lt;br&gt;
such as lynx and wget are happy with X509_STORE_set_default_locations,&lt;br&gt;
but most server applications want greater control on trusted CA store.&lt;br&gt;
&lt;br&gt;
Few years ago I&amp;#39;ve submitted patch for PostgreSQL which allows to use&lt;br&gt;
keys loaded via ENGINE_load_private_keys to connect to PostgreSQL&lt;br&gt;
database and this patch got into PostgreSQL 8.3 version.&lt;br&gt;
But that time there was no API to load certificates. Now, when we have&lt;br&gt;
ENGINE_load_ssl_client_cert and PostgreSQL 8.4 have certificate&lt;br&gt;
authentication support may be it is time for new patch.&lt;br&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&amp;gt; Thank you in advance.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; ______________________________________________________________________&lt;br&gt;
&amp;gt; OpenSSL Project                                 &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;
&amp;gt; User Support Mailing List                    &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26540445&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;&lt;br&gt;
&amp;gt; Automated List Manager                           &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26540445&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
______________________________________________________________________&lt;br&gt;
OpenSSL Project                                 &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;
User Support Mailing List                    &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26540445&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;&lt;br&gt;
Automated List Manager                           &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26540445&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/openssl-and-hardware-tokens-tp26336133p26540445.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26538037</id>
	<title>Re: Add new crypto algorithm into Openssl</title>
	<published>2009-11-26T21:15:13Z</published>
	<updated>2009-11-26T21:15:13Z</updated>
	<author>
		<name>Ger Hobbelt-2</name>
	</author>
	<content type="html">step 0
&lt;br&gt;&lt;br&gt;Well, first off a warning (and please read this despite the
&lt;br&gt;admonishing tone it might have; crypto work is playing with live guns
&lt;br&gt;and if a little up-front warning can prevent you from pointing it at
&lt;br&gt;your foot witthout notiing while you ask &amp;quot;is this the trigger, sir?&amp;quot; I
&lt;br&gt;opt for the sermon so survival rate will maybe be a bit higher this
&lt;br&gt;year ;-) ): writing crypto code, especially implementing cryptographic
&lt;br&gt;algorithms themselves, is not for the faint of heart and is definitely
&lt;br&gt;/not/ a good exercise to get to learn a programming language or
&lt;br&gt;development environment - it may sound wicked cool or whatever, but
&lt;br&gt;know that the experience is tough and exacting at several levels and
&lt;br&gt;only truly appealing to anal retentives, so trying this on for size
&lt;br&gt;too early will only cause utter devastation and deception to you.
&lt;br&gt;Crypto is 0% nice and 100% evil and 'Unforgiving' is it's middle name.
&lt;br&gt;&lt;br&gt;This warning has to be given, because experience shows that's what
&lt;br&gt;happens from dabbling with these goods too early; though the
&lt;br&gt;government reasons were/are different, it still should be treated as
&lt;br&gt;live ammunitions (guns and stuff), locked and loaded to go and quite
&lt;br&gt;like the antique ones: no safety switch /anywhere/.
&lt;br&gt;&lt;br&gt;&lt;br&gt;So I'll assume you are fluent in 'C', don't mind a bit of perl on the
&lt;br&gt;side, breathe Makefiles like they're oxygen and are familiar with the
&lt;br&gt;UNIX development platform at console level - forget about the shiny
&lt;br&gt;IDEs for now. That means you can juggle with 'grep', 'sed', 'awk',
&lt;br&gt;'find' and other commandline friends and might be able to teach me a
&lt;br&gt;lesson or two about those.
&lt;br&gt;When you are working on a Windows platform (like I usually am), you
&lt;br&gt;have several years experience of porting UNIX / Windows apps back and
&lt;br&gt;forth and you know a linker from a librarian and don't break out a
&lt;br&gt;sweat when the debugger acts hairy today. You also already have
&lt;br&gt;acquired your own commandline awk/sed/perl/find/etc. equivalents or
&lt;br&gt;are completely confident that you can do the same with the native
&lt;br&gt;Windows commandline tools.
&lt;br&gt;&lt;br&gt;If you are not perfectly comfortable with that list, or have not used
&lt;br&gt;some or all of the tools mentioned above yet, make yourself familiar
&lt;br&gt;with those. (Knowing either sed or awk is fine; all the others are
&lt;br&gt;each mandatory and non-interchangeable.) Take several months, because
&lt;br&gt;you don't want to fight this battle at both a tool, a code and a
&lt;br&gt;protocol level all at once.
&lt;br&gt;&lt;br&gt;Therefore, the next few steps are described in somewhat terse language
&lt;br&gt;at times - they assume you know all this and are saying to me right
&lt;br&gt;now &amp;quot;no worries! now please get on with it!&amp;quot;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;step 1
&lt;br&gt;&lt;br&gt;You have a full source distribution of OpenSSL. You have compiled and
&lt;br&gt;run the library itself and the test tools that come with it and you
&lt;br&gt;have made bloody darn sure those tools are actually the ones compiled
&lt;br&gt;by you yourself and are running the openssl library version you just
&lt;br&gt;compiled. They should /not/ by any coincidence whatsoever happen to
&lt;br&gt;work because you inadvertedly started their prebuilt and installed
&lt;br&gt;copies that come with almost all Linux/BSD distros these days.
&lt;br&gt;&lt;br&gt;You know what to do when you are not sure whether you adhere to the
&lt;br&gt;above and you already know several ways to indeed verify this.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;step 2
&lt;br&gt;&lt;br&gt;[There's a discussion going on here about documentation and use cases
&lt;br&gt;just appeared there, but we'll ignore that for now and use that corny
&lt;br&gt;line of developers of all ages: &amp;quot;Use the Source, Luke!&amp;quot;]
&lt;br&gt;&lt;br&gt;You make sure you are familiar with the openssl, s_server and s_client
&lt;br&gt;tools and anything else in the kit that is needed to set up a sample
&lt;br&gt;environment where you can perform the cryptographic actions you wish
&lt;br&gt;to perform with your new algorithm. Of course you ensure these
&lt;br&gt;operations work as expected when you pick a few different options and
&lt;br&gt;algorithms.
&lt;br&gt;&lt;br&gt;What I call checking out the neighbourhood.
&lt;br&gt;&lt;br&gt;Here I would go a bit further even; there's several tutorials on the
&lt;br&gt;net how to generate a client and server certificate and how to apply
&lt;br&gt;it to s_server and s_client so you can play with both for a while,
&lt;br&gt;even when your final solution does not require certificates or SSL.
&lt;br&gt;Getting to know these tools helps you in testing your own work later
&lt;br&gt;on as you attained flexibility in testing approach; a good
&lt;br&gt;implementation should be able to handle these operations you are now
&lt;br&gt;playing with.
&lt;br&gt;&lt;br&gt;&lt;br&gt;step 3
&lt;br&gt;&lt;br&gt;Time to dive into the code proper. First things first: the SSL
&lt;br&gt;protocol is in the ssl/ directory[*]; no need to touch that, because
&lt;br&gt;new crypto algorithms either go directly into libcrypto or are created
&lt;br&gt;as a new 'engine' -- the latter is highly preferred, but both are
&lt;br&gt;possible. The former is harder (= more costly) once your code enters
&lt;br&gt;the maintenance cycle as you'll have to remerge and review every point
&lt;br&gt;release to ensure you're up to par. Better take the road, which is a
&lt;br&gt;bit harder for starters, but has a far better potential play at later
&lt;br&gt;dev stages: a crypto engine plugin.
&lt;br&gt;Yes, that's right, just like the GOST one.
&lt;br&gt;&lt;br&gt;Before you go there, realize this: all crypto actions, hashing,
&lt;br&gt;ciphering, etc., should travel through the EVP calls/layer. Rule of
&lt;br&gt;thumb.
&lt;br&gt;Not always true everywhere, but stick to this as a rule of thumb for
&lt;br&gt;99.99% of cases and you didn't ask the question you asked when you're
&lt;br&gt;in that .01% zone anyway, trust me. ;-)
&lt;br&gt;&lt;br&gt;Try to see the flow for a basic 'enc'/'dec' encryption and decryption;
&lt;br&gt;you need this, because your code will be part of this flow. Do
&lt;br&gt;yourself a favour:
&lt;br&gt;&lt;br&gt;- prep out your favorite debugger
&lt;br&gt;- test a commandline for 'enc' and 'dec' (which is 'enc -d') using
&lt;br&gt;AES128, some content and a key you randomly picked, and make sure it
&lt;br&gt;works.
&lt;br&gt;- do the same, now for GOST.
&lt;br&gt;- having those commandlines and testfiles at the ready, kickstart the
&lt;br&gt;debugger and rerun the buggers again while you trace the callstack and
&lt;br&gt;step through the functions.
&lt;br&gt;&lt;br&gt;What you should see happen is 'enc' digging up some info about the
&lt;br&gt;AES128 cipher (EVP_get_cipherbyname()) -- which is lateron going to be
&lt;br&gt;able to deliver info about your own cipher when you did get everything
&lt;br&gt;right in the end! -- then travel further, into several EVP_xyz calls,
&lt;br&gt;which you now know are the wrapping layer around /all/ crypto
&lt;br&gt;activity, so we enter those, and for AES you'll end up at one in the
&lt;br&gt;code that can be found in the directory
&lt;br&gt;&amp;nbsp;crypto/aes/*.[cs]
&lt;br&gt;and don't worry about all the lines, the call stack is a /big/ hint
&lt;br&gt;about what's going down, just by looking at the names, while you
&lt;br&gt;familiarize yourself with the EVP structures.
&lt;br&gt;&lt;br&gt;Do this for AES first - notice that the whole engine party will be
&lt;br&gt;skipped completely, because AES is a core library crypto cipher - to
&lt;br&gt;see how it goes down 'old skool'. Know that 'engines' extend on this.
&lt;br&gt;&lt;br&gt;When you run into the surprise of landing in assembly language or
&lt;br&gt;parts that are not accessible to sourceview in your debuger or some
&lt;br&gt;such, reconfigure your OpenSSL copy with the 'no-asm' config flag and
&lt;br&gt;rebuild the whole shebang. What this does is rip out all the highly
&lt;br&gt;optimized assembly code (the *.s files) and build a C-only library.
&lt;br&gt;It's slower but it's C, front to back all the way now. Try the
&lt;br&gt;debugger again and see whether you can go everywhere. Watch the
&lt;br&gt;callstack as it will tell you what is happening and after a while
&lt;br&gt;you'll get a sense of when to skip or enter calls. This is mandatory,
&lt;br&gt;because you will be debugging your own produce too -- I have yet to
&lt;br&gt;meet someone who could write non-trivial code blocks and not have a
&lt;br&gt;bug lurking in there at the end.
&lt;br&gt;&lt;br&gt;Now you have a feel for how core ciphers travel the code: DES, AES,
&lt;br&gt;RC5, they're all the same that way. Different directories in ./crypto/
&lt;br&gt;but look at those interfaces: they're all the same for all the secret
&lt;br&gt;key ciphers.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;[*]Footnote: when you wish to use your own cipher over communication
&lt;br&gt;lines using SSL/TLS/DTLS, you will find that you'll need to edit a few
&lt;br&gt;bits in some definition arrays in the ssl/ directory, but that's
&lt;br&gt;specialist stuff for step6 or maybe it should be a step7. File this
&lt;br&gt;bit away for later and retrieve when you need it.
&lt;br&gt;&lt;br&gt;&lt;br&gt;step 4
&lt;br&gt;&lt;br&gt;Side note: if you wish to implement a new hash, the story is similar,
&lt;br&gt;but hashes are different animals, so they travel a slightly different
&lt;br&gt;path. You both mentioned 'cipher' so I'll leave it at that - once
&lt;br&gt;you've looked at a few, the pattern will emerge, surely.
&lt;br&gt;&lt;br&gt;So this time we're going to see how GOST is employed through the
&lt;br&gt;ENGINE interface -- which sits in both
&lt;br&gt;&amp;nbsp; ./crypto/engine/*.[ch]
&lt;br&gt;and
&lt;br&gt;&amp;nbsp; ./engines/*
&lt;br&gt;where the first constitutes the generic interface on the libcrypto
&lt;br&gt;side, while the latter, ./engines/ , carries the different hard- and
&lt;br&gt;software based engines. Several in there are smaller in implementation
&lt;br&gt;that GOST, but when you have a look you'll find that critical parts
&lt;br&gt;are 'missing': those are hardware-based crypto devices which expect
&lt;br&gt;the presence of a hardware/device lib on the backend side of things,
&lt;br&gt;so unless you have such 'dongles', they're useless. Hence we stick to
&lt;br&gt;GOST, as that's a 100% software based engine.
&lt;br&gt;&lt;br&gt;You know what to do: enc/dec and maybe a few other things to wish to
&lt;br&gt;try, now with GOST instead of AES128 as the selected cipher and each
&lt;br&gt;of those commandlines executed in the debugger while having a look at
&lt;br&gt;the callstack, etc.
&lt;br&gt;&lt;br&gt;&lt;br&gt;By now you've a mental image of where OpenSSL will go when you execute
&lt;br&gt;the cipher code, so you have a good initial idea where to poke when
&lt;br&gt;you're going to test your own brand new engine.
&lt;br&gt;&lt;br&gt;&lt;br&gt;step 5
&lt;br&gt;&lt;br&gt;there's several ways to create a new engine, starting from scratch or
&lt;br&gt;borrowing, and though I personally prefer doing such things from
&lt;br&gt;scratch, it is easier to borrow GOST for this, because we can do this
&lt;br&gt;thing in smaller steps. The first is
&lt;br&gt;&amp;nbsp; faking it.
&lt;br&gt;&lt;br&gt;That is: we're going to act like our stuff is already done, tested and
&lt;br&gt;all, and exactly the same quality of work as GOST. Which means we're
&lt;br&gt;going to copy /all/ engines/ccgost files into a new directory, say
&lt;br&gt;&amp;nbsp; cp -R engines/ccgost/ engines/mycipher2009/
&lt;br&gt;after we checked where GOST references might be hiding, which is
&lt;br&gt;easily found by running
&lt;br&gt;&amp;nbsp; &amp;nbsp;grep -i gost `find . -type f -print` -l
&lt;br&gt;in the openSSL base directory. It should list a couple of
&lt;br&gt;makefiles,everything in the engines/ccgost/ and a few other files as
&lt;br&gt;well. Note those locations, because that's the places where we'll go
&lt;br&gt;to do the 'fake'.
&lt;br&gt;&lt;br&gt;Having copied GOST, we now declare this cipher to be our own
&lt;br&gt;magnificent work called 'mycipher2009' so I'll refer to the
&lt;br&gt;requirements mentioned above and that should combine nicely with the
&lt;br&gt;hint of a little
&lt;br&gt;sed -e 's/GOST/MYCIPHER2009/g'
&lt;br&gt;sed -e 's/gost/mycipher2009/g'
&lt;br&gt;editing of everything in your new mycipher2009 directory.
&lt;br&gt;Plus opening each other file mentioned by that
&lt;br&gt;&amp;nbsp; &amp;nbsp;grep -i gost `find . -type f -print` -l
&lt;br&gt;to see whether we need to vi yy,p the GOST lines in there and edit
&lt;br&gt;gost into mycipher2009 in the copies.
&lt;br&gt;Some files may not need to be changed as they are not relevant to the
&lt;br&gt;build process, but you bet editing the Makefiles is mandatory: add you
&lt;br&gt;new one to the ENGDIRS, for instance, and otherwise inspect each of
&lt;br&gt;those files listed by grep to see and decide whether you should add
&lt;br&gt;you mycipher2009 stuff there.
&lt;br&gt;&lt;br&gt;Now that you have made a mirror-copy of GOST under a new name, it's
&lt;br&gt;time to recompile/rebuild and see where you forgot something; expect
&lt;br&gt;the process to go belly up and dig around a bit to fix that. It isn't
&lt;br&gt;hard, it's just work.
&lt;br&gt;Once you have new builds of all the tools all that previous
&lt;br&gt;seemingly-nonsense walking about I had you pays off, because the only
&lt;br&gt;thing to worry about now is whether or not your mycipher2009 engine
&lt;br&gt;gets integrated correctly or not: you know the tools, so you know how
&lt;br&gt;to list the 'known ciphers' using the openssl tool, you know how to
&lt;br&gt;use GOST, so you can now pick your mycipher2009 instead and try with
&lt;br&gt;that and given the fact that you just ripped off a copy of GOST the
&lt;br&gt;encrypted data should even match up with the GOST runs: both
&lt;br&gt;mycipher2009 and GOST are identical twins now, after all.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Which has you set up for a fresh new engine of your own.
&lt;br&gt;&lt;br&gt;The hard part is 'step 6' which will depend on what you want to do:
&lt;br&gt;here the work on your own cipher starts, as those debugger-assisted
&lt;br&gt;walks have given you a clear idea where goes what inside the GOST
&lt;br&gt;engine and with a bit of source-inspection you can start ripping out
&lt;br&gt;parts and replace them by your own. Easy as pie. ;-) &amp;lt;yes, that was an
&lt;br&gt;evil grin, right there&amp;gt;
&lt;br&gt;&lt;br&gt;Before you go, do yourself a favor and make a backup - so in case of
&lt;br&gt;panic you don't have to return to step1 but can backpedal to
&lt;br&gt;mycipher2009 and GOST being identical twins, which spares a bit of
&lt;br&gt;work when the faeces hit the propellors.
&lt;br&gt;&lt;br&gt;So far the story of building engines. You've got a lot of ground to
&lt;br&gt;cover getting to step6, so I'll assume for now that this is enough to
&lt;br&gt;get you occupied for a while and that last bit of integrating your own
&lt;br&gt;cipher, well, by hen you've seen enough code flows to have a pretty
&lt;br&gt;good idea where you're going.
&lt;br&gt;&lt;br&gt;Take care,
&lt;br&gt;&lt;br&gt;Ger
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;PS: forgot to mention this: pick a OpenSSL tree distribution you feel
&lt;br&gt;safe about; I myself like to ride bleeding edge from CVS HEAD, but
&lt;br&gt;that may get you a few surprises at times where you don't want any, so
&lt;br&gt;my advice would be to take the latest bundled tar.gz release and go
&lt;br&gt;from there.
&lt;br&gt;&lt;br&gt;[When you go with latest as of the date of this writing, be aware
&lt;br&gt;there's an issue lurking in the SSL renegotiation code that is under
&lt;br&gt;scrutiny right now, so check up on that again once it becomes
&lt;br&gt;important to you: you might need to download the next distrib package
&lt;br&gt;then for this particular communication feature fix-of-a-fix, which is
&lt;br&gt;a nice exercise in merging your code with an updated OpenSSL source
&lt;br&gt;tree -- there's code merge tools for that; I use a semi-manual process
&lt;br&gt;through a windows app called 'Beyond Compare' but that's because I'm
&lt;br&gt;very comfortable with that one and I like to be in total control over
&lt;br&gt;which lines enter my repositories where and when. Pick your own
&lt;br&gt;favorite here. &amp;nbsp;This little blurb is only important when you employ
&lt;br&gt;OpenSSL for its secure /comminucation/ abilities, i.e. when you use it
&lt;br&gt;to provide SSL/TLS/DTLS or anything that's riding on top of that.]
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;On Wed, Nov 25, 2009 at 12:05 PM, Mystic Boy &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26538037&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sbprabhakar@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Gloria Lee wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt; I wanna ask something...
&lt;br&gt;&amp;gt;&amp;gt; Im trying to add crypto algorithm into Openssl,
&lt;br&gt;&amp;gt;&amp;gt; I heard about the engine(ccgost), and read the README.txt file, but I
&lt;br&gt;&amp;gt;&amp;gt; don't understand
&lt;br&gt;&amp;gt;&amp;gt; how to do it..
&lt;br&gt;&amp;gt;&amp;gt; I wonder If I add my own algorithm, Do I just copy ccgost pattern? or have
&lt;br&gt;&amp;gt;&amp;gt; to change
&lt;br&gt;&amp;gt;&amp;gt; entire openssl core source??..
&lt;br&gt;&amp;gt;&amp;gt; Besides that, I want to know how to use ccgost engine, It's very hard for
&lt;br&gt;&amp;gt;&amp;gt; me.
&lt;br&gt;&amp;gt;&amp;gt; Thanks,... :)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; I am also trying to add new crypto algo. to the crypto library. But didn't
&lt;br&gt;&amp;gt; succeed. I explored OpenSSL/crypto library, it's different algo. has
&lt;br&gt;&amp;gt; dependencies on different files.
&lt;br&gt;&amp;gt; I am looking forward for help
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks:
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context: &lt;a href=&quot;http://old.nabble.com/Add-new-crypto-algorithm-into-Openssl-tp26488823p26510888.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Add-new-crypto-algorithm-into-Openssl-tp26488823p26510888.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the OpenSSL - User mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt; ______________________________________________________________________
&lt;br&gt;&amp;gt; OpenSSL Project                                 &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;&amp;gt; User Support Mailing List                    &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26538037&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Automated List Manager                           &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26538037&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Met vriendelijke groeten / Best regards,
&lt;br&gt;&lt;br&gt;Ger Hobbelt
&lt;br&gt;&lt;br&gt;--------------------------------------------------
&lt;br&gt;web: &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://www.hobbelt.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.hobbelt.com/&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.hebbut.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.hebbut.net/&lt;/a&gt;&lt;br&gt;mail: &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26538037&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ger@...&lt;/a&gt;
&lt;br&gt;mobile: +31-6-11 120 978
&lt;br&gt;--------------------------------------------------
&lt;br&gt;______________________________________________________________________
&lt;br&gt;OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26538037&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26538037&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Add-new-crypto-algorithm-into-Openssl-tp26488823p26538037.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26536646</id>
	<title>Re: General question about documentation</title>
	<published>2009-11-26T16:42:56Z</published>
	<updated>2009-11-26T16:42:56Z</updated>
	<author>
		<name>Randy Turner-2</name>
	</author>
	<content type="html">&lt;br&gt;This is an example of a relatively common use-case that I was alluding to in a previous email...it would be nice to not have to figure this out either by guessing, reverse-engineering something, or other sub-optimal form of development strategy....
&lt;br&gt;&lt;br&gt;Randy
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Nov 26, 2009, at 4:03 PM, John R Pierce wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Rene Hollan wrote:
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Oh, you need to dig deeper, to understand the semantics and not just the syntax of those APIs.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; I didn't say using the source as documentation was convenient, but it is possible, to any degree of detail you want.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; To wit: given the source code, it is possible to create documentation to any degree of convenience. But, given some instance of external documentation and no source, it is not possible to improve the convenience factor of that documentation to an arbitrary degree.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Suggesting what people who donate their time DO is rather like herding cats. Some like coding and others like documenting and some like both. Perhaps instead of an admonition that the project needs better documentation, a question regarding who is willing to contribute to said better documentation is more in order.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; unluckily, those of us who most need the docs are least able to contribute, as I haven't the foggiest notion how to properly use any of the APIs at present. &amp;nbsp; I suppose I need to get the ORA book and start reading, as eventually I&amp;quot;m going to be helping another development team at work with getting an SSL connection going that needs to use a client certificate stored on a PKCS#11 PKI token, so I'll be sorting out how to use libssl w/ opensc's engine-pkcs11 module, who's documentation is just about as non-existant as that of openssl. &amp;nbsp;this task was very easy in Java, as Java's SecureSocket hides all the complexity, up to and including full support for PKCS#11 plugins.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; .
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ______________________________________________________________________
&lt;br&gt;&amp;gt; OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;&amp;gt; User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536646&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536646&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;______________________________________________________________________
&lt;br&gt;OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536646&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536646&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Getting-started---d2i_PKCS12_fp-tp26374160p26536646.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26536636</id>
	<title>Re: General question about documentation</title>
	<published>2009-11-26T16:40:41Z</published>
	<updated>2009-11-26T16:40:41Z</updated>
	<author>
		<name>Randy Turner-2</name>
	</author>
	<content type="html">&lt;br&gt;Yes, I noted that usage of the APIs in combination with common use-cases is more appropriate, but this doesn't obviate the need for per-API documentation, as has occurred so far on the openssl website.
&lt;br&gt;&lt;br&gt;And I agree with the previous point that we should be trying to collectively figure out how to update the documentation in sync with the available features and functionality of the 1.0 release.
&lt;br&gt;&lt;br&gt;Randy
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;On Nov 26, 2009, at 3:35 PM, John R Pierce wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Finally, the source code IS the only reliable source of documentation (assuming you can trust your compiler, OS, and hardware to do &amp;quot;the right thing&amp;quot;). It isn't the most CONVENIENT, which is why we desire other forms.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; the implementation details of the 250-odd API entry points in libssl.so would tell me very little about how to properly USE those APIs, and in fact, designing an application around my interpretation of the library developers intent would likely lead me down some rabbit holes I'd rather not explore.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This is my idea of how open source documentation should be organized and written.
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.postgresql.org/docs/current/static/index.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.postgresql.org/docs/current/static/index.html&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ______________________________________________________________________
&lt;br&gt;&amp;gt; OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;&amp;gt; User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536636&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536636&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;______________________________________________________________________
&lt;br&gt;OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536636&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536636&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Getting-started---d2i_PKCS12_fp-tp26374160p26536636.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26536479</id>
	<title>Re: General question about documentation</title>
	<published>2009-11-26T16:16:33Z</published>
	<updated>2009-11-26T16:16:33Z</updated>
	<author>
		<name>Tim Ward-3</name>
	</author>
	<content type="html">From: &amp;quot;John R Pierce&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536479&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pierce@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; this task was very easy in Java, as Java's SecureSocket hides all the 
&lt;br&gt;&amp;gt; complexity, up to and including full support for PKCS#11 plugins.
&lt;br&gt;&lt;br&gt;Weren't you lucky.
&lt;br&gt;&lt;br&gt;I gave up trying to do that sort of thing in Java when I ran across its 
&lt;br&gt;habit of doing reverse DNS lookups on every IP address it came across, just 
&lt;br&gt;in case it needed the FQDN for anything (I think it was stuck in the mindset 
&lt;br&gt;of &amp;quot;people only use SSL to talk to web servers, don't they, and the only way 
&lt;br&gt;of validating a web server is a certificate containing an FDQN, isn't it, so 
&lt;br&gt;whenever I see an IP address I'd better get the FQDN, hadn't I, because I'm 
&lt;br&gt;bound to need it soon, aren't I&amp;quot;).
&lt;br&gt;&lt;br&gt;Well, no, actually. Guess what: sometimes people use SSL for purposes other 
&lt;br&gt;than talking to web severs, and in the cases of embedded devices with no DNS 
&lt;br&gt;records talking to each other by explicitly configured IP address the DNS 
&lt;br&gt;lookup took minutes to time out before Java would deign to get on with doing 
&lt;br&gt;what it was told. With no way of switching this nonsense off. Hence I used a 
&lt;br&gt;C++ DLL to do the crypto stuff.
&lt;br&gt;&lt;br&gt;Tim Ward - Brett Ward Limited - 07801 703 600
&lt;br&gt;www.brettward.co.uk 
&lt;br&gt;&lt;br&gt;______________________________________________________________________
&lt;br&gt;OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536479&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536479&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Getting-started---d2i_PKCS12_fp-tp26374160p26536479.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26536458</id>
	<title>Secure command line &quot;enc -K&quot;</title>
	<published>2009-11-26T16:10:39Z</published>
	<updated>2009-11-26T16:10:39Z</updated>
	<author>
		<name>Michael D. Adams</name>
	</author>
	<content type="html">Is there a way to securely pass an exact key to &amp;quot;openssl enc&amp;quot;? &amp;nbsp;The
&lt;br&gt;&amp;quot;-pass&amp;quot; option is looking for a password that it will pass though a
&lt;br&gt;key derivation function (IIUC), but I want to specify the exact binary
&lt;br&gt;key to use without it being passed though a key derivation function.
&lt;br&gt;The &amp;quot;-K&amp;quot; option would fit my needs, except that since it requires the
&lt;br&gt;key to be put on the literal command line, it exposes the key to other
&lt;br&gt;users on the same system (they can run &amp;quot;ps -f&amp;quot;).
&lt;br&gt;&lt;br&gt;I'm looking for something like &amp;quot;-pass file:&amp;lt;keyfile&amp;gt;&amp;quot; (to keep the key
&lt;br&gt;off the command line) except I want to bypass the key derivation
&lt;br&gt;function. &amp;nbsp;(If I were hashing instead of encoding I would just use
&lt;br&gt;&amp;quot;openssl sha1 -sign hmac.pem&amp;quot;.)
&lt;br&gt;&lt;br&gt;Michael D. Adams
&lt;br&gt;______________________________________________________________________
&lt;br&gt;OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536458&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536458&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Secure-command-line-%22enc--K%22-tp26536458p26536458.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26536407</id>
	<title>Re: General question about documentation</title>
	<published>2009-11-26T16:03:03Z</published>
	<updated>2009-11-26T16:03:03Z</updated>
	<author>
		<name>John R Pierce</name>
	</author>
	<content type="html">Rene Hollan wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Oh, you need to dig deeper, to understand the semantics and not just 
&lt;br&gt;&amp;gt; the syntax of those APIs.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I didn't say using the source as documentation was convenient, but it 
&lt;br&gt;&amp;gt; is possible, to any degree of detail you want.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; To wit: given the source code, it is possible to create documentation 
&lt;br&gt;&amp;gt; to any degree of convenience. But, given some instance of external 
&lt;br&gt;&amp;gt; documentation and no source, it is not possible to improve the 
&lt;br&gt;&amp;gt; convenience factor of that documentation to an arbitrary degree.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Suggesting what people who donate their time DO is rather like herding 
&lt;br&gt;&amp;gt; cats. Some like coding and others like documenting and some like both. 
&lt;br&gt;&amp;gt; Perhaps instead of an admonition that the project needs better 
&lt;br&gt;&amp;gt; documentation, a question regarding who is willing to contribute to 
&lt;br&gt;&amp;gt; said better documentation is more in order.
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;unluckily, those of us who most need the docs are least able to 
&lt;br&gt;contribute, as I haven't the foggiest notion how to properly use any of 
&lt;br&gt;the APIs at present. &amp;nbsp; I suppose I need to get the ORA book and start 
&lt;br&gt;reading, as eventually I&amp;quot;m going to be helping another development team 
&lt;br&gt;at work with getting an SSL connection going that needs to use a client 
&lt;br&gt;certificate stored on a PKCS#11 PKI token, so I'll be sorting out how to 
&lt;br&gt;use libssl w/ opensc's engine-pkcs11 module, who's documentation is just 
&lt;br&gt;about as non-existant as that of openssl. &amp;nbsp;this task was very easy in 
&lt;br&gt;Java, as Java's SecureSocket hides all the complexity, up to and 
&lt;br&gt;including full support for PKCS#11 plugins.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;______________________________________________________________________
&lt;br&gt;OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536407&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536407&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Getting-started---d2i_PKCS12_fp-tp26374160p26536407.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26536304</id>
	<title>RE: General question about documentation</title>
	<published>2009-11-26T15:40:14Z</published>
	<updated>2009-11-26T15:40:14Z</updated>
	<author>
		<name>Rene Hollan-2</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 3.2//EN&quot;&gt;
&lt;HTML&gt;
&lt;HEAD&gt;
&lt;META HTTP-EQUIV=&quot;Content-Type&quot; CONTENT=&quot;text/html; charset=iso-8859-1&quot;&gt;
&lt;META NAME=&quot;Generator&quot; CONTENT=&quot;MS Exchange Server version 6.5.7655.3&quot;&gt;
&lt;TITLE&gt;RE: General question about documentation&lt;/TITLE&gt;
&lt;/HEAD&gt;
&lt;BODY&gt;
&lt;!-- Converted from text/plain format --&gt;

&lt;P&gt;&lt;FONT SIZE=2&gt;Oh, you need to dig deeper, to understand the semantics and not just the syntax of those APIs.&lt;BR&gt;
&lt;BR&gt;
I didn't say using the source as documentation was convenient, but it is possible, to any degree of detail you want.&lt;BR&gt;
&lt;BR&gt;
To wit: given the source code, it is possible to create documentation to any degree of convenience. But, given some instance of external documentation and no source, it is not possible to improve the convenience factor of that documentation to an arbitrary degree.&lt;BR&gt;
&lt;BR&gt;
Suggesting what people who donate their time DO is rather like herding cats. Some like coding and others like documenting and some like both. Perhaps instead of an admonition that the project needs better documentation, a question regarding who is willing to contribute to said better documentation is more in order.&lt;BR&gt;
&lt;BR&gt;
&lt;BR&gt;
&lt;BR&gt;
-----Original Message-----&lt;BR&gt;
From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536304&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;owner-openssl-users@...&lt;/a&gt; on behalf of John R Pierce&lt;BR&gt;
Sent: Thu 11/26/2009 3:35 PM&lt;BR&gt;
To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536304&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;&lt;BR&gt;
Subject: Re: General question about documentation&lt;BR&gt;
&lt;BR&gt;
&lt;BR&gt;
&amp;gt; Finally, the source code IS the only reliable source of documentation&lt;BR&gt;
&amp;gt; (assuming you can trust your compiler, OS, and hardware to do &amp;quot;the&lt;BR&gt;
&amp;gt; right thing&amp;quot;). It isn't the most CONVENIENT, which is why we desire&lt;BR&gt;
&amp;gt; other forms.&lt;BR&gt;
&amp;gt;&lt;BR&gt;
&lt;BR&gt;
the implementation details of the 250-odd API entry points in libssl.so&lt;BR&gt;
would tell me very little about how to properly USE those APIs, and in&lt;BR&gt;
fact, designing an application around my interpretation of the library&lt;BR&gt;
developers intent would likely lead me down some rabbit holes I'd rather&lt;BR&gt;
not explore.&lt;BR&gt;
&lt;BR&gt;
This is my idea of how open source documentation should be organized and&lt;BR&gt;
written.&lt;BR&gt;
&lt;A HREF=&quot;http://www.postgresql.org/docs/current/static/index.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.postgresql.org/docs/current/static/index.html&lt;/A&gt;&lt;BR&gt;
&lt;BR&gt;
&lt;BR&gt;
______________________________________________________________________&lt;BR&gt;
OpenSSL Project&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A HREF=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/A&gt;&lt;BR&gt;
User Support Mailing List&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536304&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;&lt;BR&gt;
Automated List Manager&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536304&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;&lt;BR&gt;
&lt;BR&gt;
&lt;/FONT&gt;
&lt;/P&gt;

&lt;/BODY&gt;
&lt;/HTML&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Getting-started---d2i_PKCS12_fp-tp26374160p26536304.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26536237</id>
	<title>Re: General question about documentation</title>
	<published>2009-11-26T15:35:42Z</published>
	<updated>2009-11-26T15:35:42Z</updated>
	<author>
		<name>John R Pierce</name>
	</author>
	<content type="html">&lt;br&gt;&amp;gt; Finally, the source code IS the only reliable source of documentation 
&lt;br&gt;&amp;gt; (assuming you can trust your compiler, OS, and hardware to do &amp;quot;the 
&lt;br&gt;&amp;gt; right thing&amp;quot;). It isn't the most CONVENIENT, which is why we desire 
&lt;br&gt;&amp;gt; other forms.
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;the implementation details of the 250-odd API entry points in libssl.so 
&lt;br&gt;would tell me very little about how to properly USE those APIs, and in 
&lt;br&gt;fact, designing an application around my interpretation of the library 
&lt;br&gt;developers intent would likely lead me down some rabbit holes I'd rather 
&lt;br&gt;not explore.
&lt;br&gt;&lt;br&gt;This is my idea of how open source documentation should be organized and 
&lt;br&gt;written.
&lt;br&gt;&lt;a href=&quot;http://www.postgresql.org/docs/current/static/index.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.postgresql.org/docs/current/static/index.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;______________________________________________________________________
&lt;br&gt;OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536237&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536237&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Getting-started---d2i_PKCS12_fp-tp26374160p26536237.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26536194</id>
	<title>Re: General question about documentation</title>
	<published>2009-11-26T14:53:42Z</published>
	<updated>2009-11-26T14:53:42Z</updated>
	<author>
		<name>Randy Turner-2</name>
	</author>
	<content type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body style=&quot;word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; &quot;&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;div&gt;&lt;p&gt;&lt;font size=&quot;2&quot;&gt;Finally, the source code IS the only reliable source of documentation (assuming you can trust your compiler, OS, and hardware to do &quot;the right thing&quot;). It isn't the most CONVENIENT, which is why we desire other forms.&lt;br&gt;&lt;/font&gt;&lt;/p&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;Just to clarify...&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;There isn't a debate about whether &quot;source code&quot; is documentation - documentation is something altogether different from source code, and it this altogether different form that is open to debate.&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I think the layout, and organization of the existing OpenSSL website is evidence enough that the group intended to provide an organized documentation tree - that much is certain, so&lt;/div&gt;&lt;div&gt;we can defer the goals/desires semantic discussion. &amp;nbsp;My only point is, I think documentation has taken a back seat &quot;priority-wise&quot; due to other apparently higher-priority development tasks (including possibly paid consulting time). &amp;nbsp;My suggestion is, that we try to find some way to update the documentation on the website to reflect the features and functionality of the 1.0 release. The 1.0 release seems like a natural point at which to revisit how we (the community) or the core developers, or both, can re-sync the documentation sufficient to cover the common use-cases&lt;/div&gt;&lt;div&gt;envisioned for the feature-set. Including the basic API docs which make up the bulk of the existing documentation at the site today.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I wouldn't necessarily damn the wiki out of the gate, but I agree it will need some organization and possibly editorial support from the core development team, to be sufficiently usable to keep&lt;/div&gt;&lt;div&gt;users of the toolkit productive. And I reiterate, as a user of the toolkit, I would be happy to contribute to such a Wiki.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Randy&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;div&gt;&lt;div&gt;On Nov 26, 2009, at 1:15 PM, Rene Hollan wrote:&lt;/div&gt;&lt;br class=&quot;Apple-interchange-newline&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;
&lt;div&gt;
&lt;!-- Converted from text/plain format --&gt;&lt;p&gt;&lt;font size=&quot;2&quot;&gt;You are confusing goals and desires.&lt;br&gt;
&lt;br&gt;
Someone who wants documentation beyond what they have can either (a) write it themselves, (b) wait, (c) offer a bounty. (c) is the only practical choice, if they have money but neither time, nor expertise.&lt;br&gt;
&lt;br&gt;
Someone who wants to produce open source code to solve a problem and share the solution will do the least to get the job done. Someone who wants to produce open source software to INFLUENCE others to use it will try to produce the most usable software they can. I submit most open source projects fall somewhere in the middle.&lt;br&gt;
&lt;br&gt;
Finally, the source code IS the only reliable source of documentation (assuming you can trust your compiler, OS, and hardware to do &quot;the right thing&quot;). It isn't the most CONVENIENT, which is why we desire other forms.&lt;br&gt;
&lt;br&gt;
Should the O'Reilly book be rewritten? Not unless it's truly awful. But, a wiki shouldn't start from scratch. It should draw upon existing documentation and fill in the gaps. Sucks if you don't have those docs (or can't afford the book), but it is the fastest way to &quot;get there from here&quot; because you don't have to start from nothing.&lt;br&gt;
&lt;br&gt;
The problem with wikis is that they tend to be a large forest of information with little organization. Unless there is some editing effort, it will be little more useful than a FAQ and mailing list archive.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
-----Original Message-----&lt;br&gt;
From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536194&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;owner-openssl-users@...&lt;/a&gt; on behalf of Randy Turner&lt;br&gt;
Sent: Thu 11/26/2009 11:38 AM&lt;br&gt;
To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536194&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;&lt;br&gt;
Subject: Re: General question about documentation&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
That's a great idea Mark and Will,&amp;nbsp;&amp;nbsp; I would be happy to contribute anything that I learn about the toolkit.&lt;br&gt;
&lt;br&gt;
There have been a wide range of comments from people saying &quot;look at the code&quot; all the way to basically suggesting an attempt&lt;br&gt;
at a new version of the O'Reilly book.&lt;br&gt;
&lt;br&gt;
I can't imagine anyone with any experience at all in software development suggesting that the only source of documentation be the source code.&lt;br&gt;
&lt;br&gt;
And I don't think I was suggesting that the OpenSSL team necessarily write a new version of the O'Reilly book.&lt;br&gt;
&lt;br&gt;
Someone also said that if we wanted documentation we should pay for it - which seems counter to the whole open source effort.&amp;nbsp; I'm assuming that the OpenSSL developers&lt;br&gt;
are not spending all this time working on the toolkit for the hell of it - I would think they would like as many people to use it as possible, and with that goal in mind, I think the 1.0 release (when it comes out of beta) would be a good stopping point to re-visit the documentation set and providing examples that reflect the most common use-cases. The mailing list is always here for unusual use-cases.&lt;br&gt;
&lt;br&gt;
That being said, I think a Wiki is also a great idea, but would not obviate the need for the developers of the toolkit to complete the documentation set. I've spent a quite a bit of time with OpenSSL and would be happy to contribute to a Wiki.&lt;br&gt;
&lt;br&gt;
Thanks!!&lt;br&gt;
Randy&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
On Nov 25, 2009, at 3:13 PM, Will Bickford wrote:&lt;br&gt;
&lt;br&gt;
&amp;gt; IMO a wiki would be a great resource for both developers and users of&lt;br&gt;
&amp;gt; OpenSSL.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Something along the lines of the Subversion Book - an online reference&lt;br&gt;
&amp;gt; &quot;book&quot; for OpenSSL.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; --Will&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; -----Original Message-----&lt;br&gt;
&amp;gt;&amp;gt; From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536194&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;owner-openssl-users@...&lt;/a&gt;&lt;br&gt;
&amp;gt;&amp;gt; [&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536194&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;owner-openssl-users@...&lt;/a&gt;] On Behalf Of Mark&lt;br&gt;
&amp;gt;&amp;gt; Sent: Wednesday, November 25, 2009 3:27 AM&lt;br&gt;
&amp;gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536194&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;&lt;br&gt;
&amp;gt;&amp;gt; Subject: RE: General question about documentation&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; I would like to post a general observation regarding users of the&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; OpenSSL toolkit.&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; [snip stuff about documentation]]&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; A long time ago it was suggested to use a wiki for this&lt;br&gt;
&amp;gt;&amp;gt; purpose. Can this idea be resurrected?&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; Mark.&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; ______________________________________________________________________&lt;br&gt;
&amp;gt;&amp;gt; OpenSSL Project&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href=&quot;http://www.openssl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;
&amp;gt;&amp;gt; User Support Mailing List&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536194&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;&lt;br&gt;
&amp;gt;&amp;gt; Automated List Manager&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536194&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt; ______________________________________________________________________&lt;br&gt;
&amp;gt; OpenSSL Project&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href=&quot;http://www.openssl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;
&amp;gt; User Support Mailing List&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536194&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;&lt;br&gt;
&amp;gt; Automated List Manager&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536194&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;br&gt;
______________________________________________________________________&lt;br&gt;
OpenSSL Project&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href=&quot;http://www.openssl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;
User Support Mailing List&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536194&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;&lt;br&gt;
Automated List Manager&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536194&amp;i=10&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;/font&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Getting-started---d2i_PKCS12_fp-tp26374160p26536194.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26535592</id>
	<title>RE: Help with error - hardware capability unsupported SSE2</title>
	<published>2009-11-26T14:14:33Z</published>
	<updated>2009-11-26T14:14:33Z</updated>
	<author>
		<name>J. J. Farrell</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;HTML&gt;&lt;HEAD&gt;
&lt;META http-equiv=Content-Type content=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;META content=&quot;MSHTML 6.00.6000.16915&quot; name=GENERATOR&gt;&lt;/HEAD&gt;
&lt;BODY&gt;
&lt;DIV dir=ltr align=left&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR&gt;
&lt;BLOCKQUOTE dir=ltr style=&quot;PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000080 2px solid; MARGIN-RIGHT: 0px&quot;&gt;
  &lt;DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left&gt;
  &lt;HR tabIndex=-1&gt;
  &lt;FONT face=Tahoma size=2&gt;&lt;B&gt;From:&lt;/B&gt; Jeremy Farrell&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR&gt;
  &lt;BLOCKQUOTE style=&quot;PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000080 2px solid; MARGIN-RIGHT: 0px&quot;&gt;
    &lt;DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left&gt;
    &lt;HR tabIndex=-1&gt;
    &lt;FONT face=Tahoma size=2&gt;&lt;B&gt;From:&lt;/B&gt; Chris Copeland&lt;BR&gt;&lt;/FONT&gt;&lt;/DIV&gt;
    &lt;DIV class=gmail_quote&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;&lt;/FONT&gt;
    &lt;DIV&gt;&lt;BR&gt;I am building and packaging the following on one machine (the 
    &quot;build&quot;&lt;BR&gt;machine) and attempting to install and use on other machines 
    (&quot;target&quot;&lt;BR&gt;machines) some of which have different processors.&lt;BR&gt;&lt;BR&gt;* 
    OpenSSL 0.9.8l&lt;BR&gt;* Apache 2.2.14&lt;BR&gt;* Tomcat Connectors 1.2.28&lt;BR&gt;&lt;BR&gt;The 
    problem, as far as I can tell, is that the build machine has more&lt;BR&gt;CPU 
    capabilities than the target machine resulting in binaries that&lt;BR&gt;are not 
    executable on the target machine. &amp;nbsp;I have attempted to use&lt;BR&gt;configure 
    and compiler flags to disable use of the offending&lt;BR&gt;instructions without 
    luck.&lt;BR&gt;&lt;BR&gt;Ultimately I get this error:&lt;BR&gt;&lt;BR&gt;$ ./apachectl start httpd: 
    Syntax error on line 58 of&lt;BR&gt;/usr/local/apache-2.2.14/conf/httpd.conf: 
    Cannot load&lt;BR&gt;/usr/local/apache2/modules/mod_ssl.so into server: ld.so.1: 
    httpd:&lt;BR&gt;fatal: /usr/local/openssl/lib/libssl.so.0.9.8: hardware 
    capability&lt;BR&gt;unsupported: 0x1000 [ SSE2 ]&lt;BR&gt;&lt;BR&gt;&lt;SPAN class=053180722-26112009&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;&amp;nbsp;...&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;
  &lt;DIV class=gmail_quote&gt;&lt;SPAN class=053180722-26112009&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;According to the message, your problem is that mod_ssl.so 
  requires SSE2. You'd be best to ask the community responsible for that library 
  how to build a version of it which doesn't require SSE2. I don't know for 
  sure, but I think I recall mention that it's part of 
  Apache.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
  &lt;DIV class=gmail_quote&gt;&lt;SPAN class=053180722-26112009&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;
  &lt;DIV class=gmail_quote&gt;&lt;SPAN class=053180722-26112009&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;On the&amp;nbsp;surface your OpenSSL build looks fit for 
  purpose.&lt;/FONT&gt;&amp;nbsp;&lt;SPAN class=476221222-26112009&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;
&lt;DIV class=gmail_quote dir=ltr style=&quot;MARGIN-RIGHT: 0px&quot;&gt;&lt;SPAN class=053180722-26112009&gt;&lt;SPAN class=476221222-26112009&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;Grrr ... Apologies, that's nonsense. It always pays to read 
all the message before commenting.&lt;/FONT&gt;&amp;nbsp;&lt;FONT face=Verdana color=#000080 size=2&gt;I've no idea what's going on here; I'll leave it to someone who actually 
has a clue to say something useful.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Help-with-error---hardware-capability-unsupported-SSE2-tp26533934p26535592.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26535550</id>
	<title>RE: Help with error - hardware capability unsupported SSE2</title>
	<published>2009-11-26T14:10:39Z</published>
	<updated>2009-11-26T14:10:39Z</updated>
	<author>
		<name>J. J. Farrell</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;HTML&gt;&lt;HEAD&gt;
&lt;META http-equiv=Content-Type content=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;META content=&quot;MSHTML 6.00.6000.16915&quot; name=GENERATOR&gt;&lt;/HEAD&gt;
&lt;BODY&gt;
&lt;DIV dir=ltr align=left&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR&gt;
&lt;BLOCKQUOTE style=&quot;PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000080 2px solid; MARGIN-RIGHT: 0px&quot;&gt;
  &lt;DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left&gt;
  &lt;HR tabIndex=-1&gt;
  &lt;FONT face=Tahoma size=2&gt;&lt;B&gt;From:&lt;/B&gt; Chris Copeland&lt;BR&gt;&lt;/FONT&gt;&lt;/DIV&gt;
  &lt;DIV class=gmail_quote&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;&lt;/FONT&gt;
  &lt;DIV&gt;&lt;BR&gt;I am building and packaging the following on one machine (the 
  &quot;build&quot;&lt;BR&gt;machine) and attempting to install and use on other machines 
  (&quot;target&quot;&lt;BR&gt;machines) some of which have different processors.&lt;BR&gt;&lt;BR&gt;* 
  OpenSSL 0.9.8l&lt;BR&gt;* Apache 2.2.14&lt;BR&gt;* Tomcat Connectors 1.2.28&lt;BR&gt;&lt;BR&gt;The 
  problem, as far as I can tell, is that the build machine has more&lt;BR&gt;CPU 
  capabilities than the target machine resulting in binaries that&lt;BR&gt;are not 
  executable on the target machine. &amp;nbsp;I have attempted to use&lt;BR&gt;configure 
  and compiler flags to disable use of the offending&lt;BR&gt;instructions without 
  luck.&lt;BR&gt;&lt;BR&gt;Ultimately I get this error:&lt;BR&gt;&lt;BR&gt;$ ./apachectl start httpd: 
  Syntax error on line 58 of&lt;BR&gt;/usr/local/apache-2.2.14/conf/httpd.conf: Cannot 
  load&lt;BR&gt;/usr/local/apache2/modules/mod_ssl.so into server: ld.so.1: 
  httpd:&lt;BR&gt;fatal: /usr/local/openssl/lib/libssl.so.0.9.8: hardware 
  capability&lt;BR&gt;unsupported: 0x1000 [ SSE2 ]&lt;BR&gt;&lt;BR&gt;&lt;SPAN class=053180722-26112009&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;&amp;nbsp;...&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;
&lt;DIV class=gmail_quote&gt;&lt;SPAN class=053180722-26112009&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;According to the message, your problem is that mod_ssl.so 
requires SSE2. You'd be best to ask the community responsible for that library 
how to build a version of it which doesn't require SSE2. I don't know for sure, 
but I think I recall mention that it's part of Apache.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class=gmail_quote&gt;&lt;SPAN class=053180722-26112009&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class=gmail_quote&gt;&lt;SPAN class=053180722-26112009&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;On the&amp;nbsp;surface your OpenSSL build looks fit for 
purpose.&lt;/FONT&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Help-with-error---hardware-capability-unsupported-SSE2-tp26533934p26535550.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26534971</id>
	<title>RE: General question about documentation</title>
	<published>2009-11-26T13:15:17Z</published>
	<updated>2009-11-26T13:15:17Z</updated>
	<author>
		<name>Rene Hollan-2</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 3.2//EN&quot;&gt;
&lt;HTML&gt;
&lt;HEAD&gt;
&lt;META HTTP-EQUIV=&quot;Content-Type&quot; CONTENT=&quot;text/html; charset=iso-8859-1&quot;&gt;
&lt;META NAME=&quot;Generator&quot; CONTENT=&quot;MS Exchange Server version 6.5.7655.3&quot;&gt;
&lt;TITLE&gt;RE: General question about documentation&lt;/TITLE&gt;
&lt;/HEAD&gt;
&lt;BODY&gt;
&lt;!-- Converted from text/plain format --&gt;

&lt;P&gt;&lt;FONT SIZE=2&gt;You are confusing goals and desires.&lt;BR&gt;
&lt;BR&gt;
Someone who wants documentation beyond what they have can either (a) write it themselves, (b) wait, (c) offer a bounty. (c) is the only practical choice, if they have money but neither time, nor expertise.&lt;BR&gt;
&lt;BR&gt;
Someone who wants to produce open source code to solve a problem and share the solution will do the least to get the job done. Someone who wants to produce open source software to INFLUENCE others to use it will try to produce the most usable software they can. I submit most open source projects fall somewhere in the middle.&lt;BR&gt;
&lt;BR&gt;
Finally, the source code IS the only reliable source of documentation (assuming you can trust your compiler, OS, and hardware to do &amp;quot;the right thing&amp;quot;). It isn't the most CONVENIENT, which is why we desire other forms.&lt;BR&gt;
&lt;BR&gt;
Should the O'Reilly book be rewritten? Not unless it's truly awful. But, a wiki shouldn't start from scratch. It should draw upon existing documentation and fill in the gaps. Sucks if you don't have those docs (or can't afford the book), but it is the fastest way to &amp;quot;get there from here&amp;quot; because you don't have to start from nothing.&lt;BR&gt;
&lt;BR&gt;
The problem with wikis is that they tend to be a large forest of information with little organization. Unless there is some editing effort, it will be little more useful than a FAQ and mailing list archive.&lt;BR&gt;
&lt;BR&gt;
&lt;BR&gt;
&lt;BR&gt;
-----Original Message-----&lt;BR&gt;
From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534971&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;owner-openssl-users@...&lt;/a&gt; on behalf of Randy Turner&lt;BR&gt;
Sent: Thu 11/26/2009 11:38 AM&lt;BR&gt;
To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534971&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;&lt;BR&gt;
Subject: Re: General question about documentation&lt;BR&gt;
&lt;BR&gt;
&lt;BR&gt;
That's a great idea Mark and Will,&amp;nbsp;&amp;nbsp; I would be happy to contribute anything that I learn about the toolkit.&lt;BR&gt;
&lt;BR&gt;
There have been a wide range of comments from people saying &amp;quot;look at the code&amp;quot; all the way to basically suggesting an attempt&lt;BR&gt;
at a new version of the O'Reilly book.&lt;BR&gt;
&lt;BR&gt;
I can't imagine anyone with any experience at all in software development suggesting that the only source of documentation be the source code.&lt;BR&gt;
&lt;BR&gt;
And I don't think I was suggesting that the OpenSSL team necessarily write a new version of the O'Reilly book.&lt;BR&gt;
&lt;BR&gt;
Someone also said that if we wanted documentation we should pay for it - which seems counter to the whole open source effort.&amp;nbsp; I'm assuming that the OpenSSL developers&lt;BR&gt;
are not spending all this time working on the toolkit for the hell of it - I would think they would like as many people to use it as possible, and with that goal in mind, I think the 1.0 release (when it comes out of beta) would be a good stopping point to re-visit the documentation set and providing examples that reflect the most common use-cases. The mailing list is always here for unusual use-cases.&lt;BR&gt;
&lt;BR&gt;
That being said, I think a Wiki is also a great idea, but would not obviate the need for the developers of the toolkit to complete the documentation set. I've spent a quite a bit of time with OpenSSL and would be happy to contribute to a Wiki.&lt;BR&gt;
&lt;BR&gt;
Thanks!!&lt;BR&gt;
Randy&lt;BR&gt;
&lt;BR&gt;
&lt;BR&gt;
On Nov 25, 2009, at 3:13 PM, Will Bickford wrote:&lt;BR&gt;
&lt;BR&gt;
&amp;gt; IMO a wiki would be a great resource for both developers and users of&lt;BR&gt;
&amp;gt; OpenSSL.&lt;BR&gt;
&amp;gt;&lt;BR&gt;
&amp;gt; Something along the lines of the Subversion Book - an online reference&lt;BR&gt;
&amp;gt; &amp;quot;book&amp;quot; for OpenSSL.&lt;BR&gt;
&amp;gt;&lt;BR&gt;
&amp;gt; --Will&lt;BR&gt;
&amp;gt;&lt;BR&gt;
&amp;gt;&amp;gt; -----Original Message-----&lt;BR&gt;
&amp;gt;&amp;gt; From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534971&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;owner-openssl-users@...&lt;/a&gt;&lt;BR&gt;
&amp;gt;&amp;gt; [&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534971&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;owner-openssl-users@...&lt;/a&gt;] On Behalf Of Mark&lt;BR&gt;
&amp;gt;&amp;gt; Sent: Wednesday, November 25, 2009 3:27 AM&lt;BR&gt;
&amp;gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534971&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;&lt;BR&gt;
&amp;gt;&amp;gt; Subject: RE: General question about documentation&lt;BR&gt;
&amp;gt;&amp;gt;&lt;BR&gt;
&amp;gt;&amp;gt;&amp;gt; I would like to post a general observation regarding users of the&lt;BR&gt;
&amp;gt;&amp;gt;&amp;gt; OpenSSL toolkit.&lt;BR&gt;
&amp;gt;&amp;gt;&lt;BR&gt;
&amp;gt;&amp;gt; [snip stuff about documentation]]&lt;BR&gt;
&amp;gt;&amp;gt;&lt;BR&gt;
&amp;gt;&amp;gt; A long time ago it was suggested to use a wiki for this&lt;BR&gt;
&amp;gt;&amp;gt; purpose. Can this idea be resurrected?&lt;BR&gt;
&amp;gt;&amp;gt;&lt;BR&gt;
&amp;gt;&amp;gt; Mark.&lt;BR&gt;
&amp;gt;&amp;gt;&lt;BR&gt;
&amp;gt;&amp;gt; ______________________________________________________________________&lt;BR&gt;
&amp;gt;&amp;gt; OpenSSL Project&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A HREF=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/A&gt;&lt;BR&gt;
&amp;gt;&amp;gt; User Support Mailing List&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534971&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;&lt;BR&gt;
&amp;gt;&amp;gt; Automated List Manager&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534971&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;&lt;BR&gt;
&amp;gt;&amp;gt;&lt;BR&gt;
&amp;gt;&amp;gt;&lt;BR&gt;
&amp;gt; ______________________________________________________________________&lt;BR&gt;
&amp;gt; OpenSSL Project&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A HREF=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/A&gt;&lt;BR&gt;
&amp;gt; User Support Mailing List&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534971&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;&lt;BR&gt;
&amp;gt; Automated List Manager&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534971&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;&lt;BR&gt;
&amp;gt;&lt;BR&gt;
&lt;BR&gt;
______________________________________________________________________&lt;BR&gt;
OpenSSL Project&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A HREF=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/A&gt;&lt;BR&gt;
User Support Mailing List&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534971&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;&lt;BR&gt;
Automated List Manager&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534971&amp;i=10&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;&lt;BR&gt;
&lt;BR&gt;
&lt;/FONT&gt;
&lt;/P&gt;

&lt;/BODY&gt;
&lt;/HTML&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Getting-started---d2i_PKCS12_fp-tp26374160p26534971.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26534824</id>
	<title>Re: DES3 Encryption &amp; Decryption</title>
	<published>2009-11-26T12:59:36Z</published>
	<updated>2009-11-26T12:59:36Z</updated>
	<author>
		<name>Michael S. Zick-4</name>
	</author>
	<content type="html">On Wed November 25 2009, Krishna, Bharath wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi All,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;I am new for Unix development work. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Can you please enlighten me clearly about the OPENSSL tool kit and
&lt;br&gt;&amp;gt; how we could achieve the below requirement. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Requirement:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; As per customer requirements we should use DES3 algorithm to store
&lt;br&gt;&amp;gt; password in a file. For this, we have installed OPENSSL toolkit in our
&lt;br&gt;&amp;gt; server.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;Any particular operating system?
&lt;br&gt;In linux, you can already choose to use DES3 for shadow passwords.
&lt;br&gt;&lt;br&gt;Nothing more required than a current passwd utility.
&lt;br&gt;&lt;br&gt;Mike
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Issue:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;I don't know, how to use the OPENSSL toolkit to achieve the above
&lt;br&gt;&amp;gt; requirement.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Can you please anybody help on this.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ______________________________________________________________________
&lt;br&gt;&amp;gt; OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;&amp;gt; User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534824&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534824&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;______________________________________________________________________
&lt;br&gt;OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534824&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534824&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/DES3-Encryption---Decryption-tp26533940p26534824.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26534363</id>
	<title>Re: DES3 Encryption &amp; Decryption</title>
	<published>2009-11-26T12:07:44Z</published>
	<updated>2009-11-26T12:07:44Z</updated>
	<author>
		<name>Patrick Patterson-3</name>
	</author>
	<content type="html">Hey there;
&lt;br&gt;&lt;br&gt;When asking for advice, please at least say whether you are trying to do
&lt;br&gt;something programatically (i.e.: using the OpenSSL API), or just need to
&lt;br&gt;do it from the command line.
&lt;br&gt;&lt;br&gt;If it is the command line, then please include what you have tried, and
&lt;br&gt;the results that you got.
&lt;br&gt;&lt;br&gt;To this current issue, if you are trying to do it via the command line,
&lt;br&gt;the man page ('man enc') has several really good examples of how to do
&lt;br&gt;3DES encryption.
&lt;br&gt;&lt;br&gt;If you need to do it programatically, take a look at the WvStreams
&lt;br&gt;'wvtripledes' class code at &lt;a href=&quot;http://code.google.com/p/wvstreams/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://code.google.com/p/wvstreams/&lt;/a&gt;&amp;nbsp;.
&lt;br&gt;&lt;br&gt;Have fun.
&lt;br&gt;&lt;br&gt;Patrick.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Krishna, Bharath wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi All,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;I am new for Unix development work. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Can you please enlighten me clearly about the OPENSSL tool kit and
&lt;br&gt;&amp;gt; how we could achieve the below requirement. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Requirement:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; As per customer requirements we should use DES3 algorithm to store
&lt;br&gt;&amp;gt; password in a file. For this, we have installed OPENSSL toolkit in our
&lt;br&gt;&amp;gt; server.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Issue:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;I don't know, how to use the OPENSSL toolkit to achieve the above
&lt;br&gt;&amp;gt; requirement.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Can you please anybody help on this.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ______________________________________________________________________
&lt;br&gt;&amp;gt; OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;&amp;gt; User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534363&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534363&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;/div&gt;&lt;br&gt;______________________________________________________________________
&lt;br&gt;OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534363&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534363&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/DES3-Encryption---Decryption-tp26533940p26534363.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26534388</id>
	<title>Re: New blackout</title>
	<published>2009-11-26T11:39:25Z</published>
	<updated>2009-11-26T11:39:25Z</updated>
	<author>
		<name>Lutz Jaenicke</name>
	</author>
	<content type="html">Chris Wilson wrote:
&lt;br&gt;&amp;gt; On Wed, 25 Nov 2009, The Doctor wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I was able to see openssl.org last night MST but not at this current 
&lt;br&gt;&amp;gt;&amp;gt; time.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Works fine for me.
&lt;br&gt;&lt;br&gt;We did have &amp;quot;filesystem full&amp;quot; problems in the last days which led to 
&lt;br&gt;system panics. These issues should be sorted out now (thanks to Ralf S. 
&lt;br&gt;Engelschall who is technically operating the server hardware).
&lt;br&gt;Please excuse any inconvenience.
&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;&amp;nbsp; &amp;nbsp; Lutz
&lt;br&gt;______________________________________________________________________
&lt;br&gt;OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534388&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534388&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/New-blackout-tp26520182p26534388.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26534088</id>
	<title>Re: General question about documentation</title>
	<published>2009-11-26T11:38:28Z</published>
	<updated>2009-11-26T11:38:28Z</updated>
	<author>
		<name>Randy Turner-2</name>
	</author>
	<content type="html">&lt;br&gt;That's a great idea Mark and Will, &amp;nbsp; I would be happy to contribute anything that I learn about the toolkit.
&lt;br&gt;&lt;br&gt;There have been a wide range of comments from people saying &amp;quot;look at the code&amp;quot; all the way to basically suggesting an attempt
&lt;br&gt;at a new version of the O'Reilly book.
&lt;br&gt;&lt;br&gt;I can't imagine anyone with any experience at all in software development suggesting that the only source of documentation be the source code.
&lt;br&gt;&lt;br&gt;And I don't think I was suggesting that the OpenSSL team necessarily write a new version of the O'Reilly book.
&lt;br&gt;&lt;br&gt;Someone also said that if we wanted documentation we should pay for it - which seems counter to the whole open source effort. &amp;nbsp;I'm assuming that the OpenSSL developers
&lt;br&gt;are not spending all this time working on the toolkit for the hell of it - I would think they would like as many people to use it as possible, and with that goal in mind, I think the 1.0 release (when it comes out of beta) would be a good stopping point to re-visit the documentation set and providing examples that reflect the most common use-cases. The mailing list is always here for unusual use-cases.
&lt;br&gt;&lt;br&gt;That being said, I think a Wiki is also a great idea, but would not obviate the need for the developers of the toolkit to complete the documentation set. I've spent a quite a bit of time with OpenSSL and would be happy to contribute to a Wiki.
&lt;br&gt;&lt;br&gt;Thanks!!
&lt;br&gt;Randy
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Nov 25, 2009, at 3:13 PM, Will Bickford wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; IMO a wiki would be a great resource for both developers and users of
&lt;br&gt;&amp;gt; OpenSSL.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Something along the lines of the Subversion Book - an online reference
&lt;br&gt;&amp;gt; &amp;quot;book&amp;quot; for OpenSSL.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; --Will
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt;&amp;gt; From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534088&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;owner-openssl-users@...&lt;/a&gt; 
&lt;br&gt;&amp;gt;&amp;gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534088&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;owner-openssl-users@...&lt;/a&gt;] On Behalf Of Mark
&lt;br&gt;&amp;gt;&amp;gt; Sent: Wednesday, November 25, 2009 3:27 AM
&lt;br&gt;&amp;gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534088&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; Subject: RE: General question about documentation
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I would like to post a general observation regarding users of the 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; OpenSSL toolkit.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; [snip stuff about documentation]]
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; A long time ago it was suggested to use a wiki for this 
&lt;br&gt;&amp;gt;&amp;gt; purpose. Can this idea be resurrected?
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Mark.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; ______________________________________________________________________
&lt;br&gt;&amp;gt;&amp;gt; OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534088&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534088&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt; ______________________________________________________________________
&lt;br&gt;&amp;gt; OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;&amp;gt; User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534088&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534088&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;______________________________________________________________________
&lt;br&gt;OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534088&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534088&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Getting-started---d2i_PKCS12_fp-tp26374160p26534088.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26533682</id>
	<title>Re: CMS with PBE (Was Re: Decrypting a password encrypted pkcs7-envelopedData)</title>
	<published>2009-11-26T10:59:50Z</published>
	<updated>2009-11-26T10:59:50Z</updated>
	<author>
		<name>Dr. Stephen Henson</name>
	</author>
	<content type="html">On Mon, Nov 23, 2009, Mathieu Malaterre wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Steve,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Do you have a sample PBE blob you want to decrypt?
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Here is one:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; $ wget &lt;a href=&quot;http://idisk.mac.com/dclunie-Public/securedicomfileset.tar.bz2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://idisk.mac.com/dclunie-Public/securedicomfileset.tar.bz2&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; $ openssl asn1parse -in DICOMDIR -inform DER
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; It was generated using Bouncy Castle
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I forgot to mention, if you need help from me, do not hesitate !
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;I've added experimental support to HEAD. This seems to decrypt the example OK
&lt;br&gt;and can decrypt its own output. It adds a new option -pwri_password to the
&lt;br&gt;cms utility (will need something better at some point).
&lt;br&gt;&lt;br&gt;Steve.
&lt;br&gt;--
&lt;br&gt;Dr Stephen N. Henson. OpenSSL project core developer.
&lt;br&gt;Commercial tech support now available see: &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;______________________________________________________________________
&lt;br&gt;OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26533682&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26533682&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/CMS-with-PBE-%28Was-Re%3A-Decrypting-a-password-encrypted--pkcs7-envelopedData%29-tp26194578p26533682.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26528693</id>
	<title>Re: Adding a custom engine to OpenSSL</title>
	<published>2009-11-26T04:24:29Z</published>
	<updated>2009-11-26T04:24:29Z</updated>
	<author>
		<name>Dr. Stephen Henson</name>
	</author>
	<content type="html">On Thu, Nov 26, 2009, Loke Jun Han wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Is there anyway to for openSSL to automatically load a specific engine when the command line program is executed?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;Yes, you specify details in the configuration file openssl.cnf, for the syntax
&lt;br&gt;see:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.openssl.org/docs/apps/config.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org/docs/apps/config.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Steve.
&lt;br&gt;--
&lt;br&gt;Dr Stephen N. Henson. OpenSSL project core developer.
&lt;br&gt;Commercial tech support now available see: &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;______________________________________________________________________
&lt;br&gt;OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26528693&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26528693&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Adding-a-custom-engine-to-OpenSSL-tp26526324p26528693.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26527952</id>
	<title>Re: Adding a custom engine to OpenSSL</title>
	<published>2009-11-26T03:21:35Z</published>
	<updated>2009-11-26T03:21:35Z</updated>
	<author>
		<name>Michael S. Zick-4</name>
	</author>
	<content type="html">On Thu November 26 2009, Loke Jun Han wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Is there anyway to for openSSL to automatically load a specific engine when the command line program is executed?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;Like one of the engines in the list from:
&lt;br&gt;openssl engine
&lt;br&gt;?
&lt;br&gt;&lt;br&gt;Mike
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Jun Han 
&lt;br&gt;&amp;gt; &amp;nbsp;		 	 &amp;nbsp; 		 &amp;nbsp;
&lt;br&gt;&amp;gt; _________________________________________________________________
&lt;br&gt;&amp;gt; Windows 7: Find the right PC for you. Learn more.
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://windows.microsoft.com/shop&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://windows.microsoft.com/shop&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;______________________________________________________________________
&lt;br&gt;OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26527952&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26527952&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Adding-a-custom-engine-to-OpenSSL-tp26526324p26527952.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26526324</id>
	<title>Adding a custom engine to OpenSSL</title>
	<published>2009-11-26T00:52:09Z</published>
	<updated>2009-11-26T00:52:09Z</updated>
	<author>
		<name>Loke Jun Han</name>
	</author>
	<content type="html">&lt;html&gt;
&lt;head&gt;

&lt;/head&gt;
&lt;body class='hmmessage'&gt;
Hi,&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Is there anyway to for openSSL to automatically load a specific engine when the command line program is executed?&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;&lt;br&gt;Jun Han &lt;br&gt; 		 	   		  &lt;br /&gt;&lt;hr /&gt;Windows 7: Find the right PC for you. &lt;a href='http://windows.microsoft.com/shop' target='_new' rel=&quot;nofollow&quot;&gt;Learn more.&lt;/a&gt;&lt;/body&gt;
&lt;/html&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Adding-a-custom-engine-to-OpenSSL-tp26526324p26526324.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26524394</id>
	<title>Re: Application crashes when trying to access X509 Certificate Extension returned by X509_get_ext method</title>
	<published>2009-11-25T19:14:00Z</published>
	<updated>2009-11-25T19:14:00Z</updated>
	<author>
		<name>Sanjay Bhat</name>
	</author>
	<content type="html">&lt;HTML&gt;&lt;HEAD&gt;
&lt;META content=&quot;text/html; charset=utf-8&quot; http-equiv=Content-Type&gt;
&lt;META name=GENERATOR content=&quot;MSHTML 8.00.6001.18702&quot;&gt;&lt;/HEAD&gt;
&lt;BODY style=&quot;MARGIN: 4px 4px 1px; FONT: 10pt Tahoma&quot;&gt;
&lt;DIV&gt;Hi Kyle,&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks a ton&amp;nbsp;for the quick reply buddy :)&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;When we debug our application in visual studio, we see that both &quot;Extension&quot; and &quot;Extension-&amp;gt;value&quot; are not NULL. But &quot;Extension-&amp;gt;value-&amp;gt;data&quot; seems to be NULL or corrupted, causing our application to crash.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I am trying these options for debugging the problem&amp;nbsp;:&lt;/DIV&gt;
&lt;DIV&gt;&amp;gt; make sure the X509 certificate we are using is a valid one, containing the&amp;nbsp;extension we are looking for,&amp;nbsp;because &quot;Certificate-&amp;gt;valid&quot; is set to 0 for our certificate.&lt;/DIV&gt;
&lt;DIV&gt;&amp;gt; debug through the openssl function X509_get_ext( ) in visual studio by attaching the openssl source, to see why &quot;Extension-&amp;gt;value-&amp;gt;data&quot; is not being set correctly.&lt;/DIV&gt;
&lt;DIV&gt;&amp;gt; also try using some older openssl version instead of the current 0.9.8 d we are currently using. &lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I will update again after trying these options.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I suspect something being wrong in this certificate itself, may be it does not comply to the X509 certificate format. Can you please confirm that the certificate we are using&amp;nbsp;is a valid x509 certificate ? &lt;BR&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;This is the certificate we are using :&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;static unsigned char *LETestDefaultKey = {&lt;BR&gt;&amp;nbsp;&amp;nbsp;&quot;-----BEGIN RSA PRIVATE KEY-----\r\n&quot;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&quot;MIIBPAIBAAJBAM6ss7cWYg0Yf7Ot6PkdWBtQ0Pp89YO/2rG0K8iAJW5AY399hh/s\r\n&quot;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&quot;VjiIfPZpqCwqJka/2r23jzZJfW8X19nTiqECAwEAAQJATBeXv0P1a77mXYAdM4LT\r\n&quot;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&quot;SpNRrbfOKOi9GworyJEtts5Cn153ROK3750NHrOeaXbkFl89/UD0oMsO22TnF+Ol\r\n&quot;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&quot;lQIhAO0gkTZggugyZ7HDQihy/7EVAgK9rg7SPc5JnyZITW5bAiEA3x+q4AZDXUHW\r\n&quot;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&quot;26W7BlZoedPy6Mo5wWNb/gN9x/T987MCIQCt8TfUFZOxVFgwU7USCtl5QpnI/O7T\r\n&quot;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&quot;PHHOAr9Vy6/RBQIhAJPO76y+mWuzDPmu/YmCPm3OWZGbPc1929gXSgDnrD//AiEA\r\n&quot;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&quot;vwlwVtb26OSBJX47M+MZeWsiD3GVydtRdcL9+Xy0XEw=\r\n&quot;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&quot;-----END RSA PRIVATE KEY-----\r\n&quot;&lt;BR&gt;&amp;nbsp;};&lt;BR&gt;static unsigned char *LETestDefaultCert = {&lt;BR&gt;&amp;nbsp;&amp;nbsp;&quot;-----BEGIN CERTIFICATE-----\r\n&quot;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&quot;MIIBojCCAUygAwIBAgIBMzANBgkqhkiG9w0BAQQFADAqMQswCQYDVQQGEwJVUzEb\r\n&quot;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&quot;MBkGA1UEAxMSTm92ZWxsIE5TdXJlIEF1ZGl0MB4XDTA1MTAxMTE3NDEyOFoXDTE1\r\n&quot;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&quot;MTAwOTE3NDEyOFowJjELMAkGA1UEBhMCVVMxFzAVBgNVBAMTDlNlY3VyZUxvZ2lu\r\n&quot;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&quot;U1NPMFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAM6ss7cWYg0Yf7Ot6PkdWBtQ0Pp8\r\n&quot;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&quot;9YO/2rG0K8iAJW5AY399hh/sVjiIfPZpqCwqJka/2r23jzZJfW8X19nTiqECAwEA\r\n&quot;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&quot;AaNhMF8wDgYDVR0PAQH/BAQDAgWgMBgGA1UdEQQRMA+BDWFyZ2xAYmxhaC5jb20w\r\n&quot;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&quot;EQYJYIZIAYb4QgEBBAQDAgWgMCAGDGCGSAGG+DcBglsKAQQQFg5TZWN1cmVMb2dp\r\n&quot;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&quot;blNTTzANBgkqhkiG9w0BAQQFAANBABaOsowc+4encEksW5w1v1dHg7DNdBbQJHct\r\n&quot;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&quot;JSNfzPfE8igm617Ggsfrb0nkc50mdlyugkfZC/dX+sx4vtQk1Ok=\r\n&quot;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&quot;-----END CERTIFICATE-----\r\n&quot;&lt;BR&gt;&amp;nbsp;};&lt;BR&gt;&lt;/DIV&gt;
&lt;DIV&gt;Looking forward for your reply... have a wonderful day ahead !!!&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Regards,&lt;/DIV&gt;
&lt;DIV&gt;Sanjay &lt;/DIV&gt;
&lt;DIV&gt;&lt;BR&gt;&amp;gt;&amp;gt;&amp;gt; Kyle Hamilton &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26524394&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;aerowolf@...&lt;/a&gt;&amp;gt; 11/24/2009 4:56 AM &amp;gt;&amp;gt;&amp;gt;&lt;BR&gt;Are you checking to make sure that there *is* data in that extension?&lt;BR&gt;Or that the extension value even exists?&lt;BR&gt;&lt;BR&gt;if (NULL == Extension-&amp;gt;value) assert(&quot;Extension-&amp;gt;value NULL&quot;);&lt;BR&gt;if (NULL == Extension-&amp;gt;value-&amp;gt;data) assert (&quot;Extension-&amp;gt;value-&amp;gt;data NULL&quot;);&lt;BR&gt;OrgPtr=Extension-&amp;gt;value-&amp;gt;data;&lt;BR&gt;&lt;BR&gt;-Kyle H&lt;BR&gt;&lt;BR&gt;On Fri, Nov 20, 2009 at 3:50 AM, Sanjay Bhat &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26524394&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bsanjay@...&lt;/a&gt;&amp;gt; wrote:&lt;div class='shrinkable-quote'&gt;&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; Hi,&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; Our application running in windows 2008 64-bit platform crashes when we try&lt;BR&gt;&amp;gt; to access the data member of X509_EXTENSION returned by X509_get_ext().&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; We are using&amp;nbsp; 0.9.8d version of openssl compiled for windows 64 bit&lt;BR&gt;&amp;gt; platform.&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; We are clueless why this is happening and are badly stuck with this. Please&lt;BR&gt;&amp;gt; help us.&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; Here is the code snippet of our application with the point of crash in bold&lt;BR&gt;&amp;gt; :&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; BOOL GetX509ObjectString(X509 *Certificate, unsigned char *ASN1, unsigned&lt;BR&gt;&amp;gt; char *Short, unsigned char *Description, unsigned char *Buffer, unsigned&lt;BR&gt;&amp;gt; long BufSize)&lt;BR&gt;&amp;gt; {&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; X509_EXTENSION&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *Extension;&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nid;&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Position;&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ASN1_STRING&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *Value;&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; unsigned char&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *OrgPtr;&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (!Buffer) {&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return(FALSE);&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Buffer[0]='\0';&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nid = OBJ_create(ASN1, Short, Description);&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Position=X509_get_ext_by_NID(Certificate, nid, -1);&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (Position==-1) {&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return(FALSE);&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt;&amp;nbsp; Extension=X509_get_ext(Certificate, Position);&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp; if (!Extension) {&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return(FALSE);&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* The M_d2i function alters the pointer, so keep a copy */&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OrgPtr=Extension-&amp;gt;value-&amp;gt;data; //This is the point of crash. Referencing&lt;BR&gt;&amp;gt; data member seems to be causing the crash&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value=M_d2i_ASN1_IA5STRING(NULL, &amp;amp;(Extension-&amp;gt;value-&amp;gt;data),&lt;BR&gt;&amp;gt; Extension-&amp;gt;value-&amp;gt;length);&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Extension-&amp;gt;value-&amp;gt;data=OrgPtr;&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strncpy(Buffer, Value-&amp;gt;data, min(Value-&amp;gt;length+1, BufSize));&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Buffer[min(Value-&amp;gt;length+1, BufSize)-1]='\0';&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ASN1_STRING_free(Value);&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return(TRUE);&lt;BR&gt;&amp;gt; }&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; Appreciate any kind of help on this is greatly appreciated.&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; Thanks &amp;amp; Regards,&lt;BR&gt;&amp;gt; Sanjay.&lt;/div&gt;______________________________________________________________________&lt;BR&gt;OpenSSL Project&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/A&gt;&lt;BR&gt;User Support Mailing List&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26524394&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;&lt;BR&gt;Automated List Manager&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26524394&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Application-crashes-when-trying-to-access-X509-Certificate-Extension-returned-by-X509_get_ext-method-tp26467217p26524394.html" />
</entry>

</feed>
