Re: [openpgp] Overhauling User IDs / Standardizing User Attributes (was: Re: Scoped trust (signatures))

Wiktor Kwapisiewicz <wiktor@metacode.biz> Mon, 02 July 2018 05:42 UTC

Return-Path: <wiktor@metacode.biz>
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 4E5AF130E23 for <openpgp@ietfa.amsl.com>; Sun, 1 Jul 2018 22:42:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=metacode.biz
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 ZYNfdrlTobTO for <openpgp@ietfa.amsl.com>; Sun, 1 Jul 2018 22:42:36 -0700 (PDT)
Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1168E130F76 for <openpgp@ietf.org>; Sun, 1 Jul 2018 22:42:35 -0700 (PDT)
Received: by mail-lj1-x22c.google.com with SMTP id t7-v6so11548295ljj.6 for <openpgp@ietf.org>; Sun, 01 Jul 2018 22:42:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=metacode.biz; s=2017; h=subject:to:cc:references:from:openpgp:autocrypt:organization :message-id:date:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=bTF8l/AAVzRqhbWC0712VE9LsFKCa2W8Ve/o89jak6c=; b=RJ+XiIn3M/HRvjqmTwEOUwufHoUsryEOOYLwsZOnncredqXSSGkKkORfm4gg9xvaxH s9KxGf/VvMkzbRNRbxUtO7tv7/+NF7Q+Saz6J1EKvvfJlD6UW4sqGnp7f14h14hK0Jwn EDIotkDpS+HHDQzHeR6epVm3jIqHDCwSCv1lofNOAbwVrZwbWb/0/HEx/aNM/PCezDoA D2HXezBRPxiWL5wzqPXilHHqY+ZeXVP5LLN6r2hoRlLYHCTzogCqDRs+3czWF0eHu6lt IjlP78q8d3b7XOpIl7um0K3iD92k8wUEKuKcr46jQzqyQwSyDsIlPSdoOyqHRjYwWqll I2aw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:autocrypt :organization:message-id:date:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=bTF8l/AAVzRqhbWC0712VE9LsFKCa2W8Ve/o89jak6c=; b=fEYwXp/8RRaXdV6qh5ip+DeP8QXJ4GcFXk/LgY7J3SAlR+mPkYSrplxGoI3An6Dt/w dTSiLnOaPzh5k6pCKM4NIQcrLeYr7WavSuSqU9y8TnCCpsOthVAUiW79s26Mj8O0YRHL zPMZiCRTnVREXBo/xdOJoDaoZpfmDBGlXDDWpZ2r71xGpDDhKmOoTMqB3Xqwxx+I33qL Ud7l78E5YT5hKp/zSjEbvPTyA4qQc/OiSRBlvFchom/vDA9s5XMUHNf3TiXkqVRxVYYX pBOYyEq7j+MZpKCaw8+9uLRab7hSfFYx6ymrzgInap2APOkJ8L1RhKrn+RVvufw2Mxsi m0yA==
X-Gm-Message-State: APt69E38UyHFK7rXIbt0lMto+pP9PotWSMZ4RQ1VIytElLOkup0xOYAu beEoDVJCWzV6esGcrj/IpLc4KDBISfw=
X-Google-Smtp-Source: AAOMgpepUCr4t0+OpWD4T/UvJs2mOTW2ZmXe4VkK27Up1+Kx569YH/8GTe7CSn/fKb5HjEk9KAxN4w==
X-Received: by 2002:a2e:9f4d:: with SMTP id v13-v6mr2153042ljk.42.1530510153437; Sun, 01 Jul 2018 22:42:33 -0700 (PDT)
Received: from ?IPv6:2a02:a317:4e3d:4680:4554:20f:5f09:8d7a? ([2a02:a317:4e3d:4680:4554:20f:5f09:8d7a]) by smtp.googlemail.com with ESMTPSA id i140-v6sm2203324lfg.54.2018.07.01.22.42.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 01 Jul 2018 22:42:32 -0700 (PDT)
To: Jon Callas <joncallas@icloud.com>
Cc: openpgp@ietf.org
References: <39e598e1-2bc0-32c9-3489-4bb6ca2a631b@leo.gaspard.ninja> <871sdw24yd.wl-neal@walfield.org> <c2e6bbe7-0694-8193-bb76-dd50fde7d967@leo.gaspard.ninja> <d28d8f8b-b261-eb29-97bc-9c7159a62ce6@leo.gaspard.ninja> <118e5b9d-de9e-aa14-d8b4-19ef259f3d0a@ruhr-uni-bochum.de> <e63924fe-95b2-dcf8-5726-b0497945ac74@leo.gaspard.ninja> <f31349e2-e509-4e06-6db5-2ff0ffb213a5@ruhr-uni-bochum.de> <3996841a-b6ae-8769-2de8-b35351c54719@leo.gaspard.ninja> <8E4410C7-9370-492C-838F-857983CA67FC@icloud.com> <8a608b9f-f96b-466d-a0b8-7d1aa39ab011@leo.gaspard.ninja> <D3567617-4B9B-4BFE-AC39-11B0BEBB0B6B@icloud.com> <1cacc056-1ec7-f388-ee08-46468bd87bda@metacode.biz> <7CA41263-1E09-4866-A89E-EB6F01797257@icloud.com>
From: Wiktor Kwapisiewicz <wiktor@metacode.biz>
Openpgp: id=653909A2F0E37C106F5FAF546C8857E0D8E8F074; url=https://metacode.biz/@wiktor/openpgp/key
Autocrypt: addr=wiktor@metacode.biz; keydata= xsFNBFhoYHoBEADzmg9UuwDrtvyejU01gDY1J1iJiCi4XGJ4lCfYeL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6j/U7sEWCW/YDlWSIyBWYg+j1k/aBczfL/oC9E9h8LOUUjjj3 vpRs2rHmIHT2aAvbRom1d4xaFh1kwn7sUKtc+0AoP5PCeBcfqMduunEPqsfsbmz1Dz+O5FJ7 LRG8YXyV+5YTT1pEuNjFm+GNBEvwhfJqN+H459ngMdZUkCyKwWLAMaJj6y9/ZJ8lrPLCjGDR p9FzhLg39gQqV5Vu41VyBr+9YucX/sWfQ1SuvWDMBnTKSOKX01RAHGvnOmtl3Vr4SqWDhFsO VdWluKugMiIdajKwgM9Bp+35O/l8QQbxxrRAy/TI+dB4w8Urn2oVPkAq8RgYJIzpYYUFnhKD EwcdoG8Lk2EqO60g9UR6tGVsW9/vYvVGHlm0kArIDF9o0zAo5wsuZE9kO4oneoIsCRLwjuZk bqQ+2V+8R3P5YkV8VogwwYPCAhkpGD/ACblux5ip1ilLWFm75Hj3aPkvJSWi5DfkoxzntZBM KrhpyhCKJFUPZovREteTzl8ns3/KvoUJ5VQF3HqXKw49sWrWSDHEugt9ERfCBzAuYl4WB7Qt xwe2q0voV3BFy8kd04NRiyJkBU0BeBHEHblrGY23
Organization: Metacode
Message-ID: <0d6a0960-cf40-9a5a-06e1-c6cbb74309e7@metacode.biz>
Date: Mon, 02 Jul 2018 07:42:29 +0200
MIME-Version: 1.0
In-Reply-To: <7CA41263-1E09-4866-A89E-EB6F01797257@icloud.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/hd8JJmwQ3TkUzjkCveOb5sbvo6I>
Subject: Re: [openpgp] Overhauling User IDs / Standardizing User Attributes (was: Re: Scoped trust (signatures))
X-BeenThere: openpgp@ietf.org
X-Mailman-Version: 2.1.26
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, 02 Jul 2018 05:42:45 -0000

