opensc on mac osx

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

opensc on mac osx

Andreas Neuhold
hi all,

i 'd like to get opensc working on mac osx 10.3.9 because i want use an
eToken aladdin pro 4254 with an openvpn client for mac os x  (gui
called called  tunnelblick www.tunnelblick.net)
openvpn works just fine with certificate stored on filesysten, now it
should work with eToken, and i think opensc would be the only thing to
get work with it.

has anyone some experience with it?
is it possible?

is there any ready-compiled osx-packages/binaries (pkg) of opensc
aviable??
(i haven't found any package in fink)

so, i tried to download these source-code and compiled it as described
at http://www.opensc.org/opensc/wiki/MacOsX
libusb-0.1.10a.tar.gz
opensc-0.9.6.tar.gz

my environment:
Mac OS X 10.3.9 (7W98)
Darwin 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005;
root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC  Power Macintosh powerpc
gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1640)


config-informations:
OpenSC has been configured with the following options
Version:
User binaries:       /opt/smartcard/bin
Configuration files: /etc
Host:                powerpc-apple-darwin7.9.0
Compiler:            gcc
Compiler flags:      -Wall -fno-strict-aliasing -g -O2 -no-cpp-precomp
Preprocessor flags:  -I${top_builddir}/src/include
Linker flags:
Libraries:             -Wl,-framework,CoreFoundation
Random number collection: device (/dev/urandom)
OpenSSL support:          yes
         with engine:      yes
         with sslhack:     no
PC/SC support:            yes
OpenCT support:           no
Assuan support:           no
LDAP support:             yes
PAM support:              yes

---

following error occurred:

libusb-0.1.10a
make
.
..
...
creating libusb.la
(cd .libs && rm -f libusb.la && ln -s ../libusb.la libusb.la)
if /bin/sh ./libtool --mode=compile g++ -DHAVE_CONFIG_H   -I.   -g -O2
-MT usbpp.lo -MD -MP -MF ".deps/usbpp.Tpo" -c -o usbpp.lo usbpp.cpp; \
then mv -f ".deps/usbpp.Tpo" ".deps/usbpp.Plo"; else rm -f
".deps/usbpp.Tpo"; exit 1; fi
  g++ -DHAVE_CONFIG_H -I. -g -O2 -MT usbpp.lo -MD -MP -MF
.deps/usbpp.Tpo -c usbpp.cpp  -fno-common -DPIC -o .libs/usbpp.o
  g++ -DHAVE_CONFIG_H -I. -g -O2 -MT usbpp.lo -MD -MP -MF
.deps/usbpp.Tpo -c usbpp.cpp -o usbpp.o >/dev/null 2>&1
/bin/sh ./libtool --mode=link g++  -g -O2   -o libusbpp.la -rpath
/opt/smartcard/lib -version-info 8:2:4 -release 0.1 -export-dynamic
-framework IOKit -framework CoreFoundation -lusb  usbpp.lo
g++ -dynamiclib -single_module -flat_namespace -undefined suppress -o
.libs/libusbpp-0.1.4.4.2.dylib  .libs/usbpp.o  -lusb  -install_name  
/opt/smartcard/lib/libusbpp-0.1.4.dylib -compatibility_version 9
-current_version 9.2
/usr/bin/libtool: can't locate file for: -lusb
/usr/bin/libtool: file: -lusb is not an object file (not allowed in a
library)
make[2]: *** [libusbpp.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

---

opensc-0.9.6
make
.
..
...
creating libscldap.la
sed: support/opensc-0.9.6/src/scconf/libscconf.la: No such file or
directory
libtool: link: `support/opensc-0.9.6/src/scconf/libscconf.la' is not a
valid libtool archive
make[3]: *** [libscldap.la] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

--


thanks for any help,
andi

_______________________________________________
opensc-user mailing list
[hidden email]
http://www.opensc.org/cgi-bin/mailman/listinfo/opensc-user
Reply | Threaded
Open this post in threaded view
|

Re: opensc on mac osx [u]

Andreas Jellinghaus-2
Is there a working driver for some token, like Aladdin eToken PRO
or Axalto eGate or Rainbow iKey 3000?

So far I only tried ifd-egate 0.05 plus patches and it doesn't work.
I can't test opensc on Mac Os X without some working reader / usb
crypto token :)

Also note opensc doesn't need libusb. either the ifdhandler driver
does, or openct does (but openct has not been ported to mac os X
so far).

Regards, Andreas
_______________________________________________
opensc-user mailing list
[hidden email]
http://www.opensc.org/cgi-bin/mailman/listinfo/opensc-user
Reply | Threaded
Open this post in threaded view
|

Re: opensc on mac osx [u]

Jan Schermer
I had sort-of-success with pkcs-lite included in Tiger (detected card,
made some tests nothing more), no luck on 10.3.x. But I don't really
understand how pcsc-lite works so... :)

Jan

Andreas Jellinghaus [c] wrote:

>Is there a working driver for some token, like Aladdin eToken PRO
>or Axalto eGate or Rainbow iKey 3000?
>
>So far I only tried ifd-egate 0.05 plus patches and it doesn't work.
>I can't test opensc on Mac Os X without some working reader / usb
>crypto token :)
>
>Also note opensc doesn't need libusb. either the ifdhandler driver
>does, or openct does (but openct has not been ported to mac os X
>so far).
>
>Regards, Andreas
>_______________________________________________
>opensc-user mailing list
>[hidden email]
>http://www.opensc.org/cgi-bin/mailman/listinfo/opensc-user
>  
>

_______________________________________________
opensc-user mailing list
[hidden email]
http://www.opensc.org/cgi-bin/mailman/listinfo/opensc-user

smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: opensc on mac osx

Andreas Neuhold
In reply to this post by Andreas Neuhold
thanks so far,
but there are so many reasons why i have to use 10.3.x.

where are the problems on 10.3.9?
what does i need to get opensc working on 10.3.9?

why it works on 10.4?


thanks
andi

Am 28.07.2005 um 18:38 schrieb Martin Paljak:

> there's a package available for 10.4 with the latest and greatest
> pcsc-lite.
> http://ideelabor.ee/id-kaart/
> The text is in estonian but i guess you find the links anyway. But it
> works only with 10.4
>
> m.
>
> On 7/28/05, Andreas Neuhold <[hidden email]> wrote:
>> hi all,
>>
>> i 'd like to get opensc working on mac osx 10.3.9 because i want use
>> an
>> eToken aladdin pro 4254 with an openvpn client for mac os x  (gui
>> called called  tunnelblick www.tunnelblick.net)
>> openvpn works just fine with certificate stored on filesysten, now it
>> should work with eToken, and i think opensc would be the only thing to
>> get work with it.
>>
>> has anyone some experience with it?
>> is it possible?
>>
>> is there any ready-compiled osx-packages/binaries (pkg) of opensc
>> aviable??
>> (i haven't found any package in fink)
>>
>> so, i tried to download these source-code and compiled it as described
>> at http://www.opensc.org/opensc/wiki/MacOsX
>> libusb-0.1.10a.tar.gz
>> opensc-0.9.6.tar.gz
>>
>> my environment:
>> Mac OS X 10.3.9 (7W98)
>> Darwin 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST
>> 2005;
>> root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC  Power Macintosh powerpc
>> gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1640)
>>
>>
>> config-informations:
>> OpenSC has been configured with the following options
>> Version:
>> User binaries:       /opt/smartcard/bin
>> Configuration files: /etc
>> Host:                powerpc-apple-darwin7.9.0
>> Compiler:            gcc
>> Compiler flags:      -Wall -fno-strict-aliasing -g -O2 -no-cpp-precomp
>> Preprocessor flags:  -I${top_builddir}/src/include
>> Linker flags:
>> Libraries:             -Wl,-framework,CoreFoundation
>> Random number collection: device (/dev/urandom)
>> OpenSSL support:          yes
>>          with engine:      yes
>>          with sslhack:     no
>> PC/SC support:            yes
>> OpenCT support:           no
>> Assuan support:           no
>> LDAP support:             yes
>> PAM support:              yes
>>
>> ---
>>
>> following error occurred:
>>
>> libusb-0.1.10a
>> make
>> .
>> ..
>> ...
>> creating libusb.la
>> (cd .libs && rm -f libusb.la && ln -s ../libusb.la libusb.la)
>> if /bin/sh ./libtool --mode=compile g++ -DHAVE_CONFIG_H   -I.   -g -O2
>> -MT usbpp.lo -MD -MP -MF ".deps/usbpp.Tpo" -c -o usbpp.lo usbpp.cpp; \
>> then mv -f ".deps/usbpp.Tpo" ".deps/usbpp.Plo"; else rm -f
>> ".deps/usbpp.Tpo"; exit 1; fi
>>   g++ -DHAVE_CONFIG_H -I. -g -O2 -MT usbpp.lo -MD -MP -MF
>> .deps/usbpp.Tpo -c usbpp.cpp  -fno-common -DPIC -o .libs/usbpp.o
>>   g++ -DHAVE_CONFIG_H -I. -g -O2 -MT usbpp.lo -MD -MP -MF
>> .deps/usbpp.Tpo -c usbpp.cpp -o usbpp.o >/dev/null 2>&1
>> /bin/sh ./libtool --mode=link g++  -g -O2   -o libusbpp.la -rpath
>> /opt/smartcard/lib -version-info 8:2:4 -release 0.1 -export-dynamic
>> -framework IOKit -framework CoreFoundation -lusb  usbpp.lo
>> g++ -dynamiclib -single_module -flat_namespace -undefined suppress -o
>> .libs/libusbpp-0.1.4.4.2.dylib  .libs/usbpp.o  -lusb  -install_name
>> /opt/smartcard/lib/libusbpp-0.1.4.dylib -compatibility_version 9
>> -current_version 9.2
>> /usr/bin/libtool: can't locate file for: -lusb
>> /usr/bin/libtool: file: -lusb is not an object file (not allowed in a
>> library)
>> make[2]: *** [libusbpp.la] Error 1
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all] Error 2
>>
>> ---
>>
>> opensc-0.9.6
>> make
>> .
>> ..
>> ...
>> creating libscldap.la
>> sed: support/opensc-0.9.6/src/scconf/libscconf.la: No such file or
>> directory
>> libtool: link: `support/opensc-0.9.6/src/scconf/libscconf.la' is not a
>> valid libtool archive
>> make[3]: *** [libscldap.la] Error 1
>> make[2]: *** [all-recursive] Error 1
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all] Error 2
>>
>> --
>>
>>
>> thanks for any help,
>> andi
>>
>> _______________________________________________
>> opensc-user mailing list
>> [hidden email]
>> http://www.opensc.org/cgi-bin/mailman/listinfo/opensc-user
>>
>
>
> --
> Martin Paljak
> [hidden email]
> http://martin.paljak.pri.ee/
> +372.5156495 - phone
>

_______________________________________________
opensc-user mailing list
[hidden email]
http://www.opensc.org/cgi-bin/mailman/listinfo/opensc-user
Reply | Threaded
Open this post in threaded view
|

Re: opensc on mac osx

Stef Hoeben
Hi,

building opensc should work on 10.2, 10.3 and 10.4.

To run the bootstrap script, you'll need to install fink (fink.fs.net)
and the fink autoconf, automake and libtool tools.
Or you can run the bootrap script from a Linux machine and
then copy all you Mac.

Cheers,
Stef

Andreas Neuhold schreef:

> thanks so far,
> but there are so many reasons why i have to use 10.3.x.
>
> where are the problems on 10.3.9?
> what does i need to get opensc working on 10.3.9?
>
> why it works on 10.4?
>
>
> thanks
> andi
>
> Am 28.07.2005 um 18:38 schrieb Martin Paljak:
>
>> there's a package available for 10.4 with the latest and greatest
>> pcsc-lite.
>> http://ideelabor.ee/id-kaart/
>> The text is in estonian but i guess you find the links anyway. But it
>> works only with 10.4
>>
>> m.
>>
>> On 7/28/05, Andreas Neuhold <[hidden email]> wrote:
>>
>>> hi all,
>>>
>>> i 'd like to get opensc working on mac osx 10.3.9 because i want use an
>>> eToken aladdin pro 4254 with an openvpn client for mac os x  (gui
>>> called called  tunnelblick www.tunnelblick.net)
>>> openvpn works just fine with certificate stored on filesysten, now it
>>> should work with eToken, and i think opensc would be the only thing to
>>> get work with it.
>>>
>>> has anyone some experience with it?
>>> is it possible?
>>>
>>> is there any ready-compiled osx-packages/binaries (pkg) of opensc
>>> aviable??
>>> (i haven't found any package in fink)
>>>
>>> so, i tried to download these source-code and compiled it as described
>>> at http://www.opensc.org/opensc/wiki/MacOsX
>>> libusb-0.1.10a.tar.gz
>>> opensc-0.9.6.tar.gz
>>>
>>> my environment:
>>> Mac OS X 10.3.9 (7W98)
>>> Darwin 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005;
>>> root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC  Power Macintosh powerpc
>>> gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1640)
>>>
>>>
>>> config-informations:
>>> OpenSC has been configured with the following options
>>> Version:
>>> User binaries:       /opt/smartcard/bin
>>> Configuration files: /etc
>>> Host:                powerpc-apple-darwin7.9.0
>>> Compiler:            gcc
>>> Compiler flags:      -Wall -fno-strict-aliasing -g -O2 -no-cpp-precomp
>>> Preprocessor flags:  -I${top_builddir}/src/include
>>> Linker flags:
>>> Libraries:             -Wl,-framework,CoreFoundation
>>> Random number collection: device (/dev/urandom)
>>> OpenSSL support:          yes
>>>          with engine:      yes
>>>          with sslhack:     no
>>> PC/SC support:            yes
>>> OpenCT support:           no
>>> Assuan support:           no
>>> LDAP support:             yes
>>> PAM support:              yes
>>>
>>> ---
>>>
>>> following error occurred:
>>>
>>> libusb-0.1.10a
>>> make
>>> .
>>> ..
>>> ...
>>> creating libusb.la
>>> (cd .libs && rm -f libusb.la && ln -s ../libusb.la libusb.la)
>>> if /bin/sh ./libtool --mode=compile g++ -DHAVE_CONFIG_H   -I.   -g -O2
>>> -MT usbpp.lo -MD -MP -MF ".deps/usbpp.Tpo" -c -o usbpp.lo usbpp.cpp; \
>>> then mv -f ".deps/usbpp.Tpo" ".deps/usbpp.Plo"; else rm -f
>>> ".deps/usbpp.Tpo"; exit 1; fi
>>>   g++ -DHAVE_CONFIG_H -I. -g -O2 -MT usbpp.lo -MD -MP -MF
>>> .deps/usbpp.Tpo -c usbpp.cpp  -fno-common -DPIC -o .libs/usbpp.o
>>>   g++ -DHAVE_CONFIG_H -I. -g -O2 -MT usbpp.lo -MD -MP -MF
>>> .deps/usbpp.Tpo -c usbpp.cpp -o usbpp.o >/dev/null 2>&1
>>> /bin/sh ./libtool --mode=link g++  -g -O2   -o libusbpp.la -rpath
>>> /opt/smartcard/lib -version-info 8:2:4 -release 0.1 -export-dynamic
>>> -framework IOKit -framework CoreFoundation -lusb  usbpp.lo
>>> g++ -dynamiclib -single_module -flat_namespace -undefined suppress -o
>>> .libs/libusbpp-0.1.4.4.2.dylib  .libs/usbpp.o  -lusb  -install_name
>>> /opt/smartcard/lib/libusbpp-0.1.4.dylib -compatibility_version 9
>>> -current_version 9.2
>>> /usr/bin/libtool: can't locate file for: -lusb
>>> /usr/bin/libtool: file: -lusb is not an object file (not allowed in a
>>> library)
>>> make[2]: *** [libusbpp.la] Error 1
>>> make[1]: *** [all-recursive] Error 1
>>> make: *** [all] Error 2
>>>
>>> ---
>>>
>>> opensc-0.9.6
>>> make
>>> .
>>> ..
>>> ...
>>> creating libscldap.la
>>> sed: support/opensc-0.9.6/src/scconf/libscconf.la: No such file or
>>> directory
>>> libtool: link: `support/opensc-0.9.6/src/scconf/libscconf.la' is not a
>>> valid libtool archive
>>> make[3]: *** [libscldap.la] Error 1
>>> make[2]: *** [all-recursive] Error 1
>>> make[1]: *** [all-recursive] Error 1
>>> make: *** [all] Error 2
>>>
>>> --
>>>
>>>
>>> thanks for any help,
>>> andi
>>>
>>> _______________________________________________
>>> opensc-user mailing list
>>> [hidden email]
>>> http://www.opensc.org/cgi-bin/mailman/listinfo/opensc-user
>>>
>>
>>
>> --
>> Martin Paljak
>> [hidden email]
>> http://martin.paljak.pri.ee/
>> +372.5156495 - phone
>>
>
> _______________________________________________
> opensc-user mailing list
> [hidden email]
> http://www.opensc.org/cgi-bin/mailman/listinfo/opensc-user
>

_______________________________________________
opensc-user mailing list
[hidden email]
http://www.opensc.org/cgi-bin/mailman/listinfo/opensc-user