KrakenTyio / eid-applet

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

Crash for "german-speaking" eID #67

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Reading the birth date of a german eid doesn't work.

Exception log attached.
The error is : java.lang.NumberFormatException: For input string: 
"21.JUN."

It seems that the birth date format for german version of the eID is not 
DD.mmm.YYYY as stated in official documentation but DD.mmm. YYYY

The eID-applet version used is 1.0.2GA (upgrade to 1.0.3GA is planned) but 
version 1.0.3GA won't fix this bug.

Original issue reported on code.google.com by guillaum...@gmail.com on 15 Jul 2011 at 9:47

Attachments:

GoogleCodeExporter commented 8 years ago
So it contains a space?

Could you send me over the identity file of this eID card? Normally you can 
read out and save the identity file using the eID Middleware viewer.

Is it OK for me to use this identity file in a unit test? (will be published in 
open source)

I would like to add a unit test for this case at:
http://code.google.com/p/eid-applet/source/browse/trunk/eid-applet-service/src/t
est/java/test/unit/be/fedict/eid/applet/service/TlvParserTest.java

Original comment by frank.co...@gmail.com on 16 Jul 2011 at 6:48

GoogleCodeExporter commented 8 years ago
I finally got the identity file... As suspected, the birth date contains a 
space  ("23.SEP. 1982").
Unfortunately, the owner of the eID card doesn't want to be "public".
How could we proceed?

Original comment by guillaum...@gmail.com on 29 Aug 2011 at 4:54

GoogleCodeExporter commented 8 years ago
You're absolutely sure about this? If so, I'll change the eID Applet Service so 
it is also able to parse such date of birth formats.

Original comment by frank.co...@gmail.com on 30 Aug 2011 at 8:15

GoogleCodeExporter commented 8 years ago
Yes, I'm sure. I can send you the eID file for testing purpose (but it must 
remain "private").

Original comment by guillaum...@gmail.com on 31 Aug 2011 at 6:32

GoogleCodeExporter commented 8 years ago
OK, send it to frank dot cornelis at fedict dot be. I'll strip out all fields 
but the DoB for my unit test.

Original comment by frank.co...@gmail.com on 1 Sep 2011 at 6:00

GoogleCodeExporter commented 8 years ago
Done

Original comment by guillaum...@gmail.com on 1 Sep 2011 at 9:12

GoogleCodeExporter commented 8 years ago
http://code.google.com/p/eid-applet/source/detail?r=600

Will be included in eID Applet 1.0.4.GA. Thanks for reporting this issue.

Original comment by frank.co...@gmail.com on 1 Sep 2011 at 11:55