Re: [opensc-devel] GetInvolved wiki page
> Do you agree that it's difficult to propose to remove something you > don't know what it is for? :) Sure :) > The hook creates the Change-Id for gerrit, allowing a logical change > to be tracked across multiple iterations of the actual commit e.g. in > response to review. OK. I readded the scp code line with your text in the Gerrit line. > As you know I for one am strongly against centering anything around > the github workflow, especially when gerrit is available. If gerrit is working, it deserves a separate section below https://www.opensc-project.org/opensc/wiki/GetInvolved == Development process == == Using github == == Using gerrit == So people understand they may use github and/or gerrit. But my question is: * Are we still using gerrit? * Is gerrit synced? After hearing the community answers, I will rewrite this later today. Kind regards, -- Jean-Michel Pouré - Gooze - http://www.gooze.eu smime.p7s Description: S/MIME cryptographic signature ___ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel
Re: [opensc-devel] Is it OK to include external library?
Thanks. On Tue 05 Jun 2012 11:06:59 AM ICT, Frank Morgner wrote: > Hi! > > OpenSC includes some other optional libraries which can be disabled. If > you want to do crypto only then I recommend to use OpenSSL, because > there are already other code fragments which depend on OpenSSL. But I > guess you don't get around including libgpg (which includes libgcrypt) > at some point. > >> Am I allow to include libgcrypt to OpenSC? If yes, how should I do? > > Have a look at the following files to get a feel how OpenSSL is > included and do just the same for libgcrypt: > - configure.ac > - src/libopensc/pkcs15.c > - src/libopensc/Makefile.am > > > > ___ > opensc-devel mailing list > opensc-devel@lists.opensc-project.org > http://www.opensc-project.org/mailman/listinfo/opensc-devel -- Regards, Quân ___ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel
Re: [opensc-devel] Is it OK to include external library?
Hi! > I'm implementing key generation function for OpenPGP card. > The card requires to calculate the finger print for the key after > generation. I referenced the GnuPG source and saw that it use libgcrypt > to do. OpenSC includes some other optional libraries which can be disabled. If you want to do crypto only then I recommend to use OpenSSL, because there are already other code fragments which depend on OpenSSL. But I guess you don't get around including libgpg (which includes libgcrypt) at some point. > Am I allow to include libgcrypt to OpenSC? If yes, how should I do? Have a look at the following files to get a feel how OpenSSL is included and do just the same for libgcrypt: - configure.ac - src/libopensc/pkcs15.c - src/libopensc/Makefile.am -- Frank Morgner Virtual Smart Card Architecture http://vsmartcard.sourceforge.net OpenPACEhttp://openpace.sourceforge.net IFD Handler for libnfc Devices http://sourceforge.net/projects/ifdnfc pgp4Fff0pXK0j.pgp Description: PGP signature ___ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel
[opensc-devel] Is it OK to include external library?
Hello all, I'm implementing key generation function for OpenPGP card. The card requires to calculate the finger print for the key after generation. I referenced the GnuPG source and saw that it use libgcrypt to do. Am I allow to include libgcrypt to OpenSC? If yes, how should I do? Thanks. -- Regards, Quân ___ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel
[opensc-devel] Is it OK to include external library?
Hello all, I'm implementing key generation function for OpenPGP card. The card requires to calculate the finger print for the key after generation. I referenced the GnuPG source and saw that it use libgrypt to do. Am I allow to include libgrypt to OpenSC? If yes, how should I do? Thanks. -- Regards, Quân ___ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel
Re: [opensc-devel] GetInvolved wiki page
Jean-Michel Pouré - GOOZE wrote: > * Do we still fetch opensc-project development hooks? > scp -p -P 8882 www.opensc-project.org:hooks/commit-msg .git/hooks/ s > I don't know what it is for and propose to remove it. Do you agree that it's difficult to propose to remove something you don't know what it is for? :) The hook creates the Change-Id for gerrit, allowing a logical change to be tracked across multiple iterations of the actual commit e.g. in response to review. //Peter ___ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel
Re: [opensc-devel] GetInvolved wiki page
Jean-Michel Pouré - GOOZE wrote: > do you confirm that anyone can now make a pull request using only GIThub? As you know I for one am strongly against centering anything around the github workflow, especially when gerrit is available. //Peter ___ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel
Re: [opensc-devel] GetInvolved wiki page
> GetInvolved page Could you review https://www.opensc-project.org/opensc/wiki/GetInvolved I added a few lines about GIThub OpenSC project. Next questions: * Do we still fetch opensc-project development hooks? scp -p -P 8882 www.opensc-project.org:hooks/commit-msg .git/hooks/ s I don't know what it is for and propose to remove it. * Is Gerrit synchronised and are we still using it? Based on your answers, I will modify the GetInvolved page. Kind regards, -- Jean-Michel Pouré - Gooze - http://www.gooze.eu smime.p7s Description: S/MIME cryptographic signature ___ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel
[opensc-devel] GetInvolved wiki page
Dear all, I would like to rewrite the GetInvolved page on the wiki to give developers a clear information. The idea is to migrate some of this information: http://www.opensc-project.org/opensc/wiki/DevelopmentPolicy#Movingmasterforward. to the GetInvolved front page. My first question is about GIThub: do you confirm that anyone can now make a pull request using only GIThub? Kind regards, -- Jean-Michel Pouré - Gooze - http://www.gooze.eu smime.p7s Description: S/MIME cryptographic signature ___ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel
[opensc-devel] OpenSC staging branch
Dear all, There seems to be a lot of development in OpenSC staging branch: https://github.com/OpenSC/OpenSC/commits/staging?page=1 What is the required way to make a commit? Fork and make a pull request? Can you confirm we are back to GIThub normal process? Thanks! -- Jean-Michel Pouré - Gooze - http://www.gooze.eu smime.p7s Description: S/MIME cryptographic signature ___ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel
Re: [opensc-devel] Driver develop
2012/6/4 Alejandro Díaz > Thanks! > > 2012/6/4 helpcrypto helpcrypto > >> > My objetive is to know how to write a OpenSC driver from APDU >> documentation. >> IIUC: You want to make your own "opensc-dnie", right? >> > > No. I want to know more about driver developing for OpenSC. > > >> >> > but I've lost the way to connect the exercices with the final driver. >> Dont understand what this means. >> > > For example: > > [1] Select DNIe example: > > ~$ ./selectDNIe.py > insert a card (SIM card if possible) within 10s > connecting to C3PO LTC31 (80060327) 00 00 > > 00 *A4* 00 00 02 60 1F > < [] 61 E > > 00 C0 00 00 0E > < ** ** ** ** ** ** ** ** ** ** ** ** ** ** 90 0 > disconnecting from C3PO LTC31 (80060327) 00 00 > disconnecting from C3PO LTC31 (80060327) 00 00 > ~$ > > [2] in card-dnie.c i found: > > static int dnie_select_file(struct sc_card *card, > const struct sc_path *in_path, > struct sc_file **file_out) > ... > sc_format_apdu(card, &apdu, SC_APDU_CASE_4_SHORT, *0xA4*, 0, 0); > ... > res = sc_transmit_apdu(card, &apdu); > > But I don't know what is the best way to pass from [1] to [2] (not for > dnie, generic steps). > > > >> >> > On the other hand, if this manual doesn't already exist on the wiki and >> you're interested, I will write it. >> I am. >> >> PS: Why developing a "opensc-dnie" if already theres 1 (2) working? >> > > I'm not developing dnie driver, only I'm working with the documentation > for explain the way to develop a driver and I think that this knowledge can > be interesting for the community. > +1, At least for me. :) > > > Alejandro Díaz Torres > Área de Proyectos > Emergya Consultoría > Tfno: +34 954 51 75 77 > Fax: +34 954 51 64 73www.emergya.es > > > > ___ > opensc-devel mailing list > opensc-devel@lists.opensc-project.org > http://www.opensc-project.org/mailman/listinfo/opensc-devel > -- Eduardo Serrano Luque Área de Proyectos Emergya Consultoría Tfno: +34 954 51 75 77 Fax: +34 954 51 64 73 www.emergya.es ___ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel
Re: [opensc-devel] Driver develop
Thanks! 2012/6/4 helpcrypto helpcrypto > > My objetive is to know how to write a OpenSC driver from APDU > documentation. > IIUC: You want to make your own "opensc-dnie", right? > No. I want to know more about driver developing for OpenSC. > > > but I've lost the way to connect the exercices with the final driver. > Dont understand what this means. > For example: [1] Select DNIe example: ~$ ./selectDNIe.py insert a card (SIM card if possible) within 10s connecting to C3PO LTC31 (80060327) 00 00 > 00 *A4* 00 00 02 60 1F < [] 61 E > 00 C0 00 00 0E < ** ** ** ** ** ** ** ** ** ** ** ** ** ** 90 0 disconnecting from C3PO LTC31 (80060327) 00 00 disconnecting from C3PO LTC31 (80060327) 00 00 ~$ [2] in card-dnie.c i found: static int dnie_select_file(struct sc_card *card, const struct sc_path *in_path, struct sc_file **file_out) ... sc_format_apdu(card, &apdu, SC_APDU_CASE_4_SHORT, *0xA4*, 0, 0); ... res = sc_transmit_apdu(card, &apdu); But I don't know what is the best way to pass from [1] to [2] (not for dnie, generic steps). > > > On the other hand, if this manual doesn't already exist on the wiki and > you're interested, I will write it. > I am. > > PS: Why developing a "opensc-dnie" if already theres 1 (2) working? > I'm not developing dnie driver, only I'm working with the documentation for explain the way to develop a driver and I think that this knowledge can be interesting for the community. Alejandro Díaz Torres Área de Proyectos Emergya Consultoría Tfno: +34 954 51 75 77 Fax: +34 954 51 64 73www.emergya.es ___ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel
Re: [opensc-devel] Driver develop
> My objetive is to know how to write a OpenSC driver from APDU documentation. IIUC: You want to make your own "opensc-dnie", right? > but I've lost the way to connect the exercices with the final driver. Dont understand what this means. > On the other hand, if this manual doesn't already exist on the wiki and > you're interested, I will write it. I am. PS: Why developing a "opensc-dnie" if already theres 1 (2) working? ___ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel
Re: [opensc-devel] ECDH in 'staging' of github OpenSC/OpenSC
On 6/2/2012 12:50 PM, Viktor Tarasov wrote: > Hi Douglas, > > ECDH support, that you have tested in SM branch, > has been committed into the 'staging' branch of github OpenSC/OpenSC. > https://github.com/OpenSC/OpenSC/tree/staging Thanks! > > I've made only basic (list on-card objects) tests with PIV card. > More substantial tests will be performed later, > when the rest of pending proposals will find their place in 'staging'. To use the ECDH one needs a PIV card that can support ECC. No priduction cards with ECC keys are being issued at the current time, but cards are available, and the NIST Demo card set that should be available soon will have ECC keys. Using ECDH with Thunderbird for excrypted e-mail also needs additional mods that have been submitted to Mozilla. These are starting to be committed. > > If you are using Windows environment you can try one of MSIs from > https://opensc.fr/jenkins/view/OpenSC-staging/ I will try and test this week. > > Kind regards, > Viktor. > > -- Douglas E. Engert Argonne National Laboratory 9700 South Cass Avenue Argonne, Illinois 60439 (630) 252-5444 ___ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel
Re: [opensc-devel] eventmgr
2012/6/4 : > Hi all, Hello, > While I was make some scripts distro-agnostic I noticed following regarding > card event: > On Ubuntu one has to use pkcs11_eventmgr While on Suse you have also > card_eventmgr. The libpam-pkcs11 Ubuntu (and Debian) package contains both pkcs11_eventmgr and card_eventmgr. See [1]. > On the openSC wiki, the info regarding both, looks almost the same to me. What wiki page? URL? > Which eventmgr is preferred? It depends on what you want to do. > I presume the card_eventmgr, as insertion/removal of a card has little to do > with the content of the card... Exact. pkcs11_eventmgr works at the PKCS#11 level. card_eventmgr works at the PC/SC level. Not all PKCS#11 token are smart cards. Not all smart cards are PKCS#11 tokens. Hope it helps :-) Bye [1] http://packages.ubuntu.com/quantal/amd64/libpam-pkcs11/filelist -- Dr. Ludovic Rousseau ___ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel
[opensc-devel] eventmgr
Hi all, While I was make some scripts distro-agnostic I noticed following regarding card event: On Ubuntu one has to use pkcs11_eventmgr While on Suse you have also card_eventmgr. On the openSC wiki, the info regarding both, looks almost the same to me. Which eventmgr is preferred? I presume the card_eventmgr, as insertion/removal of a card has little to do with the content of the card... Hw __ Dit bericht kan informatie bevatten die niet voor u is bestemd. Indien u niet de geadresseerde bent of dit bericht abusievelijk aan u is toegezonden, wordt u verzocht dat aan de afzender te melden en het bericht te verwijderen. De Staat aanvaardt geen aansprakelijkheid voor schade, van welke aard ook, die verband houdt met risico's verbonden aan het elektronisch verzenden van berichten. This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. The State accepts no liability for damage of any kind resulting from the risks inherent in the electronic transmission of messages. ___ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel
[opensc-devel] Driver develop
Hi all!! I need some orientation in this terms. My objetive is to know how to write a OpenSC driver from APDU documentation. On the one hand, I've read the developer information wiki[1] and I've selected pyscard as base library to develop and write two sample scripts[2]. I've found some of this APDUs in the opendnie driver[3], but I've lost the way to connect the exercices with the final driver. On the other hand, if this manual doesn't already exist on the wiki and you're interested, I will write it. Thank you very much!! [1] https://www.opensc-project.org/opensc/wiki/DeveloperInformation [2] https://github.com/alediator/pyscard-dnie-examples [3] https://github.com/jonsito/OpenSC/blob/master/src/libopensc/card-dnie.c Alejandro Díaz Torres Área de Proyectos Emergya ConsultoríaTfno: +34 954 51 75 77 Fax: +34 954 51 64 73www.emergya.es ___ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel