Re: [opensc-devel] PKCS15init profile to omit a part of path

2012-05-28 Thread Peter Marschall
Hi, On Monday, 28. May 2012, Martin Paljak wrote: > > If it works (even in a limited/restricted way), it is better than not > > having any support at all. > > Sure. If this can be accomplished without changing the underlying > mechanics/assumptions, perfect. That's what we try to achieve with ope

Re: [opensc-devel] PKCS15init profile to omit a part of path

2012-05-28 Thread Martin Paljak
Hello, On Sun, May 27, 2012 at 11:18 PM, Peter Marschall wrote: > Hi, > > On Friday, 25. May 2012, Martin Paljak wrote: > >> In the long run, I don't think that it helps to emulate a filesystem >> on top of non-filesystem cards (like OpenPGP or Muscle). Or to try to >> make it fit into the filesy

Re: [opensc-devel] PKCS15init profile to omit a part of path

2012-05-27 Thread Nguyễn Hồng Quân
Hi Peter On 05/27/2012 03:50 PM, Peter Stuge wrote: > Nguyễn Hồng Quân wrote: >> I'm starting from the current codebase, which uses a emulation layer, >> so I don't know other choice than continue with this approach. > First create the improved infrastructure in OpenSC that your work > needs. Now

Re: [opensc-devel] PKCS15init profile to omit a part of path

2012-05-27 Thread Peter Marschall
Hi all, On Friday, 18. May 2012, Nguyễn Hồng Quân wrote: > I need a help to create pkcs15init profile structure so that I can > change/rewrite the canonical path. All, please note, Quân is looking for something that shall be specific to OpenPGP. He & I do not want to change the pkcs15 part of op

Re: [opensc-devel] PKCS15init profile to omit a part of path

2012-05-27 Thread Peter Marschall
Hi, On Friday, 25. May 2012, Martin Paljak wrote: > In the long run, I don't think that it helps to emulate a filesystem > on top of non-filesystem cards (like OpenPGP or Muscle). Or to try to > make it fit into the filesystem-oriented stack of OpenSC. Why? If it works (even in a limited/restrict

Re: [opensc-devel] PKCS15init profile to omit a part of path

2012-05-27 Thread Peter Stuge
Nguyễn Hồng Quân wrote: > I'm starting from the current codebase, which uses a emulation layer, > so I don't know other choice than continue with this approach. First create the improved infrastructure in OpenSC that your work needs. > > Maybe it would be better to have a single "sticky pkcs15-

Re: [opensc-devel] PKCS15init profile to omit a part of path

2012-05-27 Thread Peter Stuge
Martin Paljak wrote: > Maybe it would be better to have a single "sticky pkcs15-ish mapping > for a fixed profile card" in a single location (like the pkcs15 > emulation drivers) and allow pkcs15-tool (which does not try to create > any PKCS#15 structures) to re-generate exposed key slots and repla

Re: [opensc-devel] PKCS15init profile to omit a part of path

2012-05-25 Thread Nguyễn Hồng Quân
Hello Martin, On Fri 25 May 2012 03:40:31 PM ICT, Martin Paljak wrote: > Hello, > > In the long run, I don't think that it helps to emulate a filesystem > on top of non-filesystem cards (like OpenPGP or Muscle). Or to try to > make it fit into the filesystem-oriented stack of OpenSC. Has OpenSC p

Re: [opensc-devel] PKCS15init profile to omit a part of path

2012-05-25 Thread Martin Paljak
Hello, On Fri, May 18, 2012 at 12:59 PM, Nguyễn Hồng Quân wrote: > Hello all, > > I need a help to create pkcs15init profile structure so that I can > change/rewrite the canonical path. > > In general, the path to a file AABB in PKCS15 is as: 3F005015AABB, in > which 3F00 is the MF, 5015 is the P

Re: [opensc-devel] PKCS15init profile to omit a part of path

2012-05-20 Thread Nguyễn Hồng Quân
Hi Peter, My implementation of write support for OpenPGP card is placed here https://github.com/hongquan/OpenSC-OpenPGP/commits/openpgp (the openpgp branch) On 05/21/2012 12:19 AM, Peter Marschall wrote: > Hi, > > This is not directly related to your question, but more general: > > You wrote abou

Re: [opensc-devel] PKCS15init profile to omit a part of path

2012-05-20 Thread Viktor Tarasov
Hi Peter, Le 20/05/2012 19:19, Peter Marschall a écrit : > This is not directly related to your question, but more general: > > You wrote about implementing write support for OpenPGP cards. > Is there a chance to see the code you already have? > maybe e.g. on github ;-) You can look onto 'secure-

Re: [opensc-devel] PKCS15init profile to omit a part of path

2012-05-20 Thread Peter Marschall
Hi, This is not directly related to your question, but more general: You wrote about implementing write support for OpenPGP cards. Is there a chance to see the code you already have? maybe e.g. on github ;-) Best Peter -- Peter Marschall pe...@adpm.de __

Re: [opensc-devel] PKCS15init profile to omit a part of path

2012-05-20 Thread Viktor Tarasov
Hello Nguyễn, Le 18/05/2012 11:59, Nguyễn Hồng Quân a écrit : > I need a help to create pkcs15init profile structure so that I can > change/rewrite the canonical path. > > In general, the path to a file AABB in PKCS15 is as: 3F005015AABB, in > which 3F00 is the MF, 5015 is the PKCS15-AppDF's fi

[opensc-devel] PKCS15init profile to omit a part of path

2012-05-18 Thread Nguyễn Hồng Quân
Hello all, I need a help to create pkcs15init profile structure so that I can change/rewrite the canonical path. In general, the path to a file AABB in PKCS15 is as: 3F005015AABB, in which 3F00 is the MF, 5015 is the PKCS15-AppDF's file-id. Now, because the virtual file system of my OpenPGP ca