osdir.com
mailing list archive

Subject: Re: Wrong card? - msg#00112

List: encryption.opensc.user

Date: Prev Next Index Thread: Prev Next Index
On Wednesday 26 October 2005 21:23, lasse wrote:
> Lets make this a long posting. I'm not a coder and it is about 10 years
> when I last time made some little escercises, so it looks little scary
> to me but here we go:
>
> reader-pcsc.c:32:22: winscard.h: No such file or directory

[cut]

try apt-get install libpcsclite-dev

Antonio



Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

Re: Wrong card?

please dpkg -l |grep pcsc and send me the result. maybe also attach your config.log file, so I can see what went wrong in the configure code. I wonder how this happends - somehow configure must have detected pcsc on your system, but you don't have it. fix: install libpcsclite-dev and compiling shoudl work again. our nightly snapshots are compiling on a debian sarge machine every night :) ... Andreas

Next Message by Date: click to view message preview

Re: Wrong card?

This is a cryptographically signed message in MIME format. I think it's because of the libsomething/libsomething-dev split, I'm hitting it quite often. I think that on the contrary, configure didn't do the check for header files for pcsc - it just tried -lpcsc and that worked. but maybe i'm wrong ;) Jan Andreas Jellinghaus wrote: please dpkg -l |grep pcsc and send me the result. maybe also attach your config.log file, so I can see what went wrong in the configure code. I wonder how this happends - somehow configure must have detected pcsc on your system, but you don't have it. fix: install libpcsclite-dev and compiling shoudl work again. our nightly snapshots are compiling on a debian sarge machine every night :) ... Andreas _______________________________________________ opensc-user mailing list opensc-user@xxxxxxxxxxxxxxxx http://www.opensc.org/cgi-bin/mailman/listinfo/opensc-user smime.p7s Description: S/MIME Cryptographic Signature

Previous Message by Thread: click to view message preview

Re: Wrong card?

Am Donnerstag 27 Oktober 2005 16:12 schrieb lasse: > On Thu, Oct 27, 2005 at 11:26:14AM +0200, Andreas Jellinghaus wrote: > > could you please check if you have a "libpcsclite.pc" > > in /usr/lib/pkgconfig and/or /usr/local/lib/pkgconfig? > > Yes, I have them both (?!) can you post the content of both? > /usr/local/include is empty, libpcsclite-dev in /usr/include/PCSC, then there should be no /usr/local/lib/pkgconfig/libpcsclite.pc file. if you have one, please move it away and try again, I guess that is the reason for your problems. > libpcsclite is in /usr/lib. Is that right? yes, the debian packets has the include files in /usr/lnclude/PCSC, the lib in /usr/lib and the pkg-config file in /usr/lib/pkgcconfig (and contains settings for -I/usr/include and -L/usr/lib etc.) Andreas

Next Message by Thread: click to view message preview

using SunPKCS11 to verify signature

hello i am using opensc-pkcs11 module in java SunPKCS11 provider signing messages works, i suppose, fine, but when i am trying to verify signature, error occurs: profile.c:559:sc_profile_instantiate_template: Directory 3f0050154b01 not defined in profile java.security.InvalidKeyException: Could not create RSA public key at sun.security.pkcs11.P11RSAKeyFactory.implTranslatePublicKey(P11RSAKeyFactory.java:51) at sun.security.pkcs11.P11KeyFactory.engineTranslateKey(P11KeyFactory.java:111) and so on and on code goes like this: java.security.cert.Certificate userCert = ks.getCertificate(alias); sig.initVerify(userCert); <-- this line generate exception card considers such objects: Private RSA Key [Private Key] Com. Flags : 3 Usage : [0x22E], decrypt, sign, signRecover, unwrap, nonRepudiation Access Flags: [0x1D], sensitive, alwaysSensitive, neverExtract, local ModLength : 2048 Key ref : 0 Native : yes Path : 3F0050154B0130450012 Auth ID : 01 ID : 45 X.509 Certificate [Certificate] Flags : 2 Authority: no Path : 3F0050154545 ID : 45 Public RSA Key [Public Key] Com. Flags : 2 Usage : [0x4], sign Access Flags: [0x0] ModLength : 2048 Key ref : 0 Native : no Path : 3F0050154445 Auth ID : ID : 45 my question is: whats wrong with tj\he public key? why library is trying to search 3f0050154b01 directory? i'v spend hours figuring out whats wrong, and i am giving up. krioni
Sign up for updates to this mailing list. email:
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by