Re: [openpgp] User ID Attribute Subpacket
"Derek Atkins" <derek@ihtfp.com> Mon, 04 March 2019 15:35 UTC
Return-Path: <derek@ihtfp.com>
X-Original-To: openpgp@ietfa.amsl.com
Delivered-To: openpgp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 083B712D861 for <openpgp@ietfa.amsl.com>; Mon, 4 Mar 2019 07:35:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.689
X-Spam-Level:
X-Spam-Status: No, score=-1.689 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, T_SPF_PERMERROR=0.01, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=ihtfp.com
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 CM2vGcCHxWnI for <openpgp@ietfa.amsl.com>; Mon, 4 Mar 2019 07:35:41 -0800 (PST)
Received: from mail2.ihtfp.org (MAIL2.IHTFP.ORG [204.107.200.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5ED2412D84D for <openpgp@ietf.org>; Mon, 4 Mar 2019 07:35:40 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by mail2.ihtfp.org (Postfix) with ESMTP id 912F4E2040; Mon, 4 Mar 2019 10:35:38 -0500 (EST)
Received: from mail2.ihtfp.org ([127.0.0.1]) by localhost (mail2.ihtfp.org [127.0.0.1]) (amavisd-maia, port 10024) with ESMTP id 18943-02; Mon, 4 Mar 2019 10:35:37 -0500 (EST)
Received: by mail2.ihtfp.org (Postfix, from userid 48) id 97226E2042; Mon, 4 Mar 2019 10:35:37 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ihtfp.com; s=default; t=1551713737; bh=12tpxo7HVEq4/vwJTEx3xOqHukgg8infhh2vWYwws50=; h=In-Reply-To:References:Date:Subject:From:To:Cc; b=g0SsY8T/Oan0/nGkmIN0hHji4oJWOi04DiP/PP+HzQTyARD2m6GCYZIwqLxlFeaqg kSUOeJors/iC3we6faSyf0IhZNuW5BFetz0aW0TQMISzWLAKBCLvonE3UoKkVrL11P HJaoRuO+wOUILqv8Fz87iGVJ+EjYhTA85N2jL170=
Received: from 99.46.190.172 (SquirrelMail authenticated user warlord) by mail2.ihtfp.org with HTTP; Mon, 4 Mar 2019 10:35:37 -0500
Message-ID: <48eadafb01b3c6e3872380cac3863c98.squirrel@mail2.ihtfp.org>
In-Reply-To: <CA+t5QVuWOpQ0=9=iZFrcTaH0b=O76vYuD0hXsKz3yj9kbQkEjg@mail.gmail.com>
References: <CA+t5QVsS871zG30dhW_GZ9ALq8bDASD-D3p0YQp9iGJEXUddmA@mail.gmail.com> <d34d0310-2851-dc4b-b5b3-79c7ec530e73@metacode.biz> <CA+t5QVsTATuw4pRhEdMOogh3YA237Rd2zOzzX3B3tZL04tfE0w@mail.gmail.com> <d7bf74c8-8415-da7a-4bf9-5bd455fb657e@metacode.biz> <sjmwolu30jc.fsf@securerf.ihtfp.org> <CA+t5QVuUEjR+6KmzPQJOZXaq3NhavMHa=qTMd8dQwdcT=2dwQQ@mail.gmail.com> <546b32d041f2cd0227aaa737f8841b26.squirrel@mail2.ihtfp.org> <CA+t5QVuWOpQ0=9=iZFrcTaH0b=O76vYuD0hXsKz3yj9kbQkEjg@mail.gmail.com>
Date: Mon, 04 Mar 2019 10:35:37 -0500
From: Derek Atkins <derek@ihtfp.com>
To: Justus Winter <justuswinter@gmail.com>
Cc: openpgp@ietf.org
User-Agent: SquirrelMail/1.4.22-14.fc20
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
X-Virus-Scanned: Maia Mailguard 1.0.2a
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/pwAs1wu--9OseNYkXs4Lu5UB0zs>
Subject: Re: [openpgp] User ID Attribute Subpacket
X-BeenThere: openpgp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Ongoing discussion of OpenPGP issues." <openpgp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/openpgp>, <mailto:openpgp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/openpgp/>
List-Post: <mailto:openpgp@ietf.org>
List-Help: <mailto:openpgp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/openpgp>, <mailto:openpgp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Mar 2019 15:35:42 -0000
On Mon, March 4, 2019 10:02 am, Justus Winter wrote: > > Given that in OpenPGP, Signatures have Subpackets, and your proposal > is also about adding notations, which is stored in said subpackets, "in > the > signatures" is too ambiguous to discuss the matter. Fair enough. In my mind (having been involved in PGP since 1992), it's pretty obvious, but I can understand your confusion. I will try to be a bit more concise. > I support dropping the requirement of a UserID or UserAttribute packet. The User Attribute packet was already optional -- it was only the UserID packet that was required. > I'm still confused by what you mean by "additional attributes". Your > proposal > states: > > Whereas the User ID Packet only > allows a single UTF-8 string content, the User Attribute Packet > allows the addition of multiple attributes in subtype packets. > Unfortunately RFC 4880 only defined a single Attribute Subpacket, the > Image Attribute. This means that you need two signatures if you want > to have an ID and an image. > > So your usecase is to have a UserAttribute packet, with a single UserID > subpacket, and one or more Image subpackets, bound by a single signature. > Is that correct? I'm confused by your confusion. What part of "additional attributes" do you not understand? I'm not trying to be a PITA here, but I'm honestly not understanding your confusion about what is meant here by what I said. But to answer your question, yes, I want to have a UserID and an Image with one binding signature -- and possibly additional future attribute subpackets, too. >> Note that you can already have multiple UserIDs on a key. If your main >> gripe is that you could have multiple User ID Attribute Subpackets bound >> by the same signature, I am fine if you want to limit that and say that >> an >> implementation MUST NOT (or SHOULD NOT) include more than one in a >> single >> Attribute packet. > > My gripe is that UserID subpackets seem redundant, therefore needlessly > complicating the standard, and neither this discussion, your draft, nor > the > language that ended up in draft-06 properly motivates the redundancy. It's not redundant, because you cannot, in 4880, have a userid + image bound by a single signature. It only SEEMS redundant to you because they are effectively performing similar operations, but as it currently stands you would have a UserID + signature, and then an Image + signature. So there is no way to do { UserID + Image } + signature using what's available in 4880. Therefore, it is not redundant. I should note that, having implemented this, the additional code to handle this is actually quite small! You can actually reuse a great deal, so really it's just a protocol number and an additional branch. >> 1) I want to enable a certificate where the primary key cannot sign > > Fine with me. > >> 2) I want to have a single binding signature that binds a User ID AND >> additional attributes > > This is what I don't understand. What don't you understand about it? >> 3) I want to enable a reduction in space consumption due to a bunch of >> notations that we use >> 4) I introduced some additional notation types which we use (and should >> be >> useful to others) > > Fine with me. > > Thanks, > Justus -derek -- Derek Atkins 617-623-3745 derek@ihtfp.com www.ihtfp.com Computer and Internet Security Consultant
- [openpgp] User ID Attribute Subpacket Justus Winter
- Re: [openpgp] User ID Attribute Subpacket Wiktor Kwapisiewicz
- Re: [openpgp] User ID Attribute Subpacket Justus Winter
- Re: [openpgp] User ID Attribute Subpacket Wiktor Kwapisiewicz
- Re: [openpgp] User ID Attribute Subpacket Derek Atkins
- Re: [openpgp] User ID Attribute Subpacket Wiktor Kwapisiewicz
- Re: [openpgp] User ID Attribute Subpacket Derek Atkins
- Re: [openpgp] User ID Attribute Subpacket Wiktor Kwapisiewicz
- Re: [openpgp] User ID Attribute Subpacket Derek Atkins
- Re: [openpgp] User ID Attribute Subpacket Justus Winter
- Re: [openpgp] User ID Attribute Subpacket Derek Atkins
- Re: [openpgp] User ID Attribute Subpacket Justus Winter
- Re: [openpgp] User ID Attribute Subpacket Derek Atkins
- Re: [openpgp] User ID Attribute Subpacket Justus Winter
- Re: [openpgp] User ID Attribute Subpacket Peter Pentchev
- Re: [openpgp] User ID Attribute Subpacket Justus Winter
- Re: [openpgp] User ID Attribute Subpacket Werner Koch