Re: slot attributes & last call

Jaroslav Imrich <jaroslav.imrich@gmail.com> Thu, 18 December 2014 00:23 UTC

Return-Path: <jaroslav.imrich@gmail.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 995F81A00AE; Wed, 17 Dec 2014 16:23:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-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 0eFl6WQk8Kee; Wed, 17 Dec 2014 16:23:03 -0800 (PST)
Received: from mail-ig0-x22f.google.com (mail-ig0-x22f.google.com [IPv6:2607:f8b0:4001:c05::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 26ABD1A0084; Wed, 17 Dec 2014 16:23:03 -0800 (PST)
Received: by mail-ig0-f175.google.com with SMTP id h15so29071igd.8; Wed, 17 Dec 2014 16:23:02 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=P/0NCOf0IDqBjIB7VQIAPtcIjXVBvuLc+bT+BoBE6eY=; b=VUOIBaC2P/fPU/YM0uH9+vmJKZxIW2fXOMyhWn4V2YyYnPbic7tgrfPVII6YO8mFWB pVh/6XHMC5FF+5Aoy/ss6LKyn4uXC2lFJqYD/pAFeXWhmuUpKV6l5Vxq63JtAq46u07A 6v4iUuBCDmL4BOTATvolnp/Z1SXNnRMogfCg1yuxBWx30nbhAGw7kNanPgxE+HSMcxK/ mmlm6Q51FWtrnNRaO+9GvfMdFzzucWLfdm1PyHU0BEf9eAR6hrepusLKA7WO3pwOZY23 zgz2ugBIPSxyyGIvUWOkZYGnW4M6U/z81WK8DxL8lXDjPMZGARusIm338jqaH50NOFue ZMNw==
MIME-Version: 1.0
X-Received: by 10.107.6.34 with SMTP id 34mr41769298iog.88.1418862182265; Wed, 17 Dec 2014 16:23:02 -0800 (PST)
Received: by 10.50.122.104 with HTTP; Wed, 17 Dec 2014 16:23:02 -0800 (PST)
In-Reply-To: <alpine.GSO.2.00.1412171614240.4549@keflavik>
References: <alpine.GSO.2.00.1412161359100.4549@keflavik> <CAB6OCMvGxT99cGGBSBbz=XU2+F1xRzBa97z6dY-qPSJk1GWXyQ@mail.gmail.com> <20141217230150.GB9443@localhost> <CAB6OCMvkPSfNYqftAgbcN5KrG7kxb5ooico205O6EffcsU8SwQ@mail.gmail.com> <20141218000736.GL9443@localhost> <alpine.GSO.2.00.1412171614240.4549@keflavik>
Date: Thu, 18 Dec 2014 01:23:02 +0100
Message-ID: <CAB6OCMsAdTarz5XBHgTnU=v9qweS5B6mk-tb7Gbf7kwkDFBDMg@mail.gmail.com>
Subject: Re: slot attributes & last call
From: Jaroslav Imrich <jaroslav.imrich@gmail.com>
To: Jan Pechanec <jan.pechanec@oracle.com>
Content-Type: multipart/alternative; boundary=001a113f9b745bf9ed050a72983a
Archived-At: http://mailarchive.ietf.org/arch/msg/ietf/hlUYx1-MN20rcOkH5s2TWSpSX0k
X-Mailman-Approved-At: Thu, 18 Dec 2014 08:27:05 -0800
Cc: Darren J Moffat <Darren.Moffat@oracle.com>, Stef Walter <stef@thewalter.net>, 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: Thu, 18 Dec 2014 00:23:04 -0000

On Thu, Dec 18, 2014 at 1:15 AM, Jan Pechanec <jan.pechanec@oracle.com>
wrote:
>
> On Wed, 17 Dec 2014, Nico Williams wrote:
>
> >> removable token and you cannot use slot-description, slot-manufacturer
> and
> >> neither of token attributes? So the only option left is:
> pkcs11:slot-id=2
> >> ???
> >
> >I think so.  This is really for Jan to answer.  Maybe the Solaris
> >libpkcs11 should just ensure a meaningful (stable and distinct) slot
> >label.  If that could be done then slot-id could be excluded here.
> >
> >Jan?
>
>         for example, metaslot on Solaris is always 0 so slot-id=0
> would be reliable there to use to access the soft token.  Jan.



And there is no other URI that could identify that slot without the slot-id
attribute? i.e. pkcs11:slot-description=metaslot

Regards, Jaroslav