[opensc-devel] Free PINPADs available

2011-11-23 Thread Jean-Michel Pouré - GOOZE
Le jeudi 10 novembre 2011 à 16:46 +0100, Frank Morgner a écrit :
 
 So just to get the correct impression: All design decisions regarding
 SM
 are more or less final and consider the different needs stated in
 http://www.opensc-project.org/opensc/wiki/SecureMessaging ? 

For information, GOOZE now offers 3 different PINPADs. We have them in
stock, not already on GOOZE website:

ACS ACR83U-A1
ACS APG8201
SCM SPR332

All of them are available for free if you need to do OpenSC development.
The ACS ACR83U-A1 has public specifications available on ACS website.

I was not able to have the ACS PINPADs working, but I bought them to
speed up OpenSC development.

Write me a private email jmpoure AT you-know-the-address if you need the
PINPADS.

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] Free PINPADs available

2011-11-23 Thread Martin Paljak
On 11/23/11 1:06 , Jean-Michel Pouré - GOOZE wrote:

 ACS ACR83U-A1
Is it different (and how) from the version that does not have U-A1
appended ? (which I have) Also, do you have documentation for the
reader? That would be good to have, as there are obviously restrictions.

 ACS APG8201
This looks more like a childrens toy than a pinpad reader :)
Is this the CCID version or the proprietary version?

 SCM SPR332
This is a good one (given a recent enough firmware), this talks CCID and
is supported by the CCID driver.


Best,
Martin
-- 
@MartinPaljak
+3725156495
___
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel


[opensc-devel] Experiences with Java smartcardio

2011-11-23 Thread Anders Rundgren
Hi,
I just wonder what your opinion is about Java smart card io which is a
part of JDK 1.6 and forward.

I did a minute test and it wasn't overly convincing :-(

OTOH, as we all know that smart card middle ware is hell on earth I
may simple haven't given it enough time.

import javax.smartcardio.*;
import java.util.List;

public class smart
{
  public static void main (String[] args)
{
  try
{
  // show the list of available terminals
  TerminalFactory factory = TerminalFactory.getDefault();
  ListCardTerminal terminals = factory.terminals().list();

  // get the first terminal
  if (terminals.isEmpty ())
{
  System.out.println (No terminals found!);
}
  else
{
  System.out.println(Terminals:  + terminals);
  CardTerminal terminal = terminals.get(0);
  // establish a connection with the card
  Card card = terminal.connect(T=0);
  System.out.println(card:  + card);
  CardChannel channel = card.getBasicChannel();
  // disconnect
  card.disconnect(false);
}
}
  catch (Exception e)
{
   e.printStackTrace ();
}
}
}

On windows you get an exception if there is no reader connected!
On Ubuntu I always get No terminals found!

On both machines I have other smart card apps working including pcscd on Ubuntu
that in debug mode shows that the card is connected etc.

javax.smartcardio.* = Total crap IMNSHO.

Anders

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


Re: [opensc-devel] Experiences with Java smartcardio

2011-11-23 Thread Douglas E. Engert


On 11/23/2011 3:07 PM, Anders Rundgren wrote:
 Hi,
 I just wonder what your opinion is about Java smart card io which is a
 part of JDK 1.6 and forward.

 I did a minute test and it wasn't overly convincing :-(

 OTOH, as we all know that smart card middle ware is hell on earth I
 may simple haven't given it enough time.

 import javax.smartcardio.*;
 import java.util.List;

 public class smart
 {
public static void main (String[] args)
  {
try
  {
// show the list of available terminals
TerminalFactory factory = TerminalFactory.getDefault();
ListCardTerminal  terminals = factory.terminals().list();

// get the first terminal
if (terminals.isEmpty ())
  {
System.out.println (No terminals found!);
  }
else
  {
System.out.println(Terminals:  + terminals);
CardTerminal terminal = terminals.get(0);
// establish a connection with the card
Card card = terminal.connect(T=0);
System.out.println(card:  + card);
CardChannel channel = card.getBasicChannel();
// disconnect
card.disconnect(false);
  }
  }
catch (Exception e)
  {
 e.printStackTrace ();
  }
  }
 }

 On windows you get an exception if there is no reader connected!
 On Ubuntu I always get No terminals found!

 On both machines I have other smart card apps working including pcscd on 
 Ubuntu
 that in debug mode shows that the card is connected etc.

 javax.smartcardio.* = Total crap IMNSHO.

Does this help:

http://docs.oracle.com/javase/6/docs/technotes/guides/security/SunProviders.html#SunPCSCProvider

The system property sun.security.smartcardio.library may also be set to the 
full
filename of an alternate libpcsclite.so implementation.


 Anders

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



-- 

  Douglas E. Engert  deeng...@anl.gov
  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] Experiences with Java smartcardio

2011-11-23 Thread NdK
On 23/11/2011 22:44, Douglas E. Engert wrote:

 javax.smartcardio.* = Total crap IMNSHO.
IMVHO: Java and smartcards don't work really well together...

 Does this help:
 http://docs.oracle.com/javase/6/docs/technotes/guides/security/SunProviders.html#SunPCSCProvider
 The system property sun.security.smartcardio.library may also be set to the 
 full
 filename of an alternate libpcsclite.so implementation.
I remember seeing more problems than advantages. The bigger one is that
it tries to handle SCs as a Java KeyStore. So no publicly readable
objects. And needs to have ALL the card keys. And quite a granitic
config system. And so on.
I gave up for the moment.

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