gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Enhancements for the PCSC driver


From: Pavel Kankovsky
Subject: Re: [PATCH] Enhancements for the PCSC driver
Date: Sun, 6 Apr 2008 13:04:11 +0200 (CEST)

On Mon, 31 Mar 2008, Daniele Forsi wrote:

> The actual problem with the SIM is that we turn off the cards after each
> use, while we obviously don't turn off phones but since leaving the SIM
> connected and unblocked is even less dangerous than leaving the phone in
> the same state so we can avoid that (replacing SCARD_UNPOWER_CARD with
> SCARD_LEAVE_CARD is enough to change this, I think).

I have tried it out and it works.

On the other hand SCARD_SHARE_SHARED esp. in the combination with
SCARD_LEAVE_CARD makes me somewhat nervous because it makes the unlocked
SIM accessible by any user. Phones might (or might not, it depends, but it
is at least possible) be protected by device permissions but pcscd is
unable to discriminate among users accessing the card (I admit it might 
be interpreted as a defect of pcscd).

-- 
Pavel Kankovsky aka Peak                          / Jeremiah 9:21        \
"For death is come up into our MS Windows(tm)..." \ 21th century edition /





reply via email to

[Prev in Thread] Current Thread [Next in Thread]