public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [RFC] name of smartcard support USE flag
@ 2015-12-13 16:20 Gilles Dartiguelongue
  2015-12-13 16:25 ` Alon Bar-Lev
  0 siblings, 1 reply; 5+ messages in thread
From: Gilles Dartiguelongue @ 2015-12-13 16:20 UTC (permalink / raw)
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 648 bytes --]

I was trying to cleanup my local USE flag settings and stumbled on the
following three: smartcard, pcsc-lite and pkcs11.

Knowing all 3 are related, I greped use.local.desc to see what each
meant for different packages. To sum up what I found:
 * pcsc-lite is basically: enable smartcard support through <pkg>sys-
apps/pcsc-lite</pkg>
 * pkcs11: enabled PKCS#11 (smartcard) via $pkg

These look like the same thing to me so I propose we merge them all
into USE=smartcard as this is the feature being enabled, not the lib or
the standard being used to access the hardware if any.

-- 
Gilles Dartiguelongue <eva@gentoo.org>
Gentoo

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] [RFC] name of smartcard support USE flag
  2015-12-13 16:20 [gentoo-dev] [RFC] name of smartcard support USE flag Gilles Dartiguelongue
@ 2015-12-13 16:25 ` Alon Bar-Lev
  2015-12-13 17:28   ` Gilles Dartiguelongue
  0 siblings, 1 reply; 5+ messages in thread
From: Alon Bar-Lev @ 2015-12-13 16:25 UTC (permalink / raw)
  To: gentoo-dev

On 13 December 2015 at 18:20, Gilles Dartiguelongue <eva@gentoo.org> wrote:
>
> I was trying to cleanup my local USE flag settings and stumbled on the
> following three: smartcard, pcsc-lite and pkcs11.
>
> Knowing all 3 are related, I greped use.local.desc to see what each
> meant for different packages. To sum up what I found:
>  * pcsc-lite is basically: enable smartcard support through <pkg>sys-
> apps/pcsc-lite</pkg>
>  * pkcs11: enabled PKCS#11 (smartcard) via $pkg
>
> These look like the same thing to me so I propose we merge them all
> into USE=smartcard as this is the feature being enabled, not the lib or
> the standard being used to access the hardware if any.

pcsc-lite and PKCS#11 interfaces are both related to smartcards but
different unrelated interfaces. I am unsure merging them will serve
the purpose for applications that are capable of supporting more than
one interface.

also, please notice that PKCS#11 is not all about smartcards, but an
interface to any cryptographic hardware.

Regards,
Alon


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] [RFC] name of smartcard support USE flag
  2015-12-13 16:25 ` Alon Bar-Lev
@ 2015-12-13 17:28   ` Gilles Dartiguelongue
  2015-12-13 17:30     ` Alon Bar-Lev
  0 siblings, 1 reply; 5+ messages in thread
From: Gilles Dartiguelongue @ 2015-12-13 17:28 UTC (permalink / raw)
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1576 bytes --]

Le dimanche 13 décembre 2015 à 18:25 +0200, Alon Bar-Lev a écrit :
> On 13 December 2015 at 18:20, Gilles Dartiguelongue <eva@gentoo.org>
> wrote:
> > 
> > I was trying to cleanup my local USE flag settings and stumbled on
> > the
> > following three: smartcard, pcsc-lite and pkcs11.
> > 
> > Knowing all 3 are related, I greped use.local.desc to see what each
> > meant for different packages. To sum up what I found:
> >  * pcsc-lite is basically: enable smartcard support through
> > <pkg>sys-
> > apps/pcsc-lite</pkg>
> >  * pkcs11: enabled PKCS#11 (smartcard) via $pkg
> > 
> > These look like the same thing to me so I propose we merge them all
> > into USE=smartcard as this is the feature being enabled, not the
> > lib or
> > the standard being used to access the hardware if any.
> 
> pcsc-lite and PKCS#11 interfaces are both related to smartcards but
> different unrelated interfaces. I am unsure merging them will serve
> the purpose for applications that are capable of supporting more than
> one interface.

> also, please notice that PKCS#11 is not all about smartcards, but an
> interface to any cryptographic hardware.

I agree with your points, my point is that it seems most of the time,
both use flags are used in place of smartcard (or another name if this
one does not fit in your opinion).

According to local description, app-mobilephone/gnoki, net-
libs/libosmocore and net-misc/rdesktop at least should be using
USE=smartcard instead of USE=pcsc-lite

