new opensc and openct pre releases

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

new opensc and openct pre releases

Andreas Jellinghaus-2
https://www.opensc-project.org/files/openct/testing/
https://www.opensc-project.org/files/openct/testing/openct-0.6.12-pre3.tar.gz

https://www.opensc-project.org/files/opensc/testing/
https://www.opensc-project.org/files/opensc/testing/opensc-0.11.3-pre2.tar.gz

please test these new versions, if we find no show-stoppers I'd like
to release them as new version, so we get all recent improvements out
of the door to our users.

Thanks, Andreas
_______________________________________________
opensc-devel mailing list
[hidden email]
http://www.opensc-project.org/mailman/listinfo/opensc-devel
Reply | Threaded
Open this post in threaded view
|

Re: new opensc and openct pre releases

Tarasov Viktor
Andreas Jellinghaus a écrit :

> https://www.opensc-project.org/files/openct/testing/
> https://www.opensc-project.org/files/openct/testing/openct-0.6.12-pre3.tar.gz
>
> https://www.opensc-project.org/files/opensc/testing/
> https://www.opensc-project.org/files/opensc/testing/opensc-0.11.3-pre2.tar.gz
>
> please test these new versions, if we find no show-stoppers I'd like
> to release them as new version, so we get all recent improvements out
> of the door to our users.
>  
Hi,

I've tested opensc-0.11.3-pre2 with Oberthur card.

There were two bugs in libopensc/card-oberthur.c ,
'compute_signature' returns output allocation length, instead of
response length ;
invalid internal pin reference procedure that has an impact on the
unblocking procedure .

The changes have been submitted to 'trunk'.

Beside of init0007 (two PINs) and init0012 (one-pin profile),
all regression tests for me are OK.

> Thanks, Andreas
> _______________________________________________
> opensc-devel mailing list
> [hidden email]
> http://www.opensc-project.org/mailman/listinfo/opensc-devel
>
>  
Regards,
Viktor.

_______________________________________________
opensc-devel mailing list
[hidden email]
http://www.opensc-project.org/mailman/listinfo/opensc-devel
Reply | Threaded
Open this post in threaded view
|

Re: new opensc and openct pre releases

Andreas Jellinghaus-2
> I've tested opensc-0.11.3-pre2 with Oberthur card.
>
> There were two bugs in libopensc/card-oberthur.c ,
> 'compute_signature' returns output allocation length, instead of
> response length ;
> invalid internal pin reference procedure that has an impact on the
> unblocking procedure .
>
> The changes have been submitted to 'trunk'.
>
> Beside of init0007 (two PINs) and init0012 (one-pin profile),
> all regression tests for me are OK.

Hi Viktor,

thanks for your help! test results are very helpful for me.
I cleaned up more issues in other projects, and aim for
a full release (openct,opensc,libp11,engine_pkcs11,pam_p11,scb) this week.

Thanks, Andreas
_______________________________________________
opensc-devel mailing list
[hidden email]
http://www.opensc-project.org/mailman/listinfo/opensc-devel
Reply | Threaded
Open this post in threaded view
|

Re: new opensc and openct pre releases

Alessandro Premoli
In reply to this post by Tarasov Viktor
Andreas Jellinghaus wrote :
>> https://www.opensc-project.org/files/openct/testing/openct-0.6.12-pre3.tar.gz

That's fine.

>> https://www.opensc-project.org/files/opensc/testing/opensc-0.11.3-pre2.tar.gz

I have a regression with this one. I didn't investigate further yet, but
a simple 'ls' inside opensc-explorer with my eAladdin eToken Pro fails.

--
Alessandro
_______________________________________________
opensc-devel mailing list
[hidden email]
http://www.opensc-project.org/mailman/listinfo/opensc-devel
Reply | Threaded
Open this post in threaded view
|

Re: new opensc and openct pre releases

Douglas E. Engert
In reply to this post by Andreas Jellinghaus-2
You may want to change the version number in the win32/revision.rc:

--- ,version.rc Wed May 10 01:15:26 2006
+++ version.rc Thu Jul  5 11:16:46 2007
@@ -19,8 +19,8 @@
  #endif

  VS_VERSION_INFO VERSIONINFO
- FILEVERSION 0,11,1,0
- PRODUCTVERSION 0,11,1,0
+ FILEVERSION 0,11,3,0
+ PRODUCTVERSION 0,11,3,0
   FILEFLAGSMASK 0x3fL
   FILEFLAGS 0x0L
   FILEOS 0x40004L
@@ -32,8 +32,8 @@
          BLOCK "080904b0"
          BEGIN
              VALUE "Description", "OpenSC PKCS#11 library\0"
-            VALUE "FileVersion", "0, 11, 1, 0\0"
-            VALUE "ProductVersion", "0, 11, 1, 0\0"
+            VALUE "FileVersion", "0, 11, 3, 0\0"
+            VALUE "ProductVersion", "0, 11, 3, 0\0"
              VALUE "Licence", "LGPL\0"
              VALUE "Info", "http://www.opensc-project.org/\0"
          END

Andreas Jellinghaus wrote:

> https://www.opensc-project.org/files/openct/testing/
> https://www.opensc-project.org/files/openct/testing/openct-0.6.12-pre3.tar.gz
>
> https://www.opensc-project.org/files/opensc/testing/
> https://www.opensc-project.org/files/opensc/testing/opensc-0.11.3-pre2.tar.gz
>
> please test these new versions, if we find no show-stoppers I'd like
> to release them as new version, so we get all recent improvements out
> of the door to our users.
>
> Thanks, Andreas
> _______________________________________________
> opensc-devel mailing list
> [hidden email]
> http://www.opensc-project.org/mailman/listinfo/opensc-devel
>
>

--

  Douglas E. Engert  <[hidden email]>
  Argonne National Laboratory
  9700 South Cass Avenue
  Argonne, Illinois  60439
  (630) 252-5444
_______________________________________________
opensc-devel mailing list
[hidden email]
http://www.opensc-project.org/mailman/listinfo/opensc-devel
Reply | Threaded
Open this post in threaded view
|

Re: new opensc and openct pre releases

Douglas E. Engert
In reply to this post by Andreas Jellinghaus-2


Andreas Jellinghaus wrote:

> https://www.opensc-project.org/files/openct/testing/
> https://www.opensc-project.org/files/openct/testing/openct-0.6.12-pre3.tar.gz
>
> https://www.opensc-project.org/files/opensc/testing/
> https://www.opensc-project.org/files/opensc/testing/opensc-0.11.3-pre2.tar.gz
>
> please test these new versions, if we find no show-stoppers I'd like
> to release them as new version, so we get all recent improvements out
> of the door to our users.
>

VC++ 2005 has a number of problems in pkcs15init. Looks like "inline"
is treated differently on Windows then on Unix.  Google "vc inline function"
gives some clues. I think inline is for C++ but the modules are c,.
and the VC is treating inline as compiler directive to compile asm code inline(...).

configure and AC_INLINE tries to do the right thing for unix
but the src/include/winconfig.h is used to generate config.h on windows.

Here is a patch to wincofig.h to use _inline, and to fix another instance of
version number. (It comiples without error, but I have not tied any of the
pkcs15init routines that are affected.)


--- ,winconfig.h Sun Aug 13 16:27:14 2006
+++ winconfig.h Thu Jul  5 13:41:58 2007
@@ -57,6 +57,8 @@
  #define putenv _putenv
  #endif

+#define inline  _inline
+
  #ifndef R_OK
  #define R_OK  4 /* test whether readable.  */
  #define W_OK  2 /* test whether writable.  */
@@ -71,7 +73,7 @@
  #define PATH_MAX _MAX_PATH

  #ifndef VERSION
