Re: [opensc-devel] Docs/Specs on ACLs / security attributes?

2012-05-29 Thread Nguyễn Hồng Quân
Hi Peter I have just implemented a thing related to ACL for OpenPGP. Is it similar to what you want? https://github.com/hongquan/OpenSC-OpenPGP/commit/5a3fb311409fe71b82336ec29b586ae713a7b9e8 On 05/28/2012 09:31 PM, Peter Marschall wrote: Hi, On Monday, 28. May 2012, Martin Paljak wrote: I

[opensc-devel] Docs/Specs on ACLs / security attributes?

2012-05-28 Thread Peter Marschall
Hi, I am trying to extend openpgp-tool to load data to the various writable DOs, and - if possible - I want it to determine automatically the permissions of the (emulated) files using standard interfaces, i.e. security attributes or preferably ACLs. As the file system on openPGP cards only is

Re: [opensc-devel] Docs/Specs on ACLs / security attributes?

2012-05-28 Thread Peter Koch
Hi Peter I am trying to extend openpgp-tool to load data to the various writable DOs, and - if possible - I want it to determine automatically the permissions of the (emulated) files using standard interfaces, i.e. security attributes or preferably ACLs. As the file system on openPGP cards

Re: [opensc-devel] Docs/Specs on ACLs / security attributes?

2012-05-28 Thread Martin Paljak
Hello, On Mon, May 28, 2012 at 11:10 AM, Peter Marschall pe...@adpm.de wrote: I am trying to extend openpgp-tool to load data to the various writable DOs, and - if possible - I want it to determine automatically the permissions of the (emulated) files using standard interfaces, i.e. security

Re: [opensc-devel] Docs/Specs on ACLs / security attributes?

2012-05-28 Thread Nguyễn Hồng Quân
Hi Peter, Does this pgp2_objects[] = {/* OpenPGP card spec 2.0 */ { 0x004d, CONSTRUCTED, READ_NEVER | WRITE_PIN3, NULL, sc_put_data }, { 0x004f, SIMPLE, READ_ALWAYS | WRITE_NEVER, sc_get_data,NULL}, { 0x005b, SIMPLE, READ_ALWAYS |