Re: [opensc-devel] RuToken-ECP compute signature question

2011-05-19 Thread Viktor TARASOV
Le 19/05/2011 11:03, Viktor TARASOV a écrit : > Le 19/05/2011 10:26, Мещеряков Кирилл a écrit : >> Hello, >> >> How are you re-initialize Rutoken ECP? > Here is my test sequence: > > pkcs15-init -E > pkcs15-init -C --label "OT-RuToken" -P --auth-id 02 --so-pin "87654321" --pin > "12345678" > pkcs1

Re: [opensc-devel] How to work with Aladdin e-token pro 72k To sign the document

2011-05-19 Thread Tomas Gustavsson
According to this page, the eToken Pro is supported op opensc, http://www.opensc-project.org/opensc/wiki/AladdinEtokenPro Regarding signing PDFs you should find lots of references to open source tools with a simple google search, signing PDFs are not directly related to opensc as such but on a

Re: [opensc-devel] Extra spaces (Re: extensions and fixes for opensc-tool & opensc-explorer)

2011-05-19 Thread Martin Paljak
Hello, On Tue, Apr 19, 2011 at 10:09, Ludovic Rousseau wrote: > > 5 years ago I sent [1] a script to remove all the extra spaces and > tabs at end of lines. > > The script is simple: > $ find . -name '*.[ch]' | xargs perl -pi -e 's/\t+$//; s/ +$//' > but it will generate a HUGE patch. > > Martin,

Re: [opensc-devel] OpenSC shared mode

2011-05-19 Thread Alon Bar-Lev
On Thu, May 19, 2011 at 1:22 PM, Martin Paljak wrote: > Hello, > > On Mon, May 9, 2011 at 23:22, Alon Bar-Lev wrote: >> This had been raised long ago. >> Create a proxy PKCS#11 that uses another PKCS#11. > p11-kit might be the right tool for this kind of things? Hi, There is no difference betwe

Re: [opensc-devel] Bug in engine_pkcs11

2011-05-19 Thread Martin Paljak
Hello, On Tue, May 10, 2011 at 17:29, Giuliano Bertoletti wrote: > Despite the fact that slots can (in certain tokens) be added or removed > by the administrator, such person is supposed to have complete control > over what happens. I would remind that PKCS#11 is a software API. I don't think th

Re: [opensc-devel] OpenSC shared mode

2011-05-19 Thread Martin Paljak
Hello, On Mon, May 9, 2011 at 23:22, Alon Bar-Lev wrote: > This had been raised long ago. > Create a proxy PKCS#11 that uses another PKCS#11. p11-kit might be the right tool for this kind of things? http://p11-glue.freedesktop.org/ ___ opensc-devel ma

Re: [opensc-devel] OpenSC shared mode

2011-05-19 Thread Martin Paljak
Hello Alon, On Fri, May 6, 2011 at 20:22, Alon Bar-Lev wrote: >> For the sake of usability, exclusive mode should only be used *if needed*. >> From security perspective, it does not really matter, because if your host >> is compromised, such software tricks are worthless. But daily smart card

[opensc-devel] How to work with Aladdin e-token pro 72k To sign the document

2011-05-19 Thread sreenivas dhulipalla
Hi All, I have *Aladdin E-token pro 72k* & Digital certificate from CA. My task is to use existing opensource softwares(openSC or...) & integrate in application which is developed in JAVA/J2EE, *It should generate pdf with digital signature* while submitting the form(like purchase orders..etc)

Re: [opensc-devel] RuToken-ECP compute signature question

2011-05-19 Thread Viktor TARASOV
Le 19/05/2011 11:14, Martin Paljak a écrit : > Hello, > > Could you write this to a test script and put to SVN so that it would > do a full cycle of initialization-testing with RutokenECP, making use > of the fact that --reader can accept a reader name (unfortunately this > depends on PC/SC positio

Re: [opensc-devel] RuToken-ECP compute signature question

2011-05-19 Thread Martin Paljak
Hello, Could you write this to a test script and put to SVN so that it would do a full cycle of initialization-testing with RutokenECP, making use of the fact that --reader can accept a reader name (unfortunately this depends on PC/SC position) or card ATR, so that the test could be run on a machi

Re: [opensc-devel] RuToken-ECP compute signature question

2011-05-19 Thread Viktor TARASOV
Le 19/05/2011 10:26, Мещеряков Кирилл a écrit : > Hello, > > How are you re-initialize Rutoken ECP? Here is my test sequence: pkcs15-init -E pkcs15-init -C --label "OT-RuToken" -P --auth-id 02 --so-pin "87654321" --pin "12345678" pkcs15-init --auth-id 02 -S ./some.p12 --format pkcs12 --pin "1234

Re: [opensc-devel] RuToken-ECP compute signature question

2011-05-19 Thread Мещеряков Кирилл
Hello, How are you re-initialize Rutoken ECP? Best Regards, Cyril. -Original Message- From: opensc-devel-boun...@lists.opensc-project.org [mailto:opensc-devel-boun...@lists.opensc-project.org] On Behalf Of Viktor TARASOV Sent: Thursday, May 19, 2011 11:57 AM To: 'opensc-devel@lists.o

[opensc-devel] OpenSC 0.12.1 released

2011-05-19 Thread Martin Paljak
OpenSC 0.12.1 = OpenSC 0.12.1 was released on 17.05.2011. Packages with source and binaries can be downloaded from http://www.opensc-project.org/files/opensc - Source for Unix:opensc-0.12.1.tar.gz SHA1: 656524f2aef61cfeea60b7795ef5a942bcca6

[opensc-devel] RuToken-ECP compute signature question

2011-05-19 Thread Viktor TARASOV
Hi, everything was working nicely until I have re-initialized RuToken-ECP. After re-initializing, still, I can import/generate RSA 1024/2048 and GOST keys, but any attempt to compute the signature results in mysterious error 6989. The same results are observed with the keys imported/tested by Op