There is a bug in the read operation which will be fixed soon and released along with
some other enhancements. Please bear with us.
Warm Regards
----------
The individual's ability to perceive a problem is inversely
proportional to his responsibility for the fix.
- Defensive deafness doctrine
>-----Original Message-----
>From: Logi Ragnarsson [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, October 31, 2000 8:13 PM
>To: [EMAIL PROTECTED]
>Subject: [OCF] Rading/writing files
>
>
>Hi!
>
>I've got a GPK-800 card and a gcr-410 reader and am experimenting with
>reading and writing files to the card. I try creating a 1KB
>file, writing
>data to it and reading it back, but I get corrupted data.
>
>The first 300 bytes (exactly!) are OK, but then there are errors. I'm
>enclosing the program (FileTest.java) and the input files (no
>extension) and
>output files (.1 .2 and .xor files). The .xor files show the
>exclusive or of
>the data before being written to the card and after being read
>back, i.e.
>errors.
>
>Actually, the corruption depends on what I send. If I write
>plain zeroes or
>ones I get no corruption. If I write random data (taken from
>/dev/urandom) I
>get corruption. I'm only including one set of in/out files for
>random data
>and no one or zero data. You can imagine what it looks like :)
>
>I've ordered a book,
> 1 "Smart Card Handbook"
> Wolfgang Rankl, Wolfgang Effing;
>which I hope explains generla smart-card things that you are basically
>assumed to know about when readng the java documentation (what
>is a cyclic
>file? what file ID's are legal?), but this is so weird that I
>thought I'd
>ask straight away.
>
>Logi
>
---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/
! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
! [EMAIL PROTECTED]
! containing the word
! unsubscribe
! in the body.