lets test first, if it doesn't work... in opensc.conf I see we have max_send_size and max_read_size already, but only in reader section. but the ctx.c code looks generic, so we could copy that example setting to reader openct section as well?
no further code changes are necessary to test lower settings? muscle code needs to be fixed I guess: it sets max_send/recv_size without looking at the old value. I guess most readers won't like 64k transfers.
I don't like this ... for example the result of a 2048 bit rsa signature generation returns a 256 byte signature and hence restricting the max receive size to 248 makes it complicated to read the signature with T1 card.
does our code already handle this? a number of cards has max send size bellow 255 bytes, but not sure if they support 2048 bit key sizes.
agree, we should make this value configurable (reader specific ?)
already there as far as I can see. Regards, Andreas _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel