Twuk / eid-mw

Automatically exported from code.google.com/p/eid-mw
0 stars 0 forks source link

Error reading card: clearing data for security reasons #118

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. install eid software
2. reboot
3. enter card

What is the expected output? What do you see instead?
My passport
Error: see log file

What version of the product are you using? On what operating system?
4.0.6.169 - Windows 7 pro

Please provide any additional information below.

[LibJ2PCSCGNULinuxFix] OS is [Windows 7]. Not Enabling PCSC library fix.
[LogHelper] java.runtime.name=Java(TM) SE Runtime Environment
[LogHelper] sun.boot.library.path=C:\Program Files\Java\jre7\bin
[LogHelper] java.vm.version=24.0-b56
[LogHelper] java.vm.vendor=Oracle Corporation
[LogHelper] java.vendor.url=http://java.oracle.com/
[LogHelper] path.separator=;
[LogHelper] java.vm.name=Java HotSpot(TM) Client VM
[LogHelper] file.encoding.pkg=sun.io
[LogHelper] user.script=
[LogHelper] user.country=BE
[LogHelper] sun.java.launcher=SUN_STANDARD
[LogHelper] sun.os.patch.level=Service Pack 1
[LogHelper] java.vm.specification.name=Java Virtual Machine Specification
[LogHelper] user.dir=C:\Program Files\Belgium Identity Card\EidViewer
[LogHelper] java.runtime.version=1.7.0_40-b43
[LogHelper] java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
[LogHelper] java.endorsed.dirs=C:\Program Files\Java\jre7\lib\endorsed
[LogHelper] os.arch=x86
[LogHelper] java.io.tmpdir=C:\Users\DIRKKA~1\AppData\Local\Temp\
[LogHelper] line.separator=

[LogHelper] java.vm.specification.vendor=Oracle Corporation
[LogHelper] user.variant=
[LogHelper] os.name=Windows 7
[LogHelper] sun.jnu.encoding=Cp1252
[LogHelper] java.library.path=C:\Program 
Files\Java\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Pr
ogram Files\Common Files\Microsoft Shared\Windows 
Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32
\WindowsPowerShell\v1.0\;C:\Program Files\Intel\DMIX;C:\Program 
Files\Hewlett-Packard\Drive Encryption\;C:\Program 
Files\ActivIdentity\ActivClient\;;C:\AnetLP\AnetLC\System;C:\AnetLP\ANETLC\syste
m;C:\Program Files\Common Files\Microsoft Shared\Windows 
Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32
\WindowsPowerShell\v1.0\;C:\Program Files\Intel\DMIX;C:\Program 
Files\Hewlett-Packard\Drive Encryption\;C:\Program 
Files\ActivIdentity\ActivClient\;;C:\AnetLP\AnetLC\System;C:\AnetLP\ANETLC\syste
m;C:\AnetLP\AnetLC\System;C:\Program Files\Java\jre7\bin;.
[LogHelper] sun.awt.enableExtraMouseButtons=true
[LogHelper] java.specification.name=Java Platform API Specification
[LogHelper] java.class.version=51.0
[LogHelper] sun.management.compiler=HotSpot Client Compiler
[LogHelper] os.version=6.1
[LogHelper] user.home=C:\Users\Dirkkantoor
[LogHelper] user.timezone=Europe/Berlin
[LogHelper] java.awt.printerjob=sun.awt.windows.WPrinterJob
[LogHelper] file.encoding=Cp1252
[LogHelper] java.specification.version=1.7
[LogHelper] user.name=Dirkkantoor
[LogHelper] java.class.path=C:\Program Files\Belgium Identity 
Card\EidViewer\eID Viewer.exe
[LogHelper] java.vm.specification.version=1.7
[LogHelper] sun.arch.data.model=32
[LogHelper] java.home=C:\Program Files\Java\jre7
[LogHelper] sun.java.command=C:\Program Files\Belgium Identity 
Card\EidViewer\eID Viewer.exe
[LogHelper] java.specification.vendor=Oracle Corporation
[LogHelper] user.language=nl
[LogHelper] awt.toolkit=sun.awt.windows.WToolkit
[LogHelper] java.vm.info=mixed mode, sharing
[LogHelper] java.version=1.7.0_40
[LogHelper] java.ext.dirs=C:\Program 
Files\Java\jre7\lib\ext;C:\Windows\Sun\Java\lib\ext
[LogHelper] sun.boot.class.path=C:\Program 
Files\Java\jre7\lib\resources.jar;C:\Program 
Files\Java\jre7\lib\rt.jar;C:\Program 
Files\Java\jre7\lib\sunrsasign.jar;C:\Program 
Files\Java\jre7\lib\jsse.jar;C:\Program Files\Java\jre7\lib\jce.jar;C:\Program 
Files\Java\jre7\lib\charsets.jar;C:\Program 
Files\Java\jre7\lib\jfr.jar;C:\Program Files\Java\jre7\classes
[LogHelper] java.vendor=Oracle Corporation
[LogHelper] file.separator=\
[LogHelper] java.vendor.url.bug=http://bugreport.sun.com/bugreport/
[LogHelper] sun.cpu.endian=little
[LogHelper] sun.io.unicode.encoding=UnicodeLittle
[LogHelper] sun.desktop=windows
[LogHelper] sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+mmx pentium 
i486 i386 i86
[TrustServiceController] Removing Proxy
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
[BelgianEidViewer] Please insert your eID card...
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.