-- 
Gilles Dartiguelongue <eva@gentoo.org>
Gentoo

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] [RFC] name of smartcard support USE flag
  2015-12-13 17:28   ` Gilles Dartiguelongue
@ 2015-12-13 17:30     ` Alon Bar-Lev
  2015-12-13 17:31       ` Alon Bar-Lev
  0 siblings, 1 reply; 5+ messages in thread
From: Alon Bar-Lev @ 2015-12-13 17:30 UTC (permalink / raw)
  To: gentoo-dev

On 13 December 2015 at 19:28, Gilles Dartiguelongue <eva@gentoo.org> wrote:
> Le dimanche 13 décembre 2015 à 18:25 +0200, Alon Bar-Lev a écrit :
>> On 13 December 2015 at 18:20, Gilles Dartiguelongue <eva@gentoo.org>
>> wrote:
>> >
>> > I was trying to cleanup my local USE flag settings and stumbled on
>> > the
>> > following three: smartcard, pcsc-lite and pkcs11.
>> >
>> > Knowing all 3 are related, I greped use.local.desc to see what each
>> > meant for different packages. To sum up what I found:
>> >  * pcsc-lite is basically: enable smartcard support through
>> > <pkg>sys-
>> > apps/pcsc-lite</pkg>
>> >  * pkcs11: enabled PKCS#11 (smartcard) via $pkg
>> >
>> > These look like the same thing to me so I propose we merge them all
>> > into USE=smartcard as this is the feature being enabled, not the
>> > lib or
>> > the standard being used to access the hardware if any.
>>
>> pcsc-lite and PKCS#11 interfaces are both related to smartcards but
>> different unrelated interfaces. I am unsure merging them will serve
>> the purpose for applications that are capable of supporting more than
>> one interface.
>
>> also, please notice that PKCS#11 is not all about smartcards, but an
>> interface to any cryptographic hardware.
>
> I agree with your points, my point is that it seems most of the time,
> both use flags are used in place of smartcard (or another name if this
> one does not fit in your opinion).
>
> According to local description, app-mobilephone/gnoki, net-
> libs/libosmocore and net-misc/rdesktop at least should be using
> USE=smartcard instead of USE=pcsc-lite

rdesktop - I agree.
I do not know the other packages.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] [RFC] name of smartcard support USE flag
  2015-12-13 17:30     ` Alon Bar-Lev
@ 2015-12-13 17:31       ` Alon Bar-Lev
  0 siblings, 0 replies; 5+ messages in thread
From: Alon Bar-Lev @ 2015-12-13 17:31 UTC (permalink / raw)
  To: gentoo-dev

On 13 December 2015 at 19:30, Alon Bar-Lev <alonbl@gentoo.org> wrote:
> On 13 December 2015 at 19:28, Gilles Dartiguelongue <eva@gentoo.org> wrote:
>> Le dimanche 13 décembre 2015 à 18:25 +0200, Alon Bar-Lev a écrit :
>>> On 13 December 2015 at 18:20, Gilles Dartiguelongue <eva@gentoo.org>
>>> wrote:
>>> >
>>> > I was trying to cleanup my local USE flag settings and stumbled on
>>> > the
>>> > following three: smartcard, pcsc-lite and pkcs11.
>>> >
>>> > Knowing all 3 are related, I greped use.local.desc to see what each
>>> > meant for different packages. To sum up what I found:
>>> >  * pcsc-lite is basically: enable smartcard support through
>>> > <pkg>sys-
>>> > apps/pcsc-lite</pkg>
>>> >  * pkcs11: enabled PKCS#11 (smartcard) via $pkg
>>> >
>>> > These look like the same thing to me so I propose we merge them all
>>> > into USE=smartcard as this is the feature being enabled, not the
>>> > lib or
>>> > the standard being used to access the hardware if any.
>>>
>>> pcsc-lite and PKCS#11 interfaces are both related to smartcards but
>>> different unrelated interfaces. I am unsure merging them will serve
>>> the purpose for applications that are capable of supporting more than
>>> one interface.
>>
>>> also, please notice that PKCS#11 is not all about smartcards, but an
>>> interface to any cryptographic hardware.
>>
>> I agree with your points, my point is that it seems most of the time,
>> both use flags are used in place of smartcard (or another name if this
>> one does not fit in your opinion).
>>
>> According to local description, app-mobilephone/gnoki, net-
>> libs/libosmocore and net-misc/rdesktop at least should be using
>> USE=smartcard instead of USE=pcsc-lite
>
> rdesktop - I agree.

BTW: why don't you use net-misc/freerdp, works better to me and does
have smartcard USE :)

> I do not know the other packages.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-12-13 17:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-13 16:20 [gentoo-dev] [RFC] name of smartcard support USE flag Gilles Dartiguelongue
2015-12-13 16:25 ` Alon Bar-Lev
2015-12-13 17:28   ` Gilles Dartiguelongue
2015-12-13 17:30     ` Alon Bar-Lev
2015-12-13 17:31       ` Alon Bar-Lev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox