Re: [P2PSIP] Identity certificate segregation [was Re: draft-ietf-p2psip-base publication to be requested]

Diego Suarez <loopp2psip@gmail.com> Sat, 02 July 2011 16:28 UTC

Return-Path: <loopp2psip@gmail.com>
X-Original-To: p2psip@ietfa.amsl.com
Delivered-To: p2psip@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3065511E808C for <p2psip@ietfa.amsl.com>; Sat, 2 Jul 2011 09:28:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level:
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UloNPb6fRFm0 for <p2psip@ietfa.amsl.com>; Sat, 2 Jul 2011 09:28:27 -0700 (PDT)
Received: from mail-wy0-f172.google.com (mail-wy0-f172.google.com [74.125.82.172]) by ietfa.amsl.com (Postfix) with ESMTP id 9CAB0228006 for <p2psip@ietf.org>; Sat, 2 Jul 2011 09:28:26 -0700 (PDT)
Received: by wyj26 with SMTP id 26so3152321wyj.31 for <p2psip@ietf.org>; Sat, 02 Jul 2011 09:28:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; bh=L+2sf0RNMAy1Whj/YyDClRDckWjkbXwSB0jWY+Mcgv4=; b=ByNAkguQwZAOqe9hfonYlMMrfpiAHpNNrgFpmazn+KCWZvTBhEKIV+DZOWaWbe0YPp dXjpxZJNOHrw9Fha5s2lzYhURtHejU4pvFq0TkR2FMZ+N9mXWcl2YMkA8Xu+oHt3hB7o rNvpH5Pb9W6G/LZX65cqIBbY8lP985qrAGfyw=
Received: by 10.227.182.2 with SMTP id ca2mr4009893wbb.89.1309624105579; Sat, 02 Jul 2011 09:28:25 -0700 (PDT)
Received: from [192.168.1.3] (96.134.16.95.dynamic.jazztel.es [95.16.134.96]) by mx.google.com with ESMTPS id fi5sm3106643wbb.5.2011.07.02.09.28.21 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 02 Jul 2011 09:28:23 -0700 (PDT)
From: Diego Suarez <loopp2psip@gmail.com>
To: Marc Petit-Huguenin <petithug@acm.org>
In-Reply-To: <4E0E4DBE.5060302@acm.org>
References: <BANLkTikuy8qpZ42Zod1YK2+iYv1ib6=Yag@mail.gmail.com> <1307629878.30919.87.camel@toedo> <4DF0FD49.3020505@acm.org> <1307641649.5184.17.camel@santeles> <4E0E4DBE.5060302@acm.org>
Content-Type: text/plain; charset="UTF-8"
Date: Sat, 02 Jul 2011 18:28:19 +0200
Message-ID: <1309624099.5232.23.camel@santeles>
Mime-Version: 1.0
X-Mailer: Evolution 2.28.3
Content-Transfer-Encoding: 8bit
Cc: P2PSIP WG <p2psip@ietf.org>
Subject: Re: [P2PSIP] Identity certificate segregation [was Re: draft-ietf-p2psip-base publication to be requested]
X-BeenThere: p2psip@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Peer-to-Peer SIP working group discussion list <p2psip.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/p2psip>, <mailto:p2psip-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/p2psip>
List-Post: <mailto:p2psip@ietf.org>
List-Help: <mailto:p2psip-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/p2psip>, <mailto:p2psip-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 02 Jul 2011 16:28:28 -0000

Hi,

>From my point of view, in this case the user has to both prove she is in
possession of the PKC that includes the required username and also prove
she is operating from the required node. However, modifying the
SignerIdentity to include multiple identities ( the user and the
device ) would not really prove that since only one signature could be
included (either the user's signature or the device's one). 

Therefore, I'd modify the SecurityBlock instead to allow the inclusion
of more than only one signature. 

For this case, the securityBlock would include two signatures. One with
the SignerIdentity of the user and the signature of the user's PKC
(including the username ) and another with the SignerIdentity of the
device and the signature of the device's PKC ( including the nodeID).

cheers


