Re: PKCS#11 URI slot attributes & last call

Jan Pechanec <jan.pechanec@oracle.com> Wed, 17 December 2014 23:17 UTC

Return-Path: <jan.pechanec@oracle.com>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 96A541A0012; Wed, 17 Dec 2014 15:17:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.21
X-Spam-Level:
X-Spam-Status: No, score=-4.21 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, UNPARSEABLE_RELAY=0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EzCRLW6CCpnj; Wed, 17 Dec 2014 15:17:52 -0800 (PST)
Received: from aserp1040.oracle.com (aserp1040.oracle.com [141.146.126.69]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DEA4D1A0007; Wed, 17 Dec 2014 15:17:51 -0800 (PST)
Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id sBHNHhqs014452 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 17 Dec 2014 23:17:44 GMT
Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by ucsinet22.oracle.com (8.14.5+Sun/8.14.5) with ESMTP id sBHNHgh7009868 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 17 Dec 2014 23:17:42 GMT
Received: from abhmp0020.oracle.com (abhmp0020.oracle.com [141.146.116.26]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id sBHNHfLc003231; Wed, 17 Dec 2014 23:17:41 GMT
Received: from keflavik.us.oracle.com (/10.132.148.214) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 17 Dec 2014 15:17:41 -0800
Date: Wed, 17 Dec 2014 15:17:40 -0800 (PST)
From: Jan Pechanec <jan.pechanec@oracle.com>
X-X-Sender: jpechane@keflavik
To: Nico Williams <nico@cryptonector.com>
Subject: Re: PKCS#11 URI slot attributes & last call
In-Reply-To: <20141217230150.GB9443@localhost>
Message-ID: <alpine.GSO.2.00.1412171513520.4549@keflavik>
References: <alpine.GSO.2.00.1412161359100.4549@keflavik> <CAB6OCMvGxT99cGGBSBbz=XU2+F1xRzBa97z6dY-qPSJk1GWXyQ@mail.gmail.com> <20141217230150.GB9443@localhost>
User-Agent: Alpine 2.00 (GSO 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Source-IP: ucsinet22.oracle.com [156.151.31.94]
Archived-At: http://mailarchive.ietf.org/arch/msg/ietf/sxaLMW2kjYj4lrkeYzBKXU2Y9zs
X-Mailman-Approved-At: Thu, 18 Dec 2014 08:25:00 -0800
Cc: Darren J Moffat <Darren.Moffat@oracle.com>, Stef Walter <stef@thewalter.net>, Jaroslav Imrich <jaroslav.imrich@gmail.com>, ietf@ietf.org, saag@ietf.org, Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietf/>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 17 Dec 2014 23:17:55 -0000

On Wed, 17 Dec 2014, Nico Williams wrote:

>> >         hi all, the draft is in the middle of the last call with
>> > comments to be sent till Dec 29.  There are a few nits to be fixed but
>> > we also got two independent inquiries about adding slot attributes.
>> > One is internal to Solaris, another is from an engineer who would like
>> > to replace some pam_pkcs11 module config attributes with one PKCS#11
>> > URI.  One of the attributes there is "slot_description" and apparently
>> > it's useful and being used there.
>> >
>> >         I think that having slot attributes is useful.
>> >
>> >         obvious choice is this:
>> >
>> > pk11-slot-desc        = "slot-description" "=" *pk11-pchar
>> > pk11-slot-manuf       = "slot-manufacturer" "=" *pk11-pchar
>> > pk11-slot-id          = "slot-id" "=" 1*DIGIT
>> >
>> 
>> I don't mind adding "slot-description" and "slot-manufacturer" if someone
>> finds them useful but I can't recommend adding "slot-id". I personally
>
>The cases I've seen where this is useful are ones where the PKCS#11
>provider library provides unified access to multiple types of
>slots/tokens, and the application is trying to obtain user credentials
>from a user's removable token (smartcard).

	I agree that if we add slot description and manufacturer 
attributes, we should add slot ID as well.

<...>

>I think the descriptions of these slot-specific attributes should be
>very explicit about their general unreliability, and they should explain
>when they can be useful.

	agreed.

	J.

-- 
Jan Pechanec <jan.pechanec@oracle.com>