>>  From what I've seen Keybase is not interested in purely OpenPGP solution - they want to keep the data on their site [0].
> 
> So it’s not worthwhile solving this problem? Or are you saying that because they are doing it no one else should do it in a standard way?

I'm saying Keybase - as a company - will not do it in a standard way, 
that's all, no hidden meaning there.

> I think it’s really cool that Keybase lets you authenticate these other networking points. And it sounds like this is at least part of the problem.

Yeah, I like it too. But you know what's really cool? That there already 
*is* an I-D for that but using OpenPGP:
https://tools.ietf.org/html/draft-vb-openpgp-linked-ids-01

I highly recommend reading that, it's already implemented and working in 
OpenKeychain. It uses User Attributes.

Actually I asked for it to get the proper User Attribute ID assigned:

https://www.ietf.org/mail-archive/web/openpgp/current/msg08913.html

It did not happen.

>> I didn't agree with him back then, but after longer thought I changed my opinion - user attributes do not have any fallback mechanism - either most software supports that custom special attribute or it's practically impossible to work with them (yes, they are supported, but displayed as an opaque string [4]). And I say this as a person that added this packet "by hand" and use it on my key.
> 
> I don’t agree with him now. This is *precisely* the sort of thing that User Attributes were created to solve.

Maybe that's just me but what's the difference between User Attribute 
that has value "https://github.com/wiktor-k" and a User ID that has 
value "https://github.com/wiktor-k"? I see only one - you can read the 
User ID just fine using existing frontends and UAT will be "opaque". 
User Attribute will have ID, right.

> Sure, but it means that you are using a generic text field in ways that are hard to parse. Why not define it?

I'm not opposed to defining it (actually I'd very much welcome that!). 
But the difference between User ID that has URI format and User 
Attribute that has URI format does not affect the difficulty of parsing 
(you still need to handle broken data in both cases).

Kind regards,
Wiktor