Re: [kitten] Permissible (and imp..) side-effects of GSS_Acquire_cred()

Nico Williams <nico@cryptonector.com> Thu, 19 March 2015 17:33 UTC

Return-Path: <nico@cryptonector.com>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AC6A11A873A for <kitten@ietfa.amsl.com>; Thu, 19 Mar 2015 10:33:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.666
X-Spam-Level:
X-Spam-Status: No, score=-1.666 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no
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 uI8YdWnwDb7d for <kitten@ietfa.amsl.com>; Thu, 19 Mar 2015 10:33:08 -0700 (PDT)
Received: from homiemail-a49.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) by ietfa.amsl.com (Postfix) with ESMTP id 79C321A701E for <kitten@ietf.org>; Thu, 19 Mar 2015 10:33:08 -0700 (PDT)
Received: from homiemail-a49.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a49.g.dreamhost.com (Postfix) with ESMTP id 193D3200D3094; Thu, 19 Mar 2015 10:33:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=+4TnQ/uN4Vem87 2N7VoMS0sBZt4=; b=ksvQOrx8YyFt2DXUZQWL3aae7ZwJB3WkP1mAbS75XpqfXj GhvbPSaK9gPJlYjqtnPovsV9z9myPwan/uxCpOKROgc8T58ilaUNcClutp6K/oNT 6FGYvLj4gqHOJi0VYKBSxDbXmkoAnnpza92dVeQvqTXB9uKDt1hnqc9XpDLIQ=
Received: from localhost (108-207-244-174.lightspeed.austtx.sbcglobal.net [108.207.244.174]) (Authenticated sender: nico@cryptonector.com) by homiemail-a49.g.dreamhost.com (Postfix) with ESMTPA id A359B200D3090; Thu, 19 Mar 2015 10:33:07 -0700 (PDT)
Date: Thu, 19 Mar 2015 12:33:06 -0500
From: Nico Williams <nico@cryptonector.com>
To: Simo Sorce <simo@redhat.com>
Message-ID: <20150319173305.GH8099@localhost>
References: <20150311001817.GC7286@localhost> <1426771934.2981.127.camel@willson.usersys.redhat.com> <20150319151718.GD8099@localhost> <1426778409.2981.129.camel@willson.usersys.redhat.com> <20150319162847.GG8099@localhost> <1426784686.2981.130.camel@willson.usersys.redhat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <1426784686.2981.130.camel@willson.usersys.redhat.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <http://mailarchive.ietf.org/arch/msg/kitten/lx3oyW9Kps8MgyYpd4b2c13DCd8>
Cc: kitten@ietf.org
Subject: Re: [kitten] Permissible (and imp..) side-effects of GSS_Acquire_cred()
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 19 Mar 2015 17:33:13 -0000

On Thu, Mar 19, 2015 at 01:04:46PM -0400, Simo Sorce wrote:
> Would you consider an explicitly set KRB5CCNAME env variable as an
> indication the admin is ok with acquired credentials ending up there ?
> Ie a) but using KRB5CCNAME presence as an indication a ccache can be
> used ?

That helps, though there can still be non-determinism when the ccache
does not exist yet.  (But if the admin/user set it, why wouldn't they
also kinit -k to remove all doubt?)