Hi,
I think I have found a problem with using muscle patch for OpenSC. I suppose
it is in relation with the fact I am using windows OS.
After running pkcs15-init -C -p pkcs15+onepin --pin 00000000 --puk
00000000 OR
pkcs15-init -C --so-pin 00000000 --so-puk 00000000
the 5015 folder is being created but after that I get "File not found"
error. Looking in debug log I can see it is trying to create PKCS15-AODF
with file-id of 4401, but the command sent to the card is B0 5A 00 00 0E 01
44 15 50.....while it should be B0 5A 00 00 0E 50 15 44 01. So it is being
reversed and I suppoes it is related to the BIG ENDIAN problem thath was
solved by using function bebytes2ulong and similar. The 5015 folder is
created OK so muscle_create_file is working fine but muscle_create_file is
not.
Any suggestion on how to solve this correctly?
thanks very much
dejan
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle