The download link for i386 installer is included in the wiki page together
with some comments and questions. Unlike NSIS InnoSetup is a win32
application but I have successfully used it from wine.
It's the main reason why we choice NSIS, I think using wine to build installer
a bit
Hi,
I get some trouble to cross build opensc, pkcs15-oberthur.h not included
In archive opensc-0.12.0-svn.tar.gz when I run make dist.
Moreover licence is missing in pkcs15-oberthur.h and pkcs15-oberthur.c seems
To be the only file with a separate header file, if possible it will be fine
To
Sorry, where from you are getting this archive?
It's standard way to cross build with OpenSC Build system, I build it
myself with make, make dist from current svn sources.
Moreover licence is missing in pkcs15-oberthur.h and pkcs15-oberthur.c
seems
To be the only file with a separate
hmm, why move internal.h? what is in internal.h that changes the winreg.h
include?
Winreg.h depends of definition in windows.h witch is included in
internal.h...
usually it is not internal.h that has some special define, but config.h,
and we have that as first include everywhere. so if there
so we could revert this check, and instead add a
/* windows.h required before winreg.h*/
#include windows.h
#include winreg.h
inside the #ifdef _WIN32 ?
looks cleaner to me...
Ok for me, I will do the test and make the change if you are ok?
François.
smime.p7s
Description: S/MIME
I propose to change the sc_pkcs15_verify_pin() prototype from
int sc_pkcs15_verify_pin(struct sc_pkcs15_card *, struct
sc_pkcs15_pin_info *, const u8 *, size_t);
to
int sc_pkcs15_verify_pin(struct sc_pkcs15_card *, struct
sc_pkcs15_object *, const u8 *, size_t);
The reason is that
Hello Victor,
Im playing with opensc and find that when we use pkcs15 emulation
sc_pkcs15_verify_pin fails,
this is due to 'auth_method' not set by emulation layer (and use to be set
by 'sc_pkcs15_verify_pin'
before changeset 4048). For real pkcs15 card it seems that
Ok so Can I apply joined patch? Tested only with Westcos Card...
Hope I forget nobody...
No objections?
François.
emulation-set-auth-method.patch
Description: Binary data
smime.p7s
Description: S/MIME cryptographic signature
___
opensc-devel
Index: pkcs15-syn.c
===
--- pkcs15-syn.c (revision 4063)
+++ pkcs15-syn.c (working copy)
@@ -316,6 +316,8 @@
sc_pkcs15_pin_info_t pin = *in_pin;
pin.magic = SC_PKCS15_PIN_MAGIC;
+ if
Hello,
Does anyone successfully use opensc-pkcs11 module with TrueCrypt ?
Im interrest in feedback of user since I dont manage to do it.
Regards,
François.
smime.p7s
Description: S/MIME cryptographic signature
___
opensc-devel mailing list
Why do you run the script?
If you use nsis you need to do all within the nsis and check for
failures too... :)
Script update opensc.conf setting profile_dir and for now I don't
manage to modify directly opensc.conf with nsis...
So to make useable quickly I run opensc-install.bat in future we
Hello Alon,
Can you have a look on joined patch if it's ok for you.
It's for building process for mingw32 using internal-winscard.h instead of
Winscard.h (like we add cardmod.h I think we can add this minors modification).
What do you think about?
François.
build-mingw32.patch
if some file inside opensc source is not found, then it is propably
an issue with some Makefile (e.g. FOO_CFLAGS += -I${srcdir} needed).
can you give details why/when this is needed, so we can find out
what is wrong?
This is needed to cross build opensc with cardmod support with mingw32
since
Hello,
In file src/libopensc/ctx.c:
since 'cardmod' driver is a subset of pcsc drivers it should not be use
with pcsc driver, if we use the internal keyword (by default) cardmod is
loaded too and may conflict with pcsc reader.
So I propose to change this with joined patch if someone get better
Alon,
What do you think about this patch to create installable release .
Something like this can be ok ?
(I don't have makensis on my linux developement server but I have it on my
windows client and I
Run it on script generated and get it working.)
Regards,
François.
Hello
I cant build anymore opensc, get failure :
Cannot export sc_der_clear: symbol not defined
Should I remove « sc_der_clear » from libopensc.exports list ?
Any objections ?
François.
smime.p7s
Description: S/MIME cryptographic signature
___
I have some fixups to the build.
Great Thank you.
Can you please send me a usable cardmod.h so I can compile this stuff?
I will send you in private way.
Also, can we put the .inf and .reg anywhere else but bin?
The .reg is not to stay (just for example until we made it by a tool)
The .inf is
Hi,
Andreas since your change :
http://www.opensc-project.org/opensc/changeset/3992
I can't cross build, the #include pthread.h in log.c file fail
in error no pthread.h file.
This file should be part of compiler or other.. Do you successfully
Cross build for mingw since the change? Someone
oops, sorry, didn't know it would be missing on windows.
I commited a fix for that, please test!
I will do.
This file should be part of compiler or other.. Do you successfully
Cross build for mingw since the change? Someone do that?
sorry, I haven't found time to setup a cross-compile for
Hi,
Minidriver added.
- Move libopensc/opensccm.c to cardmod/cardmod.c - build
opensc-cardmod.dll
leave it as is, and commit the code you posted.
the code can be changed later, when there is an agreement how it can
be changed.
Unfortunatly I can successfully use env to transmit
note: I removed the Makefile.in.
All those files generated by automake, autoconf and libtool
are not submitted to svn, as they change, depending on the
version of these tools used by each developer, and we are
not interested in having these changes in the svn.
Ok.
Unfortunatly I can
Ok, to be more clear I suggest opensc-cardmod.dll...
good idea.
Thank you.
Yes dlls must be in Path, the Path can be update at install process.
I know you can set the path for users. but can you also set the
path for system processes (e.g. the login window)?
Oups sorry, of courses you
Please send us the licence.rtf so we can check it is LGPL compatible.
Thanks
Ok, join licence.rtf and other.
François
License.tar.bz2
Description: Binary data
smime.p7s
Description: S/MIME cryptographic signature
___
opensc-devel mailing list
pkcs11-tool -L show me the slots but they are always empty. I've used my
application with the manufacturer libraries and it works appropriately. So
I think my problem could be related to my opensc configuration. I didn't
modify the opensc.conf file because i'm using a usual card supported by
as far as I know both are too much involved in opensc internals to port
them to pkcs#11 api.
You have the correct understanding.
ok, thanks.
I Will try to think about it.
The question here is how the feature (pre-opened card handles) is
implemented inside libopensc. The interface
Sure, I know the case with windows and BaseCSP and why the driver rocks, if
finalized and why it is good and important.
But the way it is included and integrated with the rest of OpenSC should be
discussed. I don't like the idea of putting it on the same level with
libopensc and I don't like the
Hello,
ok. hmm, but if we create an extra dll for the card module, the
original name opensccm might be better. move the file
to cardmod/opensccm.c and create opensccm.dll?
is that ok for you.
Ok, to be more clear I suggest opensc-cardmod.dll...
dll-s are OK if they have a purpose, stuffing
I cannot offer more information about my problem since my program doesn't have
runtime errors or compiled errors, can I?
You can get more information try to configure opensc.conf put debug = 9
instead of debug = 0.
François.
___
opensc-devel
ok. so we would need a pkcs#11 to Crypto api bridge,
so pkcs#11 api applications can use the certificates available
via crypto api.
Oh yes, think it's good idea, I've not see this possibility. In this case
getting a statically build of libopensc maybe interesting...
trunk is under
Hello,
Does someone successfully build opensc with
m4 1.4.13
autoconf 2.65
libtool 2.2.6b
When I try to run 'autoreconf -ivf' get result:
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac:
Just a correction of my first patch send concerning opensc minidriver for
windows,
Now work with XP, vista and windows 7 at least with test application.
(for XP don't knows if certificates are loaded on windows container..., for
vista and 7 certutil command show me certificates on card.)
Work
Hello,
I wish to add sc_apdu_log, sc_apdu_get_octets and sc_apdu_set_resp to
libopensc.exports but if I do this compilation fail with :
/usr/bin/ld:.libs/libopensc.ver:216: syntax error in VERSION script
collect2: ld returned 1 exit status
Someone can help me?
I need doing this since I
On Jan 18, 2010, at 12:28 PM, François Leblanc wrote:
I wish to add sc_apdu_log, sc_apdu_get_octets and sc_apdu_set_resp to
Why do you want to do that? These are internal functions and should not be
used outside of libopensc.
I need doing this since I wan't to provide a pcsc drivers
integrate in opensc
and improve (the last version of 'minidrivers' is 7)...
Regards,
François
-Message d'origine-
De : Jan Suhr [mailto:j...@suhr.info]
Envoyé : mardi 12 janvier 2010 18:34
À : François Leblanc
Objet : Re: [opensc-devel] Opensc minidriver for base csp.
Hi Francois!
I read
Hi.
Hi.
(...)
For me, the most visible result of this patch is running Firefox with
opensc-pkcs11.so installed in debug mode - polling for slots is replaced
with a readable log output thanks to C_WaitForSlotEvent and plugging readers
and cards back and forth actually works. This has
Hello,
I repost the patch to improve pkcs15init on westcos and I add one to correct
issue on p15emu
detecting empty westcos card like emulated card and not empty pkcs15 card...
If somebody have the hand on svn and can patch for me,
Thank you.
François.
Hello,
I repost the patch to improve pkcs15init on westcos and I add one to correct
issue on p15emu
detecting empty westcos card like emulated card and not empty pkcs15 card...
If somebody have the hand on svn and can patch for me,
Thank you.
François.
westcos-p15emu-issue.patch
-Message d'origine-
De : François Leblanc
Envoyé : mercredi 25 novembre 2009 08:37
À : 'opensc-devel (opensc-devel)'
Objet : TR: Small correction on westcos card.
Hello,
I repost the patch to improve pkcs15init on westcos and I add one to correct
issue on p15emu
detecting empty
Hello,
It's just for testing ...
Bye.
___
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel
What for there are two PIN cache systems?
Why do not use the unique one?
Probably historic reasons...
As for me, the 'p15card-pin_cache[]' system is more attractive.
Somebody have the reasons for the other or for the both ?
I agree, p15card-pin_cache seems more interesting.
François.
As for me, the 'p15card-pin_cache[]' system is more attractive.
Somebody have the reasons for the other or for the both ?
There's another option: take the part that deals with PIN codes in keycache.c
and make it use libopensc PIN cache and leave the keycache.c in pkcs15init?
The old bridge
Hi there,
Does someone do commands like :
pkcs11-tool -l -O
It fails for me:
error: PKCS11 function C_OpenSession failed: rv = CKR_TOKEN_NOT_PRESENT (0xe0)
but if I do :
pkcs11-tool -T
Available slots:
Slot 4 CEVGroup Software Reader 1
token label: westcos (User PIN)
token
for me the following works:
./build/bin/pkcs11-tool --module ./build/lib/opensc-pkcs11.so -T
Available slots:
Slot 4 OmniKey CardMan 3121 01 00
...
./build/bin/pkcs11-tool --module ./build/lib/opensc-pkcs11.so --slot 4 -l -O
Please enter User PIN:
...
Yes, thank
I try to use more pkcs11-tool since I guess pkcs11 will be the standard way for
use opensc
and I can't generate key with pkcs11. I notice that pkcs15-init call
'sc_pkcs15init_set_callbacks'
and pkcs11-tool not and is why do_get_and_verify_secret fails later.
Does someone use pkcs11-tool to
about security and so-pin...
François.
-Message d'origine-
De : Aventra development [mailto:developm...@aventra.fi]
Envoyé : mercredi 18 novembre 2009 15:13
À : 'opensc-devel (opensc-devel)'
Cc : François Leblanc
Objet : RE: [opensc-devel] Difference betwen pkcs15-init/pkcs11-tool generate
There are two targets:
1. If a PIN is entered via software, cache it in a single location, usable by
all layers above libopensc by same mechanism
2. Allow to personalize a card with all PIN-s going through a pinpad.
1. is possible, but 2 via PKCS#11 might be a problem, if a card requires
Hi,
If someone have few minutes to patch, (this concern westcos card only)
thank you very much.
François.
westcos-improve-pkcs15init.patch
Description: westcos-improve-pkcs15init.patch
___
opensc-devel mailing list
François Leblanc a écrit :
Hi,
If someone have few minutes to patch, (this concern westcos card only)
thank you very much.
François.
As I have my hands in the source, I've done it.
Cheers,
Jean-Pierre
Thank you Jean-Pierre.
François
Hello,
I provide a small patch to improve pkcs15init use of profile in westcos card,
Thanks if someone can integrate it in trunk.
François.
westcos-improve-pkcs15init.patch
Description: westcos-improve-pkcs15init.patch
___
opensc-devel
Hi,
2. p15emu-westcos.c. Problem: consistent naming. Rest of the emulation
drivers use pkcs15-name.c As there are pkcs15-foo.c files in src/
libopensc that deal with other tasks than emulation, maybe push the
emulation drivers into a subdirectory for clarity?
I'm fine with renames. a
Hi Andreas,
This is a patch to suppress warnings from westcos.
François.
westcos-suppress-warnings-r3782.patch.tar.gz
Description: westcos-suppress-warnings-r3782.patch.tar.gz
___
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
we could define some new structure with reader parameters to be passed
as third argument and store the values there. still a hack, but I wonder
if that would be cleaner than using the config file code as transport.
not sure, what does everyone else think?
Ok, I see now what you mean.
I saw
+// THIS CODE AND INFORMATION IS PROVIDED AS IS WITHOUT WARRANTY OF ANY
+// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
+// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
+// PURPOSE.
I don't see any reason why we are allowed to use it
1. You don't need to check in versioninfo.rc
Ok.
2. I don't understand the empty winscard.h
Since I don't want to modify cardmod.h (it's not my file) and this file
include winscard.h but I don't have winscard.h with my cross compiler tool
mingw32...
3. If not absolutely required, put
Hi,
I've joined a patch to build a windows minidriver useable with basecsp.
This patch produce a dll named opensccm.dll (only for window of course) and a
binary testcsp.exe
You have to change atr value and put yours on opensccm.reg before to
register.
I've successfully have certificates
Hi,
shall we create a new opensc 0.11.* release? things to wait for
before we create such a release?
Hi Andreas,
Maybe you should add my patch to permit building opensc without openssl and
patch from Aktiv Co. Aleksey Samsonov before to make a new release.
This two patch concern the westcos
Hi,
Can someone help, since we can have several certificate for a private
key, how to retreive associate private key
of a certificate? The ID isn't enougth, I can have a 0145 private key and two
certificate 0345 and 0346 for example each one
corresponding to my 0145 private key. So if
Hi,
Don't anything about Portuguese eID but:
...
This works perfectly when using a regular reader. When using a pinpad
reader it works also, but a minor annoyance occurs: the reader asks
for 4 PINs (instead of the regular 3) and I think this can cause
confusion to the users.
If I'm not
On the document, there are other options explained. One looks promising:
bConfirmPin: 0x01
bNumberMessage: 0x02
Messages seen on Pinpad display: New Pin*, Confirm Pin*
*In these two cases, old PIN is not asked by the Pinpad but do not forget to
put the old
PIN value in the APDU command.
How
Is it any way to view the opensc debug logs to see where can be the error?
Thanks
You should have somewhere a file named opensc.conf
Change debug file to something convenient for you:
debug_file = C:\Documents and Settings\All
Users\Documents\opensc-debug.log;
and
debug
Am Donnerstag 17 September 2009 14:22:26 schrieb François Leblanc:
This patch to permit to build without openssl and minor coding style change
for westcos card.
without openssl, is the card usable?
It depends, the westcos 2ko isn't useable without openssl, but the javacard
with westcos applet
Thank you, I'll try this.
François.
-Message d'origine-
De : opensc-devel-boun...@lists.opensc-project.org
[mailto:opensc-devel-boun...@lists.opensc-project.org] De la part de Aktiv Co.
Aleksey Samsonov
Envoyé : lundi 21 septembre 2009 09:38
À : opensc-devel@lists.opensc-project.org
À : 'Aktiv Co. Aleksey Samsonov'; opensc-devel@lists.opensc-project.org
Objet : Re: [opensc-devel] westcos_select_file and iso7816_select_file
Thank you, I'll try this.
François.
It seems working fine,
Patch for trunk revision 3741 can be apply.
Thank you Aleksey Samsonov.
also shall we create a new 0.11 release for the two new drivers
or go straight for a new 0.12 release?
Regards, Andreas
Hi Andreas,
I hope to release patch today to make build avalaible without openssl
and change minor coding style... Please wait for this patch before
to make a new
This patch to permit to build without openssl and minor coding style change for
westcos card.
I've not found yet how to pakage opensc to be build via build script... If
someone know
how to do...
François.
opensc-westcos-without-openssl2.patch
Description:
Le 17 septembre 2009 12:29, François Leblanc
francois.lebl...@cev-sa.com a écrit :
Can someone help me, I need to make the current trunk avalaible
for OpenSC Build , it seems that directory doc/html.out
should be created but don't know how.. The bootstrap
and configure scripts don't build
How did you package the sources?
I guess you:
svn checkout http://www.opensc-project.org/svn/opensc/trunk opensc
cd opensc
autoreconf -ivf
./configure
make
make dist
No,
svn checkout http://www.opensc-project.org/svn/opensc/trunk opensc
cd opensc
./bootstrap
Then make a tar opensc-tar.gz
I don't understand, I must build opensc under linux to have
The package that will be used with build script ? That is?
François
So do it properly.
2009/9/17 François Leblanc francois.lebl...@cev-sa.com:
How did you package the sources?
I guess you:
svn checkout http://www.opensc
As a general note, committing new dead code (#if 0 style) should not
be done. There are some historic instances still present in the code
which should also be reaped out.
I Agree, I just forward a bad patch without #if removed ...
+1 for the patch.
Yes, this patch seem working fine and
I've started to write doc/tools/westcos-tool.xml and add a ref to tools.xml:
xi:include href=westcos-tool.xml/
But I don't see westcos-tool in tree menu of html page.
I have missed something?
Thanks,
François.
___
opensc-devel mailing list
Hello,
It appears that opensc lacks of i18n support (perhaps can I help later
integrating this).
This support is interesting if and only if the use of opensc is large enougth,
I think that isn't the case actually. Does someone know the number of opensc
users in the world?
It
In order to increase the use of this soft I plan to make a basecsp
using
opensc so every windows applications using cryptographic (by CSP)
become
opensc compatible! I think about OpenOffice, Outlook, IE etc...
BaseCSP plugin is a great piece of news! If I can help, let me know.
Yes
Hi there,
Does someone manage this list? I've a message waiting moderator approval since
The patch file joined is more than 40kb...
Regards.
François.
___
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
d'origine-
De : Alon Bar-Lev [mailto:alon.bar...@gmail.com]
Envoyé : mardi 8 septembre 2009 10:13
À : François Leblanc
Cc : opensc-devel (opensc-devel)
Objet : Re: [opensc-devel] Patch adding support for westcos card.
Few general notes:
1. Please separate the patch, and send every feature
As far as I know, basecsp use its own file system structure, hiding
the objects from the mini csp provider.
How do you solve this?
It's my card minidriver witch make the link between base csp file structure
and pkcs15 file structure. Base csp don't work alone, you have to provide a
dll for
Hi,
the license needs to be in english, so I can understand what it says.
Ok, I will put it in English.
currently opensc is under LGPL 2.1+ and we accept code under that license
(and BSD3).
Starting to mix different licenses within one library is not a good idea
I think. so if you want to
whitch use opensc tools with complete pkcs15
structure.
Regards,
François.
-Message d'origine-
De : Andreas Jellinghaus [mailto:a...@dungeon.inka.de]
Envoyé : mardi 8 septembre 2009 16:51
À : opensc-devel@lists.opensc-project.org
Cc : François Leblanc
Objet : Re: [opensc-devel
I've builded a new patch, is lock in list waiting moderator approval,
if someone can unlock it.
Thank you.
François.
___
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel
Great,
If someone can apply joined patch to build script to update latest releases...
Thank you.
François Leblanc.
-Message d'origine-
De : opensc-devel-boun...@lists.opensc-project.org
[mailto:opensc-devel-boun...@lists.opensc-project.org] De la part de Andreas
Jellinghaus
I've a soft-token pkcs11 lib sources building on linux and windows
If you are interested, ask me
Regards
François.
-Message d'origine-
De : opensc-devel-boun...@lists.opensc-project.org
[mailto:opensc-devel-boun...@lists.opensc-project.org] De la part de Benoit
Badrignans
Envoyé :
80 matches
Mail list logo