MIME-Version: 1.0 Sender: fyellin@...277... In-Reply-To: <20090528092618.GA31165@...1066...> References: <20090528055401.GB24851@...1066...> <20090528092618.GA31165@...1066...> Date: Fri, 29 May 2009 11:19:10 -0700 Message-ID: From: Frank Yellin Content-Type: multipart/alternative; boundary=00163628360aebc631046b111c75 Subject: Re: [Openvpn-devel] Unable to use -OFB or -CFB ciphers in OpenVPN List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: openvpn-devel@lists.sourceforge.net --00163628360aebc631046b111c75 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit A simpler way to see the crypto bug. . . . $ openvpn --secret static.key --test-crypto .... Fri May 29 10:56:58 2009 OpenVPN crypto self-test mode SUCCEEDED. $ openvpn --secret static.key --test-crypto --cipher bf-ofb Fri May 29 11:12:07 2009 OpenVPN 2.1_rc15 mipsel-unknown-linux-gnu [SSL] [LZO2] built on May 2 2009 Fri May 29 11:12:07 2009 OpenVPN 2.1_rc15 mipsel-unknown-linux-gnu [SSL] [LZO2] built on May 2 2009 Fri May 29 11:12:07 2009 Entering OpenVPN crypto self-test mode. Fri May 29 11:12:07 2009 TESTING ENCRYPT/DECRYPT of packet length=1 Fri May 29 11:12:07 2009 Assertion failed at crypto.c:162 Fri May 29 11:12:07 2009 Exiting I'd like someone who understands this code to confirm that the ASSERT is incorrect. (I'll also point out the minor bug of the header being printed out twice!) --00163628360aebc631046b111c75 Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable A simpler way to see the crypto bug. . . .

$ openvpn --secret static.key --test-crypto
=A0 =A0=A0 .... Fri May 29 10:56:58 2009 OpenVPN crypto self-test mode SUCCEEDED.

$= openvpn --secret static.key --test-crypto --cipher bf-ofb
Fri May 29 11:12:07 2009 OpenVPN 2.1_rc15 mipsel-unknown-linux-gnu [SSL] [L= ZO2] built on May=A0 2 2009
Fri May 29 11:12:07 2009 OpenVPN 2.1_rc15 mi= psel-unknown-linux-gnu [SSL] [LZO2] built on May=A0 2 2009
Fri May 29 11= :12:07 2009 Entering OpenVPN crypto self-test mode.
Fri May 29 11:12:07 2009 TESTING ENCRYPT/DECRYPT of packet length=3D1
Fr= i May 29 11:12:07 2009 Assertion failed at crypto.c:162
Fri May 29 11:12= :07 2009 Exiting

I'd like someone who understands this cod= e to confirm that the ASSERT is incorrect.=A0

(I'll also point out the minor bug of the header being printed out = twice!)



--00163628360aebc631046b111c75--