coolkey 1.1.0-8 does not request for PIN

Bug #888185 reported by gabr10
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
coolkey (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When testing an Activkey SIM with the coolkey module version 1.1.0-8, the Activkey PIN is never requested when running tools such as pcsc_listcerts, or when an actual pptp connection is attempted with all the settings already in place, whereas 1.1.0-6 works flawlessly. In order for this to work, I downgraded to 1.1.0-6 on Ubuntu 11.04 and 11.10 and it works without a problem.

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

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

Changed in coolkey (Ubuntu):
status: New → Confirmed
Revision history for this message
Vladimir Kravets (vova-kravets) wrote :

Please run pcsc_listcerts with ---debug parameter and please attach it to this bug. No information is avalaible to invistigate the issue.

After upgrade from 11.04 to 11.10 Activkey SIM if working fine on my system

Revision history for this message
gabr10 (gabriobarbieri) wrote :

Added output when using 1.1.0-8 coolkey and libckyapplet (file is called wrong.txt)

1.1.0-8 is the latest available in the ubuntu repositories.

Will add output when working correctly in a moment.

Revision history for this message
gabr10 (gabriobarbieri) wrote :

Added output when everything works right using 1.1.0-6 coolkey and libckyapplet.

PIN is requested, as expected and everything goes through.

Revision history for this message
gabr10 (gabriobarbieri) wrote :

Actually you are probably right, on the other bug (#786682 ) you mention the following:
Issue is appeared when CAC was implemented (coolkey-cac.patch). Some of key (include ActiveKey) can include empty certificate In this case we don't need to throw exception if this is not slot 0.

So I went and removed the CAC patches (and a pcsc-lite-fix patch) from the build process outlined here: http://aur.archlinux.org/packages/co/coolkey/PKGBUILD
Plus added another patch that I found over here:
https://bugzilla.redhat.com/show_bug.cgi?id=626029

Builds up OK and requests for PIN as expected.

Revision history for this message
Vladimir Kravets (vova-kravets) wrote :

Please run
export COOL_KEY_LOG_FILE=/tmp/cool.log
pcsc_listcerts ---debug

and attach cool.log also

Revision history for this message
Vladimir Kravets (vova-kravets) wrote :

I you will see the same output below

CAC Cert 0: Fetch rest : 639 ms
CAC Cert 0: Cert has been read: 639 ms
CAC Cert 0: Cert has been uncompressed: 639 ms
CAC Cert 1: select CAC applet: 71 ms
Connection Error = 0x80100003
cleared all sessions
refreshTokenState: Failed to load objects.
isTokenPresent, card state is 0x1
C_CloseAllSessions(0x1) called
Finalizing...

This defect can be close as duplicate of 786682. If not need to invistigate since on my Ubuntu 11.10 with all latest update all working fine.

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.