On Fri, 2011-07-01 at 15:44 -0700, Marc Petit-Huguenin wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi Diego,
> 
> How does this work with an access control policy like USER-NODE-MATCH, which
> requires both a Node-ID and a username in the SignerIdentity?  If the Node-ID
> and the username are in separate certificates, wouldn't that require to extend
> the SignerIdentity structure to store multiple identities?
> 
> Thanks.
> 
> On 06/09/2011 10:47 AM, Diego Suarez wrote:
> > I think it would require a (slight) modification in the base document.
> > Current P2PSIP certification model is based on a single PKC (including
> > both usernames and nodeIDs) that uniquely identifies a user and her
> > devices. On the other hand, our model is base on a split certification.
> > Devices and users are independent. Each device has its own PKC including
> > a nodeID and a PK. Similarly, each user has her own PKC including her
> > username and a PK. This approach do not prevent a centralized entity
> > (such as an offline CA) to have information related to the devices each
> > user (or company, etc.) has registered, but permits, among other
> > improvements, a user to be connected to the system through devices she
> > has not registered herself such as a phone issued by a telco or a fixed
> > phone in a laboratory shared by all the members of a research group.
> > 
> > 
> > On Thu, 2011-06-09 at 10:05 -0700, Marc Petit-Huguenin wrote:
> > Does this model really required modifications in the base document, or can it be
> > designed as an extension?  (Unfortunately the paper is not freely available, so
> > it is difficult to know really what is needed for this).
> > 
> > On 06/09/2011 07:31 AM, Diego Suarez wrote:
> >>>> Hi, 
> >>>>
> >>>> I had in mind writing a draft about this, but since I'm running out of
> >>>> time, I would like to summarize a new certification model for P2PSIP I
> >>>> have been working on, in case it is of interest for the group.
> >>>> Further details can be found in paper:
> >>>>
> >>>> D. Touceda, J. Camara, L. Villalba, and J. Marquez, Advantages of
> >>>> identity certificate segregation in P2PSIP systems, Communications,
> >>>> IET, vol. 5, pp. 879889, Apr. 2011.
> >>>>
> >>>>
> >>>> The idea is to split the certification of users and devices. Devices are
> >>>> identified by PKCs including a nodeID and the PK of the device, while
> >>>> users are identified by PKCs including a username and the PK of the
> >>>> user. Similar models have been used before in other communications
> >>>> systems, such as GSM where devices and users are separately represented
> >>>> by the international mobile equipment identity (IMEI) stored in the
> >>>> phones and the international mobile subscriber identity (IMSI) stored in
> >>>> the user subscriber identity module (SIM), respectively.
> >>>>
> >>>> Motivations of this model are:
> >>>>
> >>>> - Users and devices are different entities performing different
> >>>> roles within a P2PSIP system. Devices are nodes of the P2P
> >>>> overlay network (represented by a nodeID) that offer services
> >>>> (to route messages, to store data, . . .) to the system, while
> >>>> users (represented by an username) utilize these services,
> >>>> usually to establish media communications using SIP.
> >>>>
> >>>> - Support for mobility scenarios where a user may be logged at different
> >>>> devices at the same time using the same PKC.
> >>>>
> >>>> - Support several users to be logged in the same device (like a fixed
> >>>> phone) at the same time.
> >>>>
> >>>> - Support for user independent hard-coded devices.
> >>>>
> >>>> - Interoperability with SIP. SIP certificates are not valid in actual
> >>>> P2PSIP since they don't include a nodeID.
> >>>>
> >>>> cheers
> >>>>
> >>>> Diego Suárez
> >>>>
> >>>>
> >>>> On Wed, 2011-06-08 at 09:48 -0700, David A. Bryan wrote:
> >>>>> Unless something major comes up, we plan to request the newest version
> >>>>> of the base draft, draft-ietf-p2psip-base-15, be published. I'll put
> >>>>> in the request in a week (June 16th or 17th). If there are any further
> >>>>> comments from the last call a while ago (or further comments on the
> >>>>> comments since then), please send them to the list ASAP.
> >>>>>
> >>>>> Thanks,
> >>>>>
> >>>>> David (as chair)
> >>>>> _______________________________________________
> >>>>> P2PSIP mailing list
> >>>>> P2PSIP@ietf.org
> >>>>> https://www.ietf.org/mailman/listinfo/p2psip
> >>>>
> >>>>
> >>>> _______________________________________________
> >>>> P2PSIP mailing list
> >>>> P2PSIP@ietf.org
> >>>> https://www.ietf.org/mailman/listinfo/p2psip
> > 
> > 
> 
> - -- 
> Marc Petit-Huguenin
> Personal email: marc@petit-huguenin.org
> Professional email: petithug@acm.org
> Blog: http://blog.marc.petit-huguenin.org
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> 
> iEYEARECAAYFAk4OTbsACgkQ9RoMZyVa61fT2wCgqvIOHjARLO47zfHLRTYFrgt7
> XYYAn1tF6/fhwO0bfttpuy4ELx3c0kjC
> =NS7V
> -----END PGP SIGNATURE-----