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: Daniele Forsi
Subject: Re: [PATCH] Enhancements for the PCSC driver
Date: Sun, 6 Apr 2008 23:48:12 +0200
User-agent: KMail/1.9.7

On Sunday 06 April 2008, 13:04:11, Pavel wrote:

> 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.

you're right, it's insecure

I used SCARD_SHARE_SHARED thinking about the gnokiirc parameter use_locking = 
yes|no which is ok for libgnokii but it always permits other programs to 
access the card using libpcsclite directly
I think I'm going to change it to use SCARD_SHARE_SHARED when use_locking = no 
and SCARD_SHARE_EXCLUSIVE when use_locking = yes

> pcscd is
> unable to discriminate among users accessing the card

which would make sense
-- 
Daniele




reply via email to

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