Reporting issue with v2.1 rc16 and --cryptoapicert
Dear developers,
I'm currently installing and testing OpenVPN 2.1 on windows environment and have seen that there's a newer version rc16.
Since this version I cannot use the parameter:
--cryptoapicert "Thumb:xx xx xx xx xx"
Error message:
cannot load certificate "Thumb:xx xx xx xx .... " from Microsoft Certificate Store:
error:C506C064:microsoft cryptoapi:GetProcAddress:The specified procedure could not be found.
This behaviour is the same on server or client sides. With rc15 this worked well.
Maybe this is a small bug.
So I want to report this issue to you.
Would it be fixed in rc17?
Thanks in Adanvce,
Markus
Signature · 2 lines
Nur bis 31.05.: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate und Telefonanschluss nur 17,95 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02
True.
I already reported this to James.
There were too many change-replace at the cryptoapi.c in this version.
Quoted 42 lines · Markus Bickel
Dear developers,
I'm currently installing and testing OpenVPN 2.1 on windows environment and have seen that there's a newer version rc16.
Since this version I cannot use the parameter:
--cryptoapicert "Thumb:xx xx xx xx xx"
Error message:
cannot load certificate "Thumb:xx xx xx xx .... " from Microsoft Certificate Store:
error:C506C064:microsoft cryptoapi:GetProcAddress:The specified procedure could not be found.This behaviour is the same on server or client sides. With rc15 this worked well.
Maybe this is a small bug.
So I want to report this issue to you.Would it be fixed in rc17?
Thanks in Adanvce,
Markus
--
Nur bis 31.05.: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate und Telefonanschluss nur 17,95 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel
I would rather not have touched cryptoapi.c for rc16, but it wouldn't build with MinGW 5.1.4 (the .h files in this version of MinGW define the symbol CryptAcquireCertificatePrivateKey which conflicts with the symbol of the same definition in cryptoapi.c). So I did try to work around the issue, but perhaps I broke something in the process.
It would be great if one of the developers that uses the crypto API feature could take a look at it. We will certainly accept a patch that fixes any introduced breakage.
James
Quoted 53 lines · Alon Bar-Lev
True.
I already reported this to James.
There were too many change-replace at thecryptoapi.cin this version.Quoted 30 lines · Markus Bickel
Dear developers,
I'm currently installing and testing OpenVPN 2.1 on windows environment and have seen that there's a newer version rc16.
Since this version I cannot use the parameter:
--cryptoapicert "Thumb:xx xx xx xx xx"
Error message:
cannot load certificate "Thumb:xx xx xx xx .... " from Microsoft Certificate Store:
error:C506C064:microsoft cryptoapi:GetProcAddress:The specified procedure could not be found.This behaviour is the same on server or client sides. With rc15 this worked well.
Maybe this is a small bug.
So I want to report this issue to you.Would it be fixed in rc17?
Thanks in Adanvce,
Markus
--
Nur bis 31.05.: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate und Telefonanschluss nur 17,95 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02Quoted 11 lines
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel
Quoted 9 lines · James Yonan
I would rather not have touched
cryptoapi.cfor rc16, but it wouldn't build with MinGW 5.1.4 (the .h files in this version of MinGW define the
symbol CryptAcquireCertificatePrivateKey which conflicts with the symbol
of the same definition incryptoapi.c). So I did try to work around the
issue, but perhaps I broke something in the process.
Quoted 4 lines
It would be great if one of the developers that uses the crypto API feature could take a look at it. We will certainly accept a patch that
fixes any introduced breakage.
From my post:
http://sourceforge.net/mailarchive/message.php?msg_name=1239152310l.18482l.7l%40mofo
--------<snip>------------
One issue is that cryptoapi.c works around a problem where CryptAcquireCertificatePrivateKey is missing from MinGW. However, I've installed the latest stable MinGW, 5.1.4, and the function is now in MinGW. So, I tried commenting out the #ifdef __MINGW32_VERSION hacks in cryptoapi.c. This seems to have worked. (So far) --------<snip>------------
The above works. In other words there's a bunch of extra code in cryptoapi.c that no longer needs to be there, at least with the latest MinGW. To retain compatibility with older MinGW versions the right thing to do is conditional compilation based on the MinGW version, or maybe there's another approach that would work better. I've not looked at the code in a while.
Back when I was looking at getting OpenVPN to compile under MinGW I might have sent a patch to this list but
I've already sent 3 patches and gotten no feedback whatsoever from anybody who seems to be a maintainer so I don't really see the point in trying to contribute.
Quoted 86 lines
James
Quoted 3 lines · Alon Bar-Lev
True.
I already reported this to James.
There were too many change-replace at thecryptoapi.cin thisversion.
Quoted 2 lines
On Fri, May 29, 2009 at 2:09 PM, Markus Bickel
Quoted 3 lines · <[email protected]...> wrote:
Quoted 3 lines
Dear developers,
I'm currently installing and testing OpenVPN 2.1 on windows
environment and have seen that there's a newer version rc16.
Quoted 8 lines
Quoted 8 lines
Since this version I cannot use the parameter:
--cryptoapicert "Thumb:xx xx xx xx xx"
Error message:
cannot load certificate "Thumb:xx xx xx xx .... " from Microsoft
Certificate Store:
Quoted 1 line
Quoted 1 line
error:C506C064:microsoft cryptoapi:GetProcAddress:The specified
procedure could not be found.
Quoted 8 lines
Quoted 8 lines
This behaviour is the same on server or client sides. With rc15 this worked well.
Maybe this is a small bug.
So I want to report this issue to you.Quoted 8 lines
Quoted 8 lines
Would it be fixed in rc17?
Thanks in Adanvce,
Markus
--
Nur bis 31.05.: GMX FreeDSL Komplettanschluss mit DSL 6.000Flatrate und
Quoted 1 line
Quoted 1 line
Telefonanschluss nur 17,95 Euro/mtl.!*
http://portal.gmx.net/de/go/dsl02
Quoted 2 lines
Quoted 2 lines
------------------------------------------------------------------------------
Quoted 1 line
Quoted 1 line
Register Now for Creativity and Technology (CaT), June 3rd, NYC.
CaT
Quoted 1 line
Quoted 1 line
is a gathering of tech-side developers & brand creativity
professionals. Meet
Quoted 1 line
Quoted 1 line
the minds behind Google Creative Lab, Visual Complexity,
Processing, &
Quoted 1 line
Quoted 1 line
iPhoneDevCamp as they present alongside digital heavyweights like
Barbarian
Quoted 8 lines
Quoted 6 lines
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________
Openvpn-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel------------------------------------------------------------------------------
Quoted 3 lines
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity
professionals. Meet
Quoted 1 line
the minds behind Google Creative Lab, Visual Complexity, Processing,
&
Quoted 1 line
iPhoneDevCamp as they present alongside digital heavyweights like
Barbarian
Quoted 5 lines
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________
Openvpn-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
Quoted 9 lines
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________
Openvpn-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel
Karl <[email protected]...>
Free Software: "You don't pay back, you pay forward."
-- Robert A. Heinlein
Hello James,
I sent you several times correct patch.
You did not apply it as-is.
Anyway, the attached patches is in queue.
Alon.
Quoted 6 lines · James Yonan
I would rather not have touched
cryptoapi.cfor rc16, but it wouldn't build with MinGW 5.1.4 (the .h files in this version of MinGW define the symbol CryptAcquireCertificatePrivateKey which conflicts with the symbol of the same definition incryptoapi.c). So I did try to work around the issue, but perhaps I broke something in the process.
Quoted 76 lines
It would be great if one of the developers that uses the crypto API feature could take a look at it. We will certainly accept a patch that fixes any introduced breakage.
James
Quoted 67 lines · Alon Bar-Lev
True.
I already reported this to James.
There were too many change-replace at thecryptoapi.cin this version.Quoted 35 lines · Markus Bickel
Dear developers,
I'm currently installing and testing OpenVPN 2.1 on windows environment and have seen that there's a newer version rc16.
Since this version I cannot use the parameter:
--cryptoapicert "Thumb:xx xx xx xx xx"
Error message:
cannot load certificate "Thumb:xx xx xx xx .... " from Microsoft Certificate Store:
error:C506C064:microsoft cryptoapi:GetProcAddress:The specified procedure could not be found.This behaviour is the same on server or client sides. With rc15 this worked well.
Maybe this is a small bug.
So I want to report this issue to you.Would it be fixed in rc17?
Thanks in Adanvce,
Markus
--
Nur bis 31.05.: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate und Telefonanschluss nur 17,95 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02Quoted 13 lines
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________
Openvpn-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel
cryptoapi.c +2 -2
@@ -75,7 +75,7 @@ { ERR_PACK(ERR_LIB_CRYPTOAPI, 0, 0), "microsoft cryptoapi"}, { ERR_PACK(0, CRYPTOAPI_F_CERT_OPEN_SYSTEM_STORE, 0), "CertOpenSystemStore" }, { ERR_PACK(0, CRYPTOAPI_F_CERT_FIND_CERTIFICATE_IN_STORE, 0), "CertFindCertificateInStore" }, - { ERR_PACK(0, CRYPTOAPI_F_CRYPT_ACQUIRE_CERTIFICATE_PRIVATE_KEY, 0), "OpenVPNCryptAcquireCertificatePrivateKey" }, + { ERR_PACK(0, CRYPTOAPI_F_CRYPT_ACQUIRE_CERTIFICATE_PRIVATE_KEY, 0), "CryptAcquireCertificatePrivateKey" }, { ERR_PACK(0, CRYPTOAPI_F_CRYPT_CREATE_HASH, 0), "CryptCreateHash" }, { ERR_PACK(0, CRYPTOAPI_F_CRYPT_GET_HASH_PARAM, 0), "CryptGetHashParam" }, { ERR_PACK(0, CRYPTOAPI_F_CRYPT_SET_HASH_PARAM, 0), "CryptSetHashParam" },
@@ -389,7 +389,7 @@ }if (OpenVPNCryptAcquireCertificatePrivateKey ==NULL ) { OpenVPNCryptAcquireCertificatePrivateKey =GetProcAddress (crypt32dll, -"OpenVPNCryptAcquireCertificatePrivateKey" ); +"CryptAcquireCertificatePrivateKey" );if (OpenVPNCryptAcquireCertificatePrivateKey ==NULL ) {CRYPTOAPIerr (CRYPTOAPI_F_GET_PROC_ADDRESS ); goto err;
ssl.c +4 -4
@@ -1653,8 +1653,8 @@return "S_GOT_KEY" ;case S_ACTIVE :return "S_ACTIVE" ; -case S_NORMAL : -return "S_NORMAL" ; +case S_NORMAL_OP : +return "S_NORMAL_OP" ;case S_ERROR :return "S_ERROR" ;default :
@@ -3564,8 +3564,8 @@ }else /* assume that ks->state == S_ACTIVE */ { -dmsg (D_TLS_DEBUG_MED ,"STATE S_NORMAL" ); - ks->state =S_NORMAL ; +dmsg (D_TLS_DEBUG_MED ,"STATE S_NORMAL_OP" ); + ks->state =S_NORMAL_OP ; ks->must_negotiate =0 ; } }
ssl.h +1 -1
@@ -230,7 +230,7 @@#define S_SENT_KEY 4/* client does S_SENT_KEY -> S_GOT_KEY */ #define S_GOT_KEY 5/* server does S_GOT_KEY -> S_SENT_KEY */ #define S_ACTIVE 6/* ready to exchange data channel packets */ -#define S_NORMAL 7/* normal operations */ +#define S_NORMAL_OP 7/* normal operations */ /* * Are we ready to receive data channel packets?
config-win32.h.in +0 -1
@@ -318,7 +318,6 @@ #define S_IRUSR 0 #define S_IWUSR 0 typedef int intptr_t; -#undef S_NORMAL /* Visual Studio 2005 supports vararg macros */ #if _MSC_VER >= 1400 #define HAVE_CPP_VARARG_MACRO_ISO 1
Sorry about that. It must have slipped through the cracks. I've merged the patch:
------------------------------------------------------------------------
r4475 | james | 2009-05-30 13:53:49 -0600 (Sat, 30 May 2009) | 3 lines Changed paths:
M /branches/BETA21/openvpn/config-win32.h.in
M /branches/BETA21/openvpn/cryptoapi.c
M /branches/BETA21/openvpn/ssl.c
M /branches/BETA21/openvpn/ssl.h
Fixed issue of symbol conflicts interfering with Windows CryptoAPI functionality (Alon Bar-Lev).
------------------------------------------------------------------------
James
Quoted 87 lines · Alon Bar-Lev
Hello James,
I sent you several times correct patch.
You did not apply it as-is.
Anyway, the attached patches is in queue.Alon.
Quoted 78 lines · James Yonan
I would rather not have touched
cryptoapi.cfor rc16, but it wouldn't build with MinGW 5.1.4 (the .h files in this version of MinGW define the symbol CryptAcquireCertificatePrivateKey which conflicts with the symbol of the same definition incryptoapi.c). So I did try to work around the issue, but perhaps I broke something in the process.It would be great if one of the developers that uses the crypto API feature could take a look at it. We will certainly accept a patch that fixes any introduced breakage.
James
Quoted 64 lines · Alon Bar-Lev
True.
I already reported this to James.
There were too many change-replace at thecryptoapi.cin this version.Quoted 34 lines · Markus Bickel
Dear developers,
I'm currently installing and testing OpenVPN 2.1 on windows environment and have seen that there's a newer version rc16.
Since this version I cannot use the parameter:
--cryptoapicert "Thumb:xx xx xx xx xx"
Error message:
cannot load certificate "Thumb:xx xx xx xx .... " from Microsoft Certificate Store:
error:C506C064:microsoft cryptoapi:GetProcAddress:The specified procedure could not be found.This behaviour is the same on server or client sides. With rc15 this worked well.
Maybe this is a small bug.
So I want to report this issue to you.Would it be fixed in rc17?
Thanks in Adanvce,
Markus
--
Nur bis 31.05.: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate und Telefonanschluss nur 17,95 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02Quoted 13 lines
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________
Openvpn-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel
Re: [Openvpn-devel] Reporting issue with v2.1 rc16 and--cryptoapicert
This change seems incomplete, and it does not build on Windows on non-MINGW32. It seems simple enough, the conditional compilation doesn't define
OpenVPNCryptAcquireCertificatePrivateKey
For non-MINGW32
Attached is a patch to add that definition for non-MINGW32
-dave
Quoted 145 lines
-----Original Message-----
From: James Yonan [mailto:[email protected]...]
Sent: Saturday, May 30, 2009 3:18 PM
To: Alon Bar-Lev
Cc: [email protected]
Subject: Re: [Openvpn-devel] Reporting issue with v2.1 rc16 and--cryptoapicertSorry about that. It must have slipped through the cracks. I've merged
the patch:--------------------------------------------------------------
----------
r4475 | james | 2009-05-30 13:53:49 -0600 (Sat, 30 May 2009) | 3 lines Changed paths:
M /branches/BETA21/openvpn/config-win32.h.in
M /branches/BETA21/openvpn/cryptoapi.c
M /branches/BETA21/openvpn/ssl.c
M /branches/BETA21/openvpn/ssl.hFixed issue of symbol conflicts interfering with Windows CryptoAPI functionality (Alon Bar-Lev).
--------------------------------------------------------------
----------James
Quoted 10 lines · Alon Bar-Lev
Hello James,
I sent you several times correct patch.
You did not apply it as-is.
Anyway, the attached patches is in queue.Alon.
Quoted 1 line · James Yonan
I would rather not have touched
cryptoapi.cfor rc16, butit wouldn't
Quoted 1 line
Quoted 1 line
build with MinGW 5.1.4 (the .h files in this version of
MinGW define the
Quoted 1 line
Quoted 1 line
symbol CryptAcquireCertificatePrivateKey which conflicts
with the symbol
Quoted 1 line
Quoted 1 line
of the same definition in
cryptoapi.c). So I did try towork around the
Quoted 4 lines
Quoted 4 lines
issue, but perhaps I broke something in the process.
It would be great if one of the developers that uses the crypto API feature could take a look at it. We will certainly accept
a patch that
Quoted 8 lines
Quoted 8 lines
fixes any introduced breakage.
James
Quoted 3 lines · Alon Bar-Lev
True.
I already reported this to James.
There were too many change-replace at thecryptoapi.cinthis version.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
On Fri, May 29, 2009 at 2:09 PM, Markus Bickel
<[email protected]...>
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines · wrote:
Dear developers,
I'm currently installing and testing OpenVPN 2.1 on
windows environment
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
and have seen that there's a newer version rc16.
Since this version I cannot use the parameter:
--cryptoapicert "Thumb:xx xx xx xx xx"
Error message:
cannot load certificate "Thumb:xx xx xx xx .... " from Microsoft Certificate Store:
error:C506C064:microsoft cryptoapi:GetProcAddress:Thespecified procedure
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
could not be found.
This behaviour is the same on server or client sides. With rc15 this worked well.
Maybe this is a small bug.
So I want to report this issue to you.Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Would it be fixed in rc17?
Thanks in Adanvce,
Markus
--
Nur bis 31.05.: GMX FreeDSL Komplettanschluss mit DSL6.000 Flatrate und
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Telefonanschluss nur 17,95 Euro/mtl.!*
http://portal.gmx.net/de/go/dsl02
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
--------------------------------------------------------------
----------------Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Register Now for Creativity and Technology (CaT), June
3rd, NYC. CaT
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
is a gathering of tech-side developers & brand
creativity professionals.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Meet
the minds behind Google Creative Lab, Visual Complexity,Processing, &
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship.http://p.sf.net/sfu/creativitycat-com
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
_______________________________________________
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 4 lines
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel--------------------------------------------------------------
----------------Quoted 1 line
Quoted 1 line
Quoted 1 line
Register Now for Creativity and Technology (CaT), June
3rd, NYC. CaT is a
Quoted 1 line
Quoted 1 line
Quoted 1 line
gathering of tech-side developers & brand creativity
professionals. Meet
Quoted 1 line
Quoted 1 line
Quoted 1 line
the minds behind Google Creative Lab, Visual Complexity,
Processing, &
Quoted 1 line
Quoted 1 line
Quoted 1 line
iPhoneDevCamp as they present alongside digital
heavyweights like Barbarian
Quoted 1 line
Quoted 1 line
Quoted 1 line
Group, R/GA, & Big Spaceship.
http://p.sf.net/sfu/creativitycat-com
Quoted 1 line
Quoted 1 line
Quoted 1 line
_______________________________________________
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel
Quoted 15 lines
--------------------------------------------------------------
----------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________
Openvpn-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel
cryptoapi.c +2 -0
@@ -53,6 +53,8 @@static HINSTANCE crypt32dll =NULL ; static BOOL WINAPI (*OpenVPNCryptAcquireCertificatePrivateKey) (PCCERT_CONTEXT pCert, DWORD dwFlags,void *pvReserved,HCRYPTPROV *phCryptProv,DWORD *pdwKeySpec,BOOL *pfCallerFreeProv) =NULL ; +#else +#define OpenVPNCryptAcquireCertificatePrivateKey CryptAcquireCertificatePrivateKey#endif /* Size of an SSL signature: MD5+SHA1 */
Re: [Openvpn-devel] Reporting issue with v2.1 rc16 and--cryptoapicert
True.
Well, this is the original patch I sent [1]
[1] http://www.opensc-project.org/build/browser/trunk/patches/openvpn-002-mingw.patch?rev=30
Quoted 171 lines · dave
This change seems incomplete, and it does not build on Windows on non-MINGW32. It seems simple enough, the conditional compilation doesn't define
OpenVPNCryptAcquireCertificatePrivateKey
For non-MINGW32Attached is a patch to add that definition for non-MINGW32
-dave
Quoted 160 lines
-----Original Message-----
From: James Yonan [mailto:[email protected]...]
Sent: Saturday, May 30, 2009 3:18 PM
To: Alon Bar-Lev
Cc: [email protected]
Subject: Re: [Openvpn-devel] Reporting issue with v2.1 rc16 and--cryptoapicertSorry about that. It must have slipped through the cracks. I've merged
the patch:--------------------------------------------------------------
----------
r4475 | james | 2009-05-30 13:53:49 -0600 (Sat, 30 May 2009) | 3 lines Changed paths:
M /branches/BETA21/openvpn/config-win32.h.in
M /branches/BETA21/openvpn/cryptoapi.c
M /branches/BETA21/openvpn/ssl.c
M /branches/BETA21/openvpn/ssl.hFixed issue of symbol conflicts interfering with Windows CryptoAPI functionality (Alon Bar-Lev).
--------------------------------------------------------------
----------James
Quoted 10 lines · Alon Bar-Lev
Hello James,
I sent you several times correct patch.
You did not apply it as-is.
Anyway, the attached patches is in queue.Alon.
Quoted 1 line · James Yonan
I would rather not have touched
cryptoapi.cfor rc16, butit wouldn't
Quoted 1 line
Quoted 1 line
build with MinGW 5.1.4 (the .h files in this version of
MinGW define the
Quoted 1 line
Quoted 1 line
symbol CryptAcquireCertificatePrivateKey which conflicts
with the symbol
Quoted 1 line
Quoted 1 line
of the same definition in
cryptoapi.c). So I did try towork around the
Quoted 4 lines
Quoted 4 lines
issue, but perhaps I broke something in the process.
It would be great if one of the developers that uses the crypto API feature could take a look at it. We will certainly accept
a patch that
Quoted 8 lines
Quoted 8 lines
fixes any introduced breakage.
James
Quoted 3 lines · Alon Bar-Lev
True.
I already reported this to James.
There were too many change-replace at thecryptoapi.cinthis version.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
On Fri, May 29, 2009 at 2:09 PM, Markus Bickel
<[email protected]...>
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines · wrote:
Dear developers,
I'm currently installing and testing OpenVPN 2.1 on
windows environment
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
and have seen that there's a newer version rc16.
Since this version I cannot use the parameter:
--cryptoapicert "Thumb:xx xx xx xx xx"
Error message:
cannot load certificate "Thumb:xx xx xx xx .... " from Microsoft Certificate Store:
error:C506C064:microsoft cryptoapi:GetProcAddress:Thespecified procedure
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
could not be found.
This behaviour is the same on server or client sides. With rc15 this worked well.
Maybe this is a small bug.
So I want to report this issue to you.Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Would it be fixed in rc17?
Thanks in Adanvce,
Markus
--
Nur bis 31.05.: GMX FreeDSL Komplettanschluss mit DSL6.000 Flatrate und
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Telefonanschluss nur 17,95 Euro/mtl.!*
http://portal.gmx.net/de/go/dsl02
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
--------------------------------------------------------------
----------------Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Register Now for Creativity and Technology (CaT), June
3rd, NYC. CaT
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
is a gathering of tech-side developers & brand
creativity professionals.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Meet
the minds behind Google Creative Lab, Visual Complexity,Processing, &
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship.http://p.sf.net/sfu/creativitycat-com
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
_______________________________________________
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 4 lines
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel--------------------------------------------------------------
----------------Quoted 1 line
Quoted 1 line
Quoted 1 line
Register Now for Creativity and Technology (CaT), June
3rd, NYC. CaT is a
Quoted 1 line
Quoted 1 line
Quoted 1 line
gathering of tech-side developers & brand creativity
professionals. Meet
Quoted 1 line
Quoted 1 line
Quoted 1 line
the minds behind Google Creative Lab, Visual Complexity,
Processing, &
Quoted 1 line
Quoted 1 line
Quoted 1 line
iPhoneDevCamp as they present alongside digital
heavyweights like Barbarian
Quoted 1 line
Quoted 1 line
Quoted 1 line
Group, R/GA, & Big Spaceship.
http://p.sf.net/sfu/creativitycat-com
Quoted 1 line
Quoted 1 line
Quoted 1 line
_______________________________________________
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel--------------------------------------------------------------
----------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________
Openvpn-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel
Re: [Openvpn-devel] Reporting issue with v2.1 rc16and--cryptoapicert
Gotcha. Also minor bug: the buld number shows as rc16b instead of rc17
Quoted 2 lines
-----Original Message-----
From: Alon Bar-Lev [mailto:[email protected]...]
...
Quoted 8 lines
True.
Well, this is the original patch I sent [1]
[1]
http://www.opensc-project.org/build/browser/trunk/patches/open
vpn-002-mingw.patch?rev=30
...