Andreas Jellinghaus wrote:
Am Donnerstag, 23. März 2006 21:24 schrieb Joseph Reveane:
HI Andreas,
Using opensc-explorer, I store a 40K Bzip2 file and
then get it back on disk.
The two files checksums don't match and the file
I retrieve from the card is corrupted.
how do you store and retreive the file?
with opensc-explorer? one of the pkcs15* tools?
pkcs11-tool or pkcs11 api?
I used the opensc-explorer to store and retrieve the file.
Here are the actions I performed:
opensc-explorer:
mkdir 8888 256
cd 8888
create 1F00 41250
put 1F00 blog.tar.bz
get 1F00 new.tar.bz
quit
that works? as far as I remember cardos, a directory allocates space for all
children, too.
afaik no, the space given to a DF is just for the objects (keys etc.
stored in the DF) not for the EFs/DFs in the DF.
so if you create a directory with 10 kb total space, you could
only files in it with a total size of less than 10kb.
try creating a 42kb directory, maybe it works then.
better not (I remember having strange problems once I tried to
create a very large DFs)
Cheers,
Nils
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel