Very interesting...does the Aladdin driver and module work at last? I understand, that this is the real release, not beta...
Question to Nils: Are you going to implement the patches and suggestions of Cornelius?

--
Regards
 
Signer:      Eddy Nigg, StartCom Ltd.
Phone:       +1.213.341.0390
 


Cornelius Koelbel wrote:
A small other note:

When I want to change the User PIN not only by using --init-pin but by
using -c, I need a read/write sesseion:

--snip--

                case 'c':
                        do_change_pin = 1;
                        need_session |= CKF_SERIAL_SESSION; /* no need for
a R/W session */
                        need_session |= NEED_SESSION_RW;
                        action_count++;
                        break;
--snip--



Regards
Cornelius

On Do, 30.03.2006, 23:21, Cornelius Koelbel sagte:
  
Hello,

I liked the pkcs11-tool very much and used it with aladdin's own
pkcs11-lib.
But I could not manage to initialize the token and i could not change the
pin.

The Aladdin eToken can only be initialized after having logged in as a
user and having closed this session again.

The PIN can only be changed, when logged in as a User before.

So I wrote some small patches that worked for, so I could now initialize
the token and change the PIN.
I am not a real programmer and I guess the patches may not be valid for
other tokens. Maybe for the initilization-patch there should be an
if-statement or a commandline switch, that activates this code.

Take a look at it and think of it. If there are any questions I will be
pleased to answer them...

The patches are against pkcs11-tool.c version 0.10.1.

Kind regards
Cornelius_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel
    

_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel
  

begin:vcard
fn:Eddy Nigg
n:Nigg;Eddy
org:StartCom Ltd. - StartCom CA - MediaHost (TM)
adr:;;P.O.Box 1630;Eilat;;88000;Israel
email;internet:[EMAIL PROTECTED]
tel;work:+1-(213)-341-0390
tel;cell:+972-57-631-5629
note;quoted-printable:StartCom Linux: http://www.startcom.org=0D=0A=
	StartCom Certification Authority: http://cert.startcom.org=0D=0A=
	MediaHost (TM)L http://www.mediahost.org=0D=0A=
	=0D=0A=
	StartCom Root CA import: http://cert.startcom.org/?app=3D109=0D=0A=
	Skype me: startcom
x-mozilla-html:TRUE
url:http://www.startcom.org
version:2.1
end:vcard

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to