RE: [opensc-devel] Re: Silly question (I hope)

2006-05-01 Thread Juergen Ludyga
>Thank you very much for your quick reply. I will have a look again. >You mention capture. In fact I was looking for a capture software to learn more about smartcards. >Could you suggest one for me? Hello, With Windows I'm using Kobil CT-Manager and/or the USBmon (http://www.hhdsoftware.com) and

[opensc-devel] opensc compatible ca software? wallpaper / screensaver?

2006-05-01 Thread Andreas Jellinghaus
Hi, does anyone know a simple ca script that works with opensc? (did anyone try the openssl ca.sh or CA.pl? or tinyca?) I need to create a ca cert, web server cert and two user certs for demo purpose :) if anyone has nice pictures that could be used as desktop background or screensaver, that woul

Re: [opensc-devel] Re: opensc fixes for review

2006-05-01 Thread Nils Larsch
Andreas Jellinghaus wrote: I'm no big fan of the new patch - one function knows about the internals of the other function? as one of these functions is an internal function I don't consider this a big problem Instead I see two ways: a) we get a return code so we can evaluate whether to free a

RE: [opensc-devel] Re: Silly question (I hope)

2006-05-01 Thread Stefan Engelbert
Hi Juergen, Just to give you feedback. I (me "dussel") loaded the hash not as PKCS1. That was the problem. Kind Regards Stefan Engelbert -Original Message- From: Stefan Engelbert Sent: Monday, May 01, 2006 7:01 PM To: [email protected] Subject: RE: [opensc-devel] Re:

RE: [opensc-devel] Re: Silly question (I hope)

2006-05-01 Thread Stefan Engelbert
Hi Juergen, Thank you very much for your quick reply. I will have a look again. You mention capture. In fact I was looking for a capture software to learn more about smartcards. Could you suggest one for me? Kind Regards Stefan Engelbert -Original Message- From: Juergen Ludyga [mailto:

[opensc-devel] Small starcos fix

2006-05-01 Thread Chaskiel M Grundman
starcos_process_acl, called by starcos_create_file has a small bug. It uses the wrong field in the sc_file_t to decide what the EF structure is. ( found while debugging the one-shot tool I wrote to finish initializing my ITSEC-P token) Index: src/libopensc/card-starcos.c ==

AW: [opensc-devel] Re: Silly question (I hope)

2006-05-01 Thread Juergen Ludyga
>Hi, >First of all thank you very much for your efforts. You're welcome ;) >I guess I have problems with my security environment. Basically I try to do a RSA PKSC1 signature. >You are suggesting 00 22 41 b6 05 83 03 80 50 00. Isnt that AES? This one should be RSA, because I've captured tha

Re: [opensc-devel] Re: opensc fixes for review

2006-05-01 Thread Andreas Jellinghaus
I'm no big fan of the new patch - one function knows about the internals of the other function? Instead I see two ways: a) we get a return code so we can evaluate whether to free app or not. b) the called function is always responsible for either using or freeing app so we don't need to free(a

Re: [opensc-devel] Re: opensc fixes for review

2006-05-01 Thread Andreas Jellinghaus
I commited all simple parts to trunk so they don't get lost. > of course SC_TEST_RET can't free anything and hence this macro > shouldn't be used when memory needs to be freed on return still needs to be replaced. > > > Index: src/pkcs11/framework-pkcs15.c > > ===

Re: [opensc-devel] svn opensc changed [2912] fix a memory leak.

2006-05-01 Thread Andreas Jellinghaus
Am Freitag, 28. April 2006 11:39 schrieb Nils Larsch: > I don't see a problem with the old code ok, reverted in trunk. Andreas ___ opensc-devel mailing list [email protected] http://www.opensc-project.org/mailman/listinfo/opensc-deve

[opensc-devel] Re: opensc fixes for review

2006-05-01 Thread Nils Larsch
Andreas Jellinghaus wrote: ... @@ -758,10 +758,14 @@ SC_PKCS15_AODF, NULL); } - if (r >= 0) + if (r >= 0) { r = sc_pkcs15init_update_dir(p15spec, profile, app); - if (r >= 0) - r = sc_pkcs15init_update_tokeni

Re: [opensc-devel] Re: [opensc-commits] svn opensc changed [2895] no idea how to fix, at least document it.

2006-05-01 Thread Andreas Jellinghaus
Am Mittwoch, 26. April 2006 20:48 schrieb Nils Larsch: > again ? btw: I still don't agree (see revision history). right. replaced with a proper comment. Andreas ___ opensc-devel mailing list [email protected] http://www.opensc-projec

Re: [opensc-devel] Re: [opensc-commits] svn opensc changed [2914] make sure buffer is 0 terminated.

2006-05-01 Thread Andreas Jellinghaus
Am Mittwoch, 26. April 2006 21:13 schrieb Nils Larsch: > unless I've overlooked something I can't see a problem with the old code. ok, reverted in trunk. Andreas ___ opensc-devel mailing list [email protected] http://www.opensc-proje

Re: [opensc-devel] size_t fixes

2006-05-01 Thread Andreas Jellinghaus
Am Sonntag, 30. April 2006 10:29 schrieb Nils Larsch: > Andreas Jellinghaus wrote: > > after a discussion with an expert I believe the proper handling of size_t > > with printf is: > > a) use "%lu" format for unsigned long and > > b) always cast size_t to unsigned log. > > Didn't we already agree

Re: [opensc-devel] Re: web page updated

2006-05-01 Thread Andreas Jellinghaus
A big font doesn't look as good with the layout. I changed the css to use "font-size: 0.9em" insteaf of "10px" and "1em" instead of "11px". does it look better now? other sizes are in % so they should be fine as well. > I've changed the CSS to use relative units wherever possible ah. I saw your d