-#define VERSION "0.11.2"
+#define VERSION "0.11.3"
  #endif

  /* src/common/getpass.c */




         cl /D_CRT_SECURE_NO_DEPRECATE /Zi /MD /nologo /DHAVE_CONFIG_H /I..\..\sr
c\include /I..\..\src\include\opensc /I..\..\src\common /I"D:\build\openssl-0.9.
7g\src\inc32" /I"C:\opt\zlib123-dll\include" /I"D:\opt\OpenSC\GnuWin32\include"
/D_WIN32_WINNT=0x0400 /DHAVE_OPENSSL /DHAVE_ZLIB_H /c profile.c pkcs15-lib.c key
cache.c pkcs15-miocos.c pkcs15-gpk.c pkcs15-cflex.c pkcs15-cardos.c pkcs15-jcop.
c pkcs15-starcos.c pkcs15-oberthur.c pkcs15-setcos.c pkcs15-incrypto34.c pkcs15-
muscle.c
profile.c
pkcs15-lib.c
keycache.c
pkcs15-miocos.c
pkcs15-gpk.c
pkcs15-cflex.c
pkcs15-cflex.c(496) : error C2054: expected '(' to follow 'inline'
pkcs15-cflex.c(498) : error C2085: 'put_pin' : not in formal parameter list
pkcs15-cflex.c(498) : error C2143: syntax error : missing ';' before '{'
pkcs15-cardos.c
pkcs15-cardos.c(87) : error C2054: expected '(' to follow 'inline'
pkcs15-cardos.c(88) : error C2085: 'tlv_init' : not in formal parameter list
pkcs15-cardos.c(88) : error C2143: syntax error : missing ';' before '{'
pkcs15-cardos.c(95) : error C2054: expected '(' to follow 'inline'
pkcs15-cardos.c(96) : error C2085: 'tlv_next' : not in formal parameter list
pkcs15-cardos.c(96) : error C2143: syntax error : missing ';' before '{'
pkcs15-cardos.c(104) : error C2054: expected '(' to follow 'inline'
pkcs15-cardos.c(105) : error C2085: 'tlv_add' : not in formal parameter list
pkcs15-cardos.c(105) : error C2143: syntax error : missing ';' before '{'
pkcs15-jcop.c
pkcs15-starcos.c
pkcs15-oberthur.c
pkcs15-setcos.c
pkcs15-incrypto34.c
pkcs15-incrypto34.c(91) : error C2054: expected '(' to follow 'inline'
pkcs15-incrypto34.c(92) : error C2085: 'tlv_init' : not in formal parameter list

pkcs15-incrypto34.c(92) : error C2143: syntax error : missing ';' before '{'
pkcs15-incrypto34.c(99) : error C2054: expected '(' to follow 'inline'
pkcs15-incrypto34.c(100) : error C2085: 'tlv_next' : not in formal parameter lis
t
pkcs15-incrypto34.c(100) : error C2143: syntax error : missing ';' before '{'
pkcs15-incrypto34.c(108) : error C2054: expected '(' to follow 'inline'
pkcs15-incrypto34.c(109) : error C2085: 'tlv_add' : not in formal parameter list

pkcs15-incrypto34.c(109) : error C2143: syntax error : missing ';' before '{'
pkcs15-muscle.c
Generating Code...
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
NMAKE : fatal error U1073: don't know how to make '..\pkcs15init\pkcs15init.lib'

Stop.
> Thanks, Andreas
> _______________________________________________
> opensc-devel mailing list
> [hidden email]
> http://www.opensc-project.org/mailman/listinfo/opensc-devel
>
>

--

  Douglas E. Engert  <[hidden email]>
  Argonne National Laboratory
  9700 South Cass Avenue
  Argonne, Illinois  60439
  (630) 252-5444
_______________________________________________
opensc-devel mailing list
[hidden email]
http://www.opensc-project.org/mailman/listinfo/opensc-devel