Re: [Openvpn-devel] Security bug with crl-verify

2005-05-11 Thread James Yonan
On Wed, 11 May 2005, Thomas NOEL wrote: > Hello, > > Le 11.05.2005 11:49, James Yonan a écrit : > >>I think there is a security issue with the crl-verify code. OpenVPN only > >>check the issuer of the CRL, but not the CRL signature. > >>If you sign a CRL with another CA (even self signed) which

[Openvpn-devel] Patch for a --capath option (was: Security bug with crl-verify)

2005-05-11 Thread Thomas NOEL
Hello, (...) #if OPENSSL_VERSION_NUMBER >= 0x00907000L X509_STORE_CTX_set_flags (csc, X509_V_FLAG_CRL_CHECK); X509_STORE_CTX_set_flags (csc, X509_V_FLAG_CRL_CHECK_ALL); #endif (...)>> With this kind of X509_STORE_CTX, openssl automagically manage all CA and all CRL included in

Re: [Openvpn-devel] Security bug with crl-verify

2005-05-11 Thread Thomas NOEL
Hello, Le 11.05.2005 11:49, James Yonan a écrit : I think there is a security issue with the crl-verify code. OpenVPN only check the issuer of the CRL, but not the CRL signature. If you sign a CRL with another CA (even self signed) which have the same DN than the certificate issuer, OpenVPN acc

Re: [Openvpn-devel] Security bug with crl-verify

2005-05-11 Thread James Yonan
> Hello, > > I think there is a security issue with the crl-verify code. OpenVPN only > check the issuer of the CRL, but not the CRL signature. > > If you sign a CRL with another CA (even self signed) which have the same > DN than the certificate issuer, OpenVPN accept it as a good CRL : the >

[Openvpn-devel] Security bug with crl-verify

2005-05-11 Thread Thomas NOEL
Hello, I think there is a security issue with the crl-verify code. OpenVPN only check the issuer of the CRL, but not the CRL signature. If you sign a CRL with another CA (even self signed) which have the same DN than the certificate issuer, OpenVPN accept it as a good CRL : the server or the