marwensaid / eid-applet

Automatically exported from code.google.com/p/eid-applet
Other
1 stars 1 forks source link

java.io.IOException #83

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Windows XP SP3
2. FireFox 16.0.2 with Java SE U9 10.9.2.5 plugin
3. Sign an email with http://www.contactoffice.be (create a free account to 
test)

What is the expected output? What do you see instead?
See below

What version of the product are you using? On what operating system?
See below

Please provide any additional information below.

eID Applet - Copyright (C) 2008-2011 FedICT.
Released under GNU LGPL version 3.0 license.
More info: http://code.google.com/p/eid-applet/
checking applet privileges...
security manager permission check for java 1.6...
checking web application trust...
running privileged code...
eID browser applet version: 1.0.4.GA
Java version: 1.7.0_09
Java vendor: Oracle Corporation
OS: Windows XP
OS version: 5.1
OS arch: x86
Web application URL: 
https://www.contactoffice.com/beid/sign.jsp?goidMessage=<sniped_text>#
Current time: Mon Nov 12 09:14:23 CET 2012
session cookie detected
sending message: HelloMessage
current protocol state: null
protocol state transition: INIT
SSL handshake finish cipher suite: TLS_RSA_WITH_AES_128_CBC_SHA
response message: SignCertificatesRequestMessage
current protocol state: INIT
protocol state transition: SIGN_CERTS
performing sign certificates retrieval operation...
Détection de la carte eID.
PKCS#11 path: E:\WINDOWS\system32\beidpkcs11.dll
library description: Belgium eID PKCS#11 interface v2
manufacturer ID: Belgium Government
library version: 2.0
cryptoki version: 2.b
reader: Generic Smart Card Reader Interface 0
Belgium eID card in slot: 0
Lecture des données d'identification.
getting protection parameter
key alias: Root
key alias: CA
key alias: Authentication
key alias: Signature
sending message: SignCertificatesDataMessage
current protocol state: SIGN_CERTS
SSL handshake finish cipher suite: TLS_RSA_WITH_AES_128_CBC_SHA
response message: SignRequestMessage
current protocol state: SIGN_CERTS
protocol state transition: SIGN
logoff: false
remove card: false
require secure smart card reader: false
no PKCS11: false
Détection de la carte eID.
PKCS#11 path: E:\WINDOWS\system32\beidpkcs11.dll
library description: Belgium eID PKCS#11 interface v2
manufacturer ID: Belgium Government
library version: 2.0
cryptoki version: 2.b
reader: Generic Smart Card Reader Interface 0
Belgium eID card in slot: 0
Signature en cours...
signing with algorithm: SHA-1 with RSA
key handle: 3
error: load failed
error type: java.io.IOException
at sun.security.pkcs11.P11KeyStore.engineLoad:782
at java.security.KeyStore.load:-1
at be.fedict.eid.applet.sc.Pkcs11Eid.sign:557
at be.fedict.eid.applet.Controller.performEidSignOperation:993
at be.fedict.eid.applet.Controller.run:378
at be.fedict.eid.applet.Applet$AppletThread$1.run:602
at java.security.AccessController.doPrivileged:-2
at be.fedict.eid.applet.Applet$AppletThread.run:597
at java.lang.Thread.run:-1
Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_DEVICE_ERROR
at sun.security.pkcs11.wrapper.PKCS11.C_GetAttributeValue:-2
at 
sun.security.pkcs11.wrapper.PKCS11$SynchronizedPKCS11.C_GetAttributeValue:1548
at sun.security.pkcs11.P11KeyStore.mapLabels:2306
at sun.security.pkcs11.P11KeyStore.engineLoad:766
at java.security.KeyStore.load:-1
at be.fedict.eid.applet.sc.Pkcs11Eid.sign:557
at be.fedict.eid.applet.Controller.performEidSignOperation:993
at be.fedict.eid.applet.Controller.run:378
at be.fedict.eid.applet.Applet$AppletThread$1.run:602
at java.security.AccessController.doPrivileged:-2
at be.fedict.eid.applet.Applet$AppletThread.run:597
at java.lang.Thread.run:-1
Erreur générale.
SSL handshake finish cipher suite: TLS_RSA_WITH_AES_128_CBC_SHA
SSL session Id mismatch

Original issue reported on code.google.com by arn...@contactoffice.com on 12 Nov 2012 at 8:29

GoogleCodeExporter commented 9 years ago
They are using an old eID Applet version 1.0.4.GA. They should update to 
1.0.5.GA.

Original comment by frank.co...@gmail.com on 30 Nov 2012 at 2:59

GoogleCodeExporter commented 9 years ago
Many thanks. I'll warn ContactOffice.

Original comment by arn...@contactoffice.com on 30 Nov 2012 at 4:19