Original issue reported on code.google.com by jorgende...@gmail.com on 27 Mar 2014 at 5:03

GoogleCodeExporter commented 9 years ago
I have exactly the same problem, but with windows XP - SP3...

A bit more log detail below:

[BelgianEidViewer] Please insert your eID card...
[BelgianEidViewer] Scanning card terminal: Broadcom Corp Contacted SmartCard 0
[BelgianEidViewer] eID card detected in card terminal : Broadcom Corp Contacted 
SmartCard 0
[PCSCEidController] reading identity from card..
[PCSCEidController] state state_eidpresent activity reading_identity action none
[CertificatesPanel] Updating..
[CertificatesPanel] Filling Out Certificate Data..
[CardPanel] Updating..
[CardPanel] Clear Card Data But Loading..
[IdentityPanel] Update..
[IdentityPanel] No Identity Data But Loading
[IdentityPanel] No Picture But Loading
[PCSCEid] getIdentity
[PCSCEid] readFile
[BelgianEidViewer] selecting file
[BelgianEidViewer] read binary
[BelgianEidViewer] sleeping...
[PCSCEidController] attempting to release exclusive access
[PCSCEidController] exclusive access released
[PCSCEidController] clear
[TrustServiceController] Clearing
[PCSCEidController] state state_eidpresent activity reading_identity action none
[CertificatesPanel] Updating..
[CertificatesPanel] Filling Out Certificate Data..
[CardPanel] Updating..
[CardPanel] Clear Card Data But Loading..
[IdentityPanel] Update..
[IdentityPanel] No Identity Data But Loading
[IdentityPanel] No Picture But Loading
[PCSCEidController] state state_error activity reading_identity action none
[CertificatesPanel] Updating..
[CertificatesPanel] Clearing Certificate Data..
[CardPanel] Updating..
[CardPanel] Clear Card Data And Not Loading
[IdentityPanel] Update..
[IdentityPanel] Clearing all data because source is not available
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
APDU response error: 27819
be.fedict.eid.applet.sc.PcscEid.readBinary(PcscEid.java:294)
be.fedict.eid.applet.sc.PcscEid.readFile(PcscEid.java:256)
be.fedict.eidviewer.lib.PCSCEid.readFile(PCSCEid.java:82)
be.fedict.eidviewer.lib.PCSCEid.getFile(PCSCEid.java:336)
be.fedict.eidviewer.lib.PCSCEid.getIdentity(PCSCEid.java:95)
be.fedict.eidviewer.lib.PCSCEidController.run(PCSCEidController.java:379)
java.lang.Thread.run(Unknown Source)
[PCSCEidController] state state_idle activity reading_identity action none
[CertificatesPanel] Updating..
[CertificatesPanel] Clearing Certificate Data..
[CardPanel] Updating..
[CardPanel] Clear Card Data And Not Loading
[IdentityPanel] Update..
[IdentityPanel] Clearing all data because source is not available
[PCSCEidController] closing card access

Original comment by benjidan...@gmail.com on 6 Jul 2014 at 12:28

GoogleCodeExporter commented 9 years ago
The message "Clearing data for security reasons" isn't actually the error; this 
is part of the error handling in the interface code which is run when an error 
occurred. At this point, the interface is cleared, so that no partial output is 
shown (in case someone removed the card while it was being read, for instance).

The actual error is thus something else, but we don't get a log message for 
what's happening.

If the issue hasn't been resolved in the time since this happened, please 
contact the servicedesk (servicedesk@fedict.be) to help you get things working.

Closing, as we can't reproduce nor debug this with the info given.

Regards,

Original comment by wouter.v...@fedict.be on 9 Jul 2014 at 10:49

GoogleCodeExporter commented 9 years ago
Maybe this log is giving you more info ?

[BelgianEidViewer] Please insert your eID card...
[BelgianEidViewer] Scanning card terminal: Broadcom Corp 5880 [Contacted 
SmartCard] (0123456789ABCD) 00 00
[PCSCEidController] waiting for eid card..
[PCSCEidController] state state_noeidpresent activity reading_identity action 
none
[CertificatesPanel] Updating..
[CertificatesPanel] Clearing Certificate Data..
[CardPanel] Updating..
[CardPanel] Clear Card Data And Not Loading
[IdentityPanel] Update..
[IdentityPanel] Clearing all data because source is not available
[VersionChecker] Comparing 4.0.7 to 4.0.7: false

Original comment by bartvb.v...@gmail.com on 9 Jul 2014 at 7:21