opensc 0.12.1 ubuntu 11.04 and 11.10

Bug #817928 reported by giovanni baronio
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
opensc (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

sorry about my english...
> there is a bug in opensc... if you try :
> pkcs11-tool --module '/usr/lib/opensc-pkcs11.so' -t --login
>
> the system get this error code:
> error: PKCS11 function C_SignFinal failed: rv = CKR_GENERAL_ERROR
> (0x5)
>
> and you can't use firefox nor thunderbird with smart card for digital
> signature.
>
> i use italian CNS

lsb_release -rd ubuntu 11.04
opensc 0.12.1 [gcc 4.5.2]
Enabled features: zlib openssl pcsc(libpcsclite.so.1)

Revision history for this message
Laurent Bigonville (bigon) wrote :

could you set the debug parameter in /etc/opensc/opensc.conf to 9 and attach the debugging information to this bug

Revision history for this message
giovanni baronio (giovanni-baronio) wrote :
Revision history for this message
giovanni baronio (giovanni-baronio) wrote :

giovanni@giovanni-laptop:~$ pkcs11-tool --module /usr/lib/opensc-pkcs11.so -t --login
Using slot 1 with a present token (0x1)
Logging in to "GIOVANNI BARONIO (PIN CNS0)".
Please enter User PIN:
C_SeedRandom() and C_GenerateRandom():
  seeding (C_SeedRandom) not supported
  seems to be OK
Digests:
  all 4 digest functions seem to work
  MD5: OK
  SHA-1: OK
  RIPEMD160: OK
Signatures (currently only RSA signatures)
  testing key 0 (CNS0)
error: PKCS11 function C_SignFinal failed: rv = CKR_GENERAL_ERROR (0x5)

Aborting.
giovanni@giovanni-laptop:~$

Revision history for this message
giovanni baronio (giovanni-baronio) wrote : Re: [Bug 817928] Re: opensc 0.12.1 ubuntu 11.04 and 11.10

Il 29/07/2011 20:58, Laurent Bigonville ha scritto:
> could you set the debug parameter in /etc/opensc/opensc.conf to 9 and
> attach the debugging information to this bug
>
do it....
attachment (too long) and the entire result of
pkcs11-tool --module/usr/lib/opensc-pkcs11.so -t --login

Revision history for this message
giovanni baronio (giovanni-baronio) wrote :

I got opensc_0.12.1.orig.tar.gz oneiric 11.10 and every thing works very well.
I have:
Ubuntu 11.04 amd64
Card reader SCR3310 V2
Card CRS and CNS Infocer
Notebook Acer Aspire 4935

But to use Firefox and Thunderbird i must use a different middleware ( Driver_linux_Incard.zip see attachment below)
nor opensc-pkcs11.so

Revision history for this message
giovanni baronio (giovanni-baronio) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in opensc (Ubuntu):
status: New → Confirmed
Revision history for this message
janning (vygen-kicktipp) wrote :
Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

Hi,

As it seems to be fixed in Oneiric, Marking as Fix Released. If the bug still happens, please reopen this bug report.

Thanks,
Fabrice

Changed in opensc (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.