Re: [opensc-devel] Driver develop

2012-06-12 Thread helpcrypto helpcrypto
Hi Alejandro.

Today im testing an opensc unsupported card, i have dumped the apdus
sent by pcscd when doing some operations and it seems its pkcs#15
compliant.

Apart from this link, have you made any progress?

On Wed, Jun 6, 2012 at 10:21 AM, Alejandro Díaz ad...@emergya.com wrote:
 2012/6/6 helpcrypto helpcrypto helpcry...@gmail.com

  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.

 That will be great.

 In the past we considered making a driver for our very old not
 cryptographic either pkcs#15 card, and finally we did our own pkcs#11
 library.
 I think your best bet will be asking jonsito directly. and please,
 post somewhere any progress/doc you find along the way.


 I found a wiki page[1] with a start point, but only form index wiki.

 I will submit the dnie example.



 Maybe others like martin, viktor or ludovic can help you with this. I
 sorry i cant.


 I agree.

 Thank you very much!

 [1] https://www.opensc-project.org/opensc/wiki/DeveloperInformation/NewCardDriver

 Alejandro Díaz Torres
 Á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

2012-06-12 Thread Alejandro Díaz
2012/6/12 helpcrypto helpcrypto helpcry...@gmail.com

 Hi Alejandro.

 Today im testing an opensc unsupported card, i have dumped the apdus
 sent by pcscd when doing some operations and it seems its pkcs#15
 compliant.

 Apart from this link, have you made any progress?

 On Wed, Jun 6, 2012 at 10:21 AM, Alejandro Díaz ad...@emergya.com wrote:
  2012/6/6 helpcrypto helpcrypto helpcry...@gmail.com
 
   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.
 
  That will be great.
 
  In the past we considered making a driver for our very old not
  cryptographic either pkcs#15 card, and finally we did our own pkcs#11
  library.
  I think your best bet will be asking jonsito directly. and please,
  post somewhere any progress/doc you find along the way.
 
 
  I found a wiki page[1] with a start point, but only form index wiki.
 
  I will submit the dnie example.
 
 
 
  Maybe others like martin, viktor or ludovic can help you with this. I
  sorry i cant.
 
 
  I agree.
 
  Thank you very much!
 
  [1]
 https://www.opensc-project.org/opensc/wiki/DeveloperInformation/NewCardDriver
 
  Alejandro Díaz Torres
  Área de Proyectos
 
  Emergya Consultoría
  Tfno: +34 954 51 75 77
  Fax: +34 954 51 64 73
  www.emergya.es
 
 


Hi!

I want to validate in opendnie community first.

I'm waiting for a wiki count in this community[1], but i've already
modified the opensc wiki page including entersafe basic example.

Now I'm working in entersafe examples with pyscard[2].

Best regards!

[1]
https://forja.cenatic.es/forum/forum.php?thread_id=257874forum_id=497group_id=160
[2] https://github.com/alediator/pyscard-entersafe-examples


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

[opensc-devel] Failed to transmit with protocol T0. Transaction failed.!'

2012-06-12 Thread Ionut Scutaru
Hi,

I'm trying to write some data on a card but I am getting the following
exception:

*.
  File /usr/lib64/python2.6/site-packages/smartcard/Session.py, line 97,
in sendCommandAPDU
response, sw1, sw2 = self.cs.connection.transmit( command )
  File
/usr/lib64/python2.6/site-packages/smartcard/CardConnectionDecorator.py,
line 81, in transmit
return self.component.transmit( bytes, protocol )
  File /usr/lib64/python2.6/site-packages/smartcard/CardConnection.py,
line 131, in transmit
data, sw1, sw2 = self.doTransmit( bytes, protocol )
  File
/usr/lib64/python2.6/site-packages/smartcard/pcsc/PCSCCardConnection.py,
line 168, in doTransmit
raise CardConnectionException( 'Failed to transmit with protocol ' +
dictProtocolHeader[pcscprotocolheader] + '. ' +
SCardGetErrorMessage(hresult) )
smartcard.Exceptions.CardConnectionException: 'Smartcard Exception: Failed
to transmit with protocol T0. Transaction failed.!'
*

The card for which I'm getting the error above is recognized as: *Lenovo
Integrated Smart Card Reader 00 00* and it's the internal smart card reader
that comes with Lenovo T420.

However, the same operation works if I use a different (external) reader
such as *SpringCard Prox'N'Roll*.

Anybody, any idea if I'm doing something wrong ?

Thank you.
___
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Re: [opensc-devel] OpenSC Server Maintenance

2012-06-12 Thread Viktor Tarasov
Hello,

Le 11/06/2012 21:39, Alon Bar-Lev a écrit :
 Hello Andreas,

 GitHub is a great place... Already there, just need to migrate the wiki.
 The question is where Gerrit will be (if is used).
 And if there is a need to migrate the bugs as well... which may be difficult.

Currently the most advanced OpenSC source code is in github.
(By the way, who is the owner of github OpenSC project ?)

OpenSC/OpenSC github project is connected to the alternative CI server 
(https://opensc.fr/jenkins/ https://opensc.fr/jenkins/computer/)
This CI service is connected to the Jean-Michel's build/test farm.
Also there are installed and tested CodeReview service 
(https://opensc.fr/gerrit/ https://opensc.fr/jenkins/computer/).

What else do we need?
Wiki, mailing list, file-server, ...


 Alon.

 On Mon, Jun 11, 2012 at 10:31 PM, Andreas Jellinghaus
 andr...@ionisiert.de wrote:
 Hi everyone,

 the software running opensc-project.org is getting very, very old.
 I didn't upgrade it when Martin had plans to rebuild the server on real
 hardware somewhere,
 but that didn't happen for years now, and the installation is getting older
 and older.

 Is anyone interested in working on this - building a new server somewhere?
 Or what is your suggestion to migrate the project to some hosting plattform?
 code.google.com, sourceforge, savannah, ...?

 It not urgent, but I wouldn't be supprised if things break, as the server
 gets little attention.
 Thus the better someone steps up to maintain it, the better.

 Regards, Andreas

 ___
 opensc-devel mailing list
 opensc-devel@lists.opensc-project.org
 http://www.opensc-project.org/mailman/listinfo/opensc-devel
 ___
 opensc-devel mailing list
 opensc-devel@lists.opensc-project.org
 http://www.opensc-project.org/mailman/listinfo/opensc-devel


___
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel


Re: [opensc-devel] OpenSC Server Maintenance

2012-06-12 Thread Ludovic Rousseau
2012/6/12 Viktor Tarasov viktor.tara...@gmail.com:
 Hello,

Hi,

 Le 11/06/2012 21:39, Alon Bar-Lev a écrit :
 Hello Andreas,

 GitHub is a great place... Already there, just need to migrate the wiki.
 The question is where Gerrit will be (if is used).
 And if there is a need to migrate the bugs as well... which may be difficult.

 Currently the most advanced OpenSC source code is in github.
 (By the way, who is the owner of github OpenSC project ?)

Martin Paljak created the OpenSC organization at github.
https://github.com/OpenSC

And then Martin created the OpenSC repository for this organization.
https://github.com/OpenSC/OpenSC

I don't know what owner means in this case. The OpenSC organization
has 3 members: Martin, you and me.

 OpenSC/OpenSC github project is connected to the alternative CI server 
 (https://opensc.fr/jenkins/ https://opensc.fr/jenkins/computer/)
 This CI service is connected to the Jean-Michel's build/test farm.
 Also there are installed and tested CodeReview service 
 (https://opensc.fr/gerrit/ https://opensc.fr/jenkins/computer/).

 What else do we need?
 Wiki, mailing list, file-server, ...

Bug tracker

Bye

-- 
 Dr. Ludovic Rousseau
___
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Re: [opensc-devel] OpenSC Server Maintenance

2012-06-12 Thread Alon Bar-Lev
On Tue, Jun 12, 2012 at 5:49 PM, Ludovic Rousseau
ludovic.rouss...@gmail.com wrote:
  What else do we need?
  Wiki, mailing list, file-server, ...

 Bug tracker

github already has bug tracker and wiki... :)
___
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel


Re: [opensc-devel] OpenSC Server Maintenance

2012-06-12 Thread Viktor Tarasov

Le 12/06/2012 16:49, Ludovic Rousseau a écrit :
 Currently the most advanced OpenSC source code is in github.
 (By the way, who is the owner of github OpenSC project ?)
 Martin Paljak created the OpenSC organization at github.
 https://github.com/OpenSC

 And then Martin created the OpenSC repository for this organization.
 https://github.com/OpenSC/OpenSC

 I don't know what owner means in this case. The OpenSC organization
 has 3 members: Martin, you and me.


As a member I cannot add 'hooks' to trigger jenkins's build by commit to github 
project.
Only 'owner' can do it.

I do not yet looked how to trigger jenkins build on github pull-requests,
but I guess it will also need the 'owner's participation.



Kind regards,
Viktor.

___
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Re: [opensc-devel] OpenSC Server Maintenance

2012-06-12 Thread Tomas Gustavsson
On 06/12/2012 05:19 PM, Viktor Tarasov wrote:

 Le 12/06/2012 16:49, Ludovic Rousseau a écrit :
 Currently the most advanced OpenSC source code is in github.
 (By the way, who is the owner of github OpenSC project ?)
 Martin Paljak created the OpenSC organization at github.
 https://github.com/OpenSC

 And then Martin created the OpenSC repository for this organization.
 https://github.com/OpenSC/OpenSC

 I don't know what owner means in this case. The OpenSC organization
 has 3 members: Martin, you and me.


 As a member I cannot add 'hooks' to trigger jenkins's build by commit to 
 github project.
 Only 'owner' can do it.

 I do not yet looked how to trigger jenkins build on github pull-requests,
 but I guess it will also need the 'owner's participation.

When using svn Jenkins can be scheduled to check for changes in 
intervals, and build if it detects changes. I would guess the same could 
be done with git?

Building on every commit may not always be useful. If you have many 
different build target you may want one that builds every commit (poll 
every 5 minutes), while other build only nightly.
With lots of target you quickly overload Jenkins if every target starts 
building and testing for every commit.

Cheers,
Tomas
___
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Re: [opensc-devel] openpg-tool manual

2012-06-12 Thread Viktor Tarasov
Le 11/06/2012 22:55, Jean-Michel Pouré - GOOZE a écrit :
 Dear Peter,

 We will soon release Debian based packages for OpenSC staging. 

 It appears that a short manual for openpg-tool
 is missing. Or maybe I did not find it.

 Do you plan to publish a short manual?

The man pages for openpgp-tool have been recently added and are installed by 
'make install' procedure.
Have you checked you debian packaging sources?


 Kind regards,

Kind wishes,
Viktor.


 ___
 opensc-devel mailing list
 opensc-devel@lists.opensc-project.org
 http://www.opensc-project.org/mailman/listinfo/opensc-devel

___
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Re: [opensc-devel] openpg-tool manual

2012-06-12 Thread Jean-Michel Pouré - GOOZE
Le mardi 12 juin 2012 à 19:58 +0200, Viktor Tarasov a écrit :
 
 The man pages for openpgp-tool have been recently added and are
 installed by 'make install' procedure.
 Have you checked you debian packaging sources? 

I will check again.

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] OpenSC Server Maintenance

2012-06-12 Thread Jean-Michel Pouré - GOOZE
Le mardi 12 juin 2012 à 16:49 +0200, Ludovic Rousseau a écrit :
 I don't know what owner means in this case. The OpenSC organization
 has 3 members: Martin, you and me. 

As written several times, the owners of OpenSC are all individual
contributors. This was confirmed by writing by Martin. The community at
large owns OpenSC.

So there should be more freedom for core developers to organize around
OpenSC and github. Currently, we have to beg for addition of more
developers to the GIThub project. I support Viktor in this way.

With the build farm, I plan to go the converse way and everyone will
have access, at least read access to scripts, tools and servers.

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] OpenSC Server Maintenance

2012-06-12 Thread Andreas Jellinghaus
2012/6/11 Jean-Michel Pouré - GOOZE jmpo...@gooze.eu

 Dear Andreas and all,

 Nice to hear from you.

  the software running opensc-project.org is getting very, very old.
  I didn't upgrade it when Martin had plans to rebuild the server on
  real hardware somewhere,
  but that didn't happen for years now, and the installation is getting
  older and older.

 We are running servers on real hardware hosted at OVH.com in France.
 This is the largest and probably cheapest hosting company in Europe.


good. the server runs on a shared server I have with friends at hetzner.de,
one of the best hoster in germany. the server resource is not the big deal -
I have no time to maintain/improve the system and think that is a bad
situation.



 I can probably host OpenSC if needs be.

  Is anyone interested in working on this - building a new server
  somewhere?
  Or what is your suggestion to migrate the project to some hosting
  plattform?
  code.google.com, sourceforge, savannah, ...?

 github looks great.
 Only the wiki needs hosting on dedicated host.


see my other list of all the components we have.
not sure if we need all of them, though. or if migration from trac to X is
possible without loosing all content.


  It not urgent, but I wouldn't be supprised if things break, as the
  server gets little attention.
  Thus the better someone steps up to maintain it, the better.

 I would be glad to apply to become part of a webmaster team.


great. though there is little of a team - haven't done much in the last
years to keep the server alive, and
not sure how much time martin has for the server maintainance. so we are
mostly lookig for someone
to take over the job I guess - that doesn't mean we drop dead, we are still
reachable to help, but I can't
do much more than help our here or there.


 I am currently working on the packaging farm project with Viktor. On the
 other hand I am also creating a full computer room with regression test
 servers and development servers.  Some working on real hardware, some on
 VMs and others in chroots. All machines runs in vlans with limited
 connection to Internet. We have VPN connections and a double backup in a
 NAS and in a cloud. Several developers joined and gave hardware. I am
 quite confident we can collect all working OpenSC hardware and make it
 available over Internet. This is quite a tedious job and it takes me 2/3
 days every week. Half of my time!

 I think Viktor and I would be glad to manage Jenkins, Gerrit and the
 various farms (packaging, test, development).

 When this is finished, I can be part of the websmaster team. But I don't
 like working alone and I would like to share the project with other
 hackers at OpenSC, in a collaboration spirit.


good idea.

the main task right now is this: the old installation is ubuntu hardy, i.e.
the stable release from 4 years ago.
in a year even the security updates will end. thus lets find a new
installation and migrate everything - or
move to some service / hosting / ... (either is fine with me).

Regards, Andreas


 Kind regards,
 Jean-Michel
 GOOZE


___
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Re: [opensc-devel] OpenSC Server Maintenance

2012-06-12 Thread Andreas Jellinghaus
2012/6/11 Alon Bar-Lev alon.bar...@gmail.com

 Hello Andreas,

 GitHub is a great place... Already there, just need to migrate the wiki.
 The question is where Gerrit will be (if is used).
 And if there is a need to migrate the bugs as well... which may be
 difficult.


ok, thanks.

In summary we have:
* several repository (not sure if all got migrated to git)
* several wiki (not sure if you can migrate from trac to something else
without major work)
* bug tracker (not much used I think, wouldn't be missed very much I guess?)
* mailing lists
* download section with all the binary / zip / tar.gz files etc.
* buildreview system (jenkis/gerrit/...?)

not sure if github covers all of that. sourceforge might - not sure, other
service: no idea.

Regards, Andreas



 Alon.

 On Mon, Jun 11, 2012 at 10:31 PM, Andreas Jellinghaus
 andr...@ionisiert.de wrote:
  Hi everyone,
 
  the software running opensc-project.org is getting very, very old.
  I didn't upgrade it when Martin had plans to rebuild the server on real
  hardware somewhere,
  but that didn't happen for years now, and the installation is getting
 older
  and older.
 
  Is anyone interested in working on this - building a new server
 somewhere?
  Or what is your suggestion to migrate the project to some hosting
 plattform?
  code.google.com, sourceforge, savannah, ...?
 
  It not urgent, but I wouldn't be supprised if things break, as the server
  gets little attention.
  Thus the better someone steps up to maintain it, the better.
 
  Regards, Andreas
 
  ___
  opensc-devel mailing list
  opensc-devel@lists.opensc-project.org
  http://www.opensc-project.org/mailman/listinfo/opensc-devel

___
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel