Bug 1186005 - Enable DNIe user interface
Summary: Enable DNIe user interface
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: opensc
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nikos Mavrogiannopoulos
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-26 19:34 UTC by fgozalo0
Modified: 2015-01-30 08:54 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-30 08:54:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Patch opensc.spec to configure with --enable-dnie-ui (305 bytes, patch)
2015-01-26 19:34 UTC, fgozalo0
no flags Details | Diff

Description fgozalo0 2015-01-26 19:34:51 UTC
Created attachment 984374 [details]
Patch opensc.spec to configure with --enable-dnie-ui

Description of problem:
To use Spanish DNIe (National Identification Card) is necessary to write a PIN. opensc must be configure/compile with "--enable-dnie-ui" to show the box where to write this PIN.
Attached a patch for opensc.spec.


Version-Release number of selected component (if applicable):
opensc-0.14.0

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Nikos Mavrogiannopoulos 2015-01-26 22:42:24 UTC
I'm curious. All smart cards require a PIN; why does this PIN require a special UI? Doesn't the PIN entry work without the UI, if for example you use the card with pkcs11-tool?

Comment 2 fgozalo0 2015-01-27 11:12:29 UTC
(In reply to Nikos Mavrogiannopoulos from comment #1)
> I'm curious. All smart cards require a PIN; why does this PIN require a
> special UI? Doesn't the PIN entry work without the UI, if for example you
> use the card with pkcs11-tool?

Really, I am not aware of the intricacies of the card. 

From forums about OpenDNIe I translate: without --enable-dnie-ui non-repudiation signatures will be done without the supplementary confirmation.

Comment 3 Nikos Mavrogiannopoulos 2015-01-27 13:52:22 UTC
So do these signatures work if compiled without that option? As I understand from your description, this is a yes, even though there is no additional dialog. In that case, I am not sure we should enable that flag in fedora because we ship no consent application required by that flag, and technically there is not much of security there. One can simply use an opensc library without that option to remove the UI requirement.

Comment 4 fgozalo0 2015-01-27 16:30:41 UTC
OK. I can rebuild opensc for my personal use.

Comment 5 Nikos Mavrogiannopoulos 2015-01-27 17:15:08 UTC
Please don't close it as easily. I'm trying to understand what is the issue. If possible please answer the questions in comment #3.

Comment 6 fgozalo0 2015-01-29 20:02:57 UTC
(In reply to Nikos Mavrogiannopoulos from comment #3)
> So do these signatures work if compiled without that option? As I understand
> from your description, this is a yes, even though there is no additional
> dialog. In that case, I am not sure we should enable that flag in fedora
> because we ship no consent application required by that flag, and
> technically there is not much of security there. One can simply use an
> opensc library without that option to remove the UI requirement.


You are right. I shouldn't have opened this bug.

I read about the UI requirement and is not a technical one but a political one. It seems the card issuer requires that this supplementary confirmation was embedded in the driver. So, every time you sign a document, you have to "OK|Cancel" this extra confirmation.

For example, suppose you use DNIe to sign your messages in Thunderbird. Without the option, the first time that Thunderbird signs a message will ask you for the PIN and since then every new message will be signed without your awareness/intervention. With the option, the first time that Thunderbird signs a message will ask you for the PIN and with every new message you will have to "OK|Cancel" this extra confirmation to sign it. So you couldn't say that the program has signed the message/document without your awareness.

Comment 7 Nikos Mavrogiannopoulos 2015-01-30 08:54:11 UTC
Ok, thank you. I'll close the bug in that case for the reasons stated above.


Note You need to log in before you can comment on or make changes to this bug.