List Info

Thread: Please add ruToken support to mainstream (patches included)




Please add ruToken support to mainstream (patches included)
country flaguser name
Russian Federation
2007-12-13 09:24:04
Hello!
There is Russian company named "Aktiv".
They bring to russian and world market crypto-token.
There is web-site at http://www.rutoken.ru/
(but only in russian language).
Special future of that key is government crypto standard
support (GHOST 28147-89),
widely used in russian government structures. We add support
for ruToken to opensc
and openct starting 0.11.1 opensc release. After testing for
a while time,
it seems quite stable.
Please look at attached patches.
Also, you can explore git repository at: (branch 'upstream'
and 'patches')
http://git.altlinux.ru/people/stanv/packages/open
ct_current.git
http://git.altlinux.ru/people/stanv/packages/open
sc_current.git
In case this patches conform your policy and satisfies code
standards please include them to mainstream tree.
If you have any question please, let me know (stanvaltlinux.ru).
I will be happy to answer them. You may contact with
developers via one of this emails:

stanvaltlinux.ru (Stepanov Andrew packager for ALT Linux
distribution)
SamsonovAguardant.ru (Alexey Samsonov main Linux developer at
Aktiv company)
rideraltlinux.ru (Anton Farygin project header) 
--
 stanv -- http://andrusha.googl
epages.com

_______________________________________________
opensc-devel mailing list
opensc-devellists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc
-devel
  
  
Re: Please add ruToken support to mainstream (patches included)
user name
2007-12-17 04:55:14
On Dec 13, 2007 4:24 PM, Andrew V. Stepanov <stanvaltlinux.ru> wrote:
> Hello!

Hello,

> There is Russian company named "Aktiv".
> They bring to russian and world market crypto-token.
> There is web-site at http://www.rutoken.ru/
(but only in russian language).
> Special future of that key is government crypto
standard support (GHOST 28147-89),
> widely used in russian government structures. We add
support for ruToken to opensc
> and openct starting 0.11.1 opensc release. After
testing for a while time,
> it seems quite stable.
> Please look at attached patches.
> Also, you can explore git repository at: (branch
'upstream' and 'patches')
> http://git.altlinux.ru/people/stanv/packages/open
ct_current.git
> http://git.altlinux.ru/people/stanv/packages/open
sc_current.git
> In case this patches conform your policy and satisfies
code standards please include them to mainstream tree.
> If you have any question please, let me know (stanvaltlinux.ru).
> I will be happy to answer them. You may contact with
developers via one of this emails:

Can you re-generate patches against the subversion versions
of openct
and opensc?
Your patches do not apply cleanly so I can't commit them
directly.

Thanks

-- 
 Dr. Ludovic Rousseau
_______________________________________________
opensc-devel mailing list
opensc-devellists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc
-devel

Re: Please add ruToken support to mainstream (patches included)
user name
2007-12-17 07:39:42
On Dec 17, 2007 2:23 PM, Andrew V. Stepanov <stanvaltlinux.ru> wrote:
> Please try attached patches.

OpenCT patch commited in revision 1009.

OpenSC patch commited in revision 3304 except the patch:

Index: src/pkcs15init/pkcs15-lib.c
============================================================
=======
--- src/pkcs15init/pkcs15-lib.c (révision 3303)
+++ src/pkcs15init/pkcs15-lib.c (copie de travail)
 -1712,6
+1713,15  sc_pkcs15init_store_certificate(struct s
    if ((r = select_id(p15card, SC_PKCS15_TYPE_CERT,
&args->id, NULL,
NULL, NULL)) < 0)
        return r;

+   /* dirtyhackforM0ZZILLAnss */
+   char M0ZZlabel[128];
+   if (!strncmp(label, "Imported Certificate",
21))
+   {
+       //sprintf(label, "Imported Certificate
%d", args->id.value[0]);
+       sc_bin_to_hex(args->id.value, args->id.len,
M0ZZlabel, 128, ':');
+       label = M0ZZlabel;
+   }
+
    if (profile->protect_certificates) {
        /* If there is a private key corresponding to the ID
given
         * by the user, make sure $PIN references the pin
protecting


Why do you need this patch? I don't think it is related to
rutoken only.

bye

-- 
 Dr. Ludovic Rousseau
_______________________________________________
opensc-devel mailing list
opensc-devellists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc
-devel

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )