Re: [opensc-devel] questions on {ERASE, WRITE, UPDATE} BINARY commands

2012-06-08 Thread Peter Marschall
nd end-of-file + 1 gives > SW1/SW2=6B00. > > Other implementations allocate the full EF size at creation, so you can > immediately read from the EF, even though no data has been written yet. > > Hope this helps, > > Andreas > > Am 07.06.2012 22:01, schrieb Peter Marschall

Re: [opensc-devel] questions on {ERASE, WRITE, UPDATE} BINARY commands

2012-06-07 Thread Peter Marschall
Hi, thanks for the quick reply/correction. On Thursday, 7. June 2012, Martin Paljak wrote: > On Thu, Jun 7, 2012 at 10:35 PM, Martin Paljak wrote: > > Hello, > > > > On Thu, Jun 7, 2012 at 10:24 PM, Peter Marschall wrote: > >> Here they are: > >> * Wh

Re: [opensc-devel] questions on {ERASE, WRITE, UPDATE} BINARY commands

2012-06-07 Thread Peter Marschall
Hi Martin, thanks for the quick reply. On Thursday, 7. June 2012, Martin Paljak wrote: > On Thu, Jun 7, 2012 at 10:24 PM, Peter Marschall wrote: > > Here they are: > > * What's the exact difference between WRITE BINARY & UPDATE BINARY? > > My understanding of the

[opensc-devel] questions on {ERASE,WRITE,UPDATE} BINARY commands

2012-06-07 Thread Peter Marschall
ments i.e. count = 0 c) If idx + count >= file_size, does the file get zapped (=shortened) to idx data elements? Thanks in advance Peter -- Peter Marschall pe...@adpm.de ___ opensc-devel mailing list opensc-devel@lists.opensc-pro

[opensc-devel] basic openpgp write support for staging

2012-06-03 Thread Peter Marschall
evant for OpenPGP, and is a prerequsite for further work there. In addition, one commits also adds working 'put_data' support for opensc- explorer, a feature that has been there as a function since ages, but up-to- now only showed the usage info. Thanks for your support Peter -- Pet

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

2012-05-28 Thread Peter Marschall
tes the infrastructure for the other option, we will happily migrate the openpgp driver (as it should simplify the driver). Best regards PEter -- Peter Marschall pe...@adpm.de ___ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel

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

2012-05-28 Thread Peter Marschall
s is not doable with either security attributes or/and ACLs, because their intention and potential use cases conflict with that goal, please tell. Best regards Peter -- Peter Marschall pe...@adpm.de ___ opensc-devel mailing list opensc-devel@lists.opensc-proje

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

2012-05-28 Thread Peter Marschall
web. > You may either use compact or expanded form to describe your access rules. > When those DOs are selected I would return a FCP with tag A0 > which should contan two access mode bytes (one for reading > and one for writing) each followed by security condition bytes. Best PE

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

2012-05-28 Thread Peter Marschall
paying ~€60 for this information alone. Unfortunately I did not find anything on ACLs on EFs/DFs (Google only gave me tons of info an ACLs in Windows ;-) Does anyone have documentation or specs on ACLs (preferred) or security attributes. Thanks in advance PETer -- Peter Marschall pe...@adpm.de

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

2012-05-27 Thread Peter Marschall
;+-- File_1 (AABB) > >+-- File_2 (AACC) > >+--- Directory (DDCC) > > +-- File_3 (CCEE) > > the real path to the file is 3F00AABB. > How would I define the profile file to omit the PKCS15-AppDF, i.e. the > "5015", in the path? Th

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

2012-05-27 Thread Peter Marschall
nd that API as needed. As I explained above: all of Quân's changes for OpenPGP card support are limited to the files responsible for OpenPGP cards: src/lib/opensc/{card,pkcs15}-openpgp.c Any other changes he made, fix omissions in existing tools, e.g. he made opensc-explorer'

[opensc-devel] partial/limited OpenPGP write support in my github repo

2012-05-27 Thread Peter Marschall
rks with OpenPGP cards. $ gpg --card-status Application ID ...: D2760001240102050ADA Version ..: 2.0 Manufacturer .: ZeitControl Serial number : 0ADA Name of cardholder: Peter Marschall Language prefs ...: de Sex ..: male URL of public key : http://pgp.m

Re: [opensc-devel] OpenPGP card / Cryptostick - current status???

2012-05-27 Thread Peter Marschall
t; DO on an OpenPGP card meant to store one certificate. You can > replace its content with a PUT DATA but I don't see any possibility > to create additional certificates. Dito I consider Quân's goal a very honorable one. Even if we do n

Re: [opensc-devel] OpenPGP card / Cryptostick - current status???

2012-05-27 Thread Peter Marschall
ated file structure in card-openpgp.c would only be a kludge fro this special case. > @Peter Marschall: You and me are working on OpenPGP. How do u think > about changing the emulated file layout. How should I do to not break > too much the code base? I'd rather not change the

Re: [opensc-devel] OpenPGP card / Cryptostick - current status???

2012-05-27 Thread Peter Marschall
Hi, > On Tue, May 22, 2012 at 10:18 PM, Peter Marschall wrote: > > Martin started the extension of pkcs15-openpgp.c to support OpenPGP v2 > > cards which I continued. (but again: without write support) > > What was basically removing some v1 related hard-coded constants

Re: [opensc-devel] OpenPGP card / Cryptostick - current status???

2012-05-22 Thread Peter Marschall
n the PKCS15 and/or PCS11 levels. I consider opensc heaily under-documented w.r.t how everything is tied togeth (this is not specific to opensc alone, but seems to be specific to security related software in general ;-) Best Peter -- Peter Marschall pe...@adpm.de _

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] Fork of Debian's openSC repo at Github with ideas for 0.12.2 DEB

2011-08-26 Thread Peter Marschall
Hi, On Tuesday, 23. August 2011, Jean-Michel Pouré - GOOZE wrote: > Do you also plan to build daily packages as well? No, publishing the repo was meant as a hint & help for the Debian maintainers to update the official Debian opensc package. Best Peter -- Peter Marschall pe...@

Re: [opensc-devel] Fork of Debian's openSC repo at Github with ideas for 0.12.2 DEB

2011-08-26 Thread Peter Marschall
Hi, On Monday, 22. August 2011, Andreas Jellinghaus wrote: > Hi Daniel, > > Am Sonntag 21 August 2011, 23:23:36 schrieb Daniel Kahn Gillmor: > > On 08/21/2011 12:36 PM, Peter Marschall wrote: > > > * renable zlib & readline support > > > > [...] >

Re: [opensc-devel] Fork of Debian's openSC repo at Github with ideas for 0.12.2 DEB

2011-08-22 Thread Peter Marschall
Hi, On Sunday, 21. August 2011, you wrote: > On 08/21/2011 12:36 PM, Peter Marschall wrote: > > * renable zlib & readline support > > [...] > > > what about a new, official Debian package, with my changes as the > > starting point as starting point? > >

[opensc-devel] Fork of Debian's openSC repo at Github with ideas for 0.12.2 DEB

2011-08-21 Thread Peter Marschall
point as starting point? Best regards Peter -- Peter Marschall pe...@adpm.de ___ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel

[opensc-devel] Patch series for pkcs15-profile documentation

2011-06-04 Thread Peter Marschall
ile.5 man page where @pkgdatadir@ is shown directly. It would be great if they could be added to OpenSC's mainline. Thanks Peter -- Peter Marschall pe...@adpm.de ___ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://

[opensc-devel] Patch series for OpenPGP card driver

2011-06-03 Thread Peter Marschall
t or siblings. Please consider including them in OpenSC mainline/trunk/master Thanks for OpenSC Peter -- Peter Marschall pe...@adpm.de ___ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel

[opensc-devel] Patch series for opensc-tool & opensc-explorer

2011-06-03 Thread Peter Marschall
c buffer to it * convert all occurrences where file names get generated to using this function Plase consider including them into OpenSC mainline -- Peter Marschall pe...@adpm.de ___ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel

Re: [opensc-devel] SVN->Git move.

2011-06-03 Thread Peter Marschall
(which may be not as up-to-date as trunk) Having trunk/master in git would make creating patches way easier. Thanks for all your work on/for OpenSC Peter -- Peter Marschall pe...@adpm.de ___ opensc-devel mailing list opensc-devel@lists.opensc-pr

[opensc-devel] [pach series] next go at improving openPGP card support

2011-05-20 Thread Peter Marschall
hort2bebytes() in pgp_get_pubkey() It would be great if they too would make it into OpenSC mainline, now that OpenSC 0.12.1 is out. Best regards Peter -- Peter Marschall pe...@adpm.de ___ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel

[opensc-devel] 2 one-line patches for opensc-explorer

2011-05-02 Thread Peter Marschall
e master branch of martinpaljak's OpenSC repo as of this evening) by the 2 commits mentioned above. Best PEter -- Peter Marschall pe...@adpm.de From f8e818af7820a92d81f19627d6dc68b9d3ea964f Mon Sep 17 00:00:00 2001 From: Peter Marschall Date: Mon, 25 Apr 2011 14:18:41 +0200 Subject: [PATC

opensc-devel@lists.opensc-project.org

2011-04-22 Thread Peter Marschall
tps://github.com/marschap/OpenSC/tree/APDU This brings up a question: Is a link to a public repo acceptable for discussing patches on the ML ? Best regards Peter -- Peter Marschall pe...@adpm.de ___ opensc-devel mailing list opensc-devel@lists.opensc

opensc-devel@lists.opensc-project.org

2011-04-20 Thread Peter Marschall
Hi, On Wednesday, 20. April 2011, Martin Paljak wrote: > On Apr 19, 2011, at 14:41 , Frank Morgner wrote: > > On Tuesday, April 19 at 02:03PM, Martin Paljak wrote: > >> On Mon, Apr 18, 2011 at 23:22, Peter Marschall wrote: > > Looking at your patch - I like the approach

Re: [opensc-devel] extensions and fixes for opensc-tool & opensc-explorer

2011-04-18 Thread Peter Marschall
Hi Martin, On Monday, 18. April 2011, Martin Paljak wrote: > On Sun, Apr 17, 2011 at 12:44, Peter Marschall wrote: > > please find attached 3 patches to opensc-tool and opensc-explorer: > > > > * [PATCH 1/3] opensc-tool: make list_algorithms() table driven > * The

[opensc-devel] finally OpenPGP card 2.0 support

2011-04-17 Thread Peter Marschall
allocated memory, .. c) extend features: OpenPGP Card 2.0 support (at least partially) Thanks in advance Peter -- Peter Marschall pe...@adpm.de From 8319b2627fdbcf9465ffe6383d6b60cebe3da9a4 Mon Sep 17 00:00:00 2001 From: Peter Marschall Date: Sun, 13 Mar 2011 21:41:12 +0100 Subject: [PATCH 01/15]

[opensc-devel] extensions and fixes for opensc-tool & opensc-explorer

2011-04-17 Thread Peter Marschall
nsider including them into trunk, as they a) fix potential bugs b) help development: send extedned APDUs c) allow tools to give more complete information Thanks in advance PEter -- Peter Marschall pe...@adpm.de From af08131050655c05111cc10548c6e0156351e502 Mon Sep 17 00:00:00 2001 From: Peter Marscha

Re: [opensc-devel] fixes for a few glitches in card-opengpg.c

2011-04-04 Thread Peter Marschall
each file. It would be great if they made it into OpenSC's mainline Thanks Peter -- Peter Marschall pe...@adpm.de From 5650439ec7362a859855b957203f89538ecf889d Mon Sep 17 00:00:00 2001 From: Peter Marschall Date: Sat, 26 Mar 2011 17:40:57 +0100 Subject: [PATCH 10/10] OpenPGP: catch call

Re: [opensc-devel] fixes for a few glitches in card-opengpg.c

2011-03-21 Thread Peter Marschall
y, if you use git you can fork on github [1] to allow the pulling, > mechanism over there do some tricks. I'm using 'git svn' locally. As I only have read access to SVN, I currently consider this the easiest way to stay up-to-date For patches, the mailing list / ticket system i

[opensc-devel] Fwd: a little love for opensc-explorer.c

2011-03-20 Thread Peter Marschall
#x27; IMHO it should then use relative addressing instead of absolute addressing. This change made 'cat' useful with my OpenPGP cards (before it baled out crying "unable to select file: Invalid arguments") It would be cool if the changes made it into OpenSC

[opensc-devel] fixes for a few glitches in card-opengpg.c

2011-03-20 Thread Peter Marschall
em into OpenSC mainstream Best regards Peter -- Peter Marschall pe...@adpm.de From d5667b06dec42be7c92b3aafff28a5ce4d24f792 Mon Sep 17 00:00:00 2001 From: Peter Marschall Date: Sun, 13 Mar 2011 19:32:05 +0100 Subject: [PATCH 9/9] OpenPGP: add some comments Signed-off-by: Peter Marschall