[openpgp] Using DNS Handles with OpenPGP
Phillip Hallam-Baker <phill@hallambaker.com> Fri, 07 February 2025 21:30 UTC
Return-Path: <hallam@gmail.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 1840DC1D52E7 for <openpgp@ietfa.amsl.com>; Fri, 7 Feb 2025 13:30:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.643
X-Spam-Level:
X-Spam-Status: No, score=-1.643 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=no autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jqoaiRq6h0jZ for <openpgp@ietfa.amsl.com>; Fri, 7 Feb 2025 13:30:19 -0800 (PST)
Received: from mail-qv1-f45.google.com (mail-qv1-f45.google.com [209.85.219.45]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 46754C151092 for <openpgp@ietf.org>; Fri, 7 Feb 2025 13:30:08 -0800 (PST)
Received: by mail-qv1-f45.google.com with SMTP id 6a1803df08f44-6dd420f82e2so31783706d6.1 for <openpgp@ietf.org>; Fri, 07 Feb 2025 13:30:08 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738963807; x=1739568607; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=KW7OXb95qc3WC/Qn99J/7ANfC/PpWUVG/gyStRr+ESg=; b=RwreciA5HhQ3agf0F/ulHLmtSOCg+bkdWB5WzdT2d1LE+aNAt+cuH3Ds3Zos3NK1ou BW+Ij0jVxlNfkvjTcK2qkVEJQLFM1Bmggut4e+WPwq997iTro1b0kePnItMPTP0AVdja AYRdabFgQkwE/XvCVU5FJ97ttAwo7FH9JQ+Db4TsmxIFudABCfxZrp8O02Z/hcgFb8H7 Di7LMA66tcPrv3zCMvo3Wwovqzzs2ZX3FQtR8S7B5FzyjIncUPNo/PxN3tWsEveulkQD wRZPuJsNvH9m3TDHAq8SVs0vBPGtzXOyAe2/zR7uSC40E8IcyseYqaSMqEEjf3TfhY2c OLrQ==
X-Gm-Message-State: AOJu0YxNcduIm4PpUCHZzbHtsEeMXL316haAi/6g8p3tGk3S/cg8bGTf rmF1KNmui+Q/pyI9N/jPH0rv21OoFZH3OYQewrxwIloHjya7nQJ/Rwq7G5CO7RhEY1NnsVkO6kS Cfz89aYm+aCFxQDqouOROVnwUEUByi329
X-Gm-Gg: ASbGncseQW+s6Vnt4JEkpNXtpkf9CEJSHUo1TSZgGhiq+uvgCqXhj+BtkSGPdwqPGkr zvj6T6JEnLwKht0k04/oapq9r+yBaXRQF92xvb86kz8NYXk+9qV93tM91iM6nt+o0t9PLIxhIyQ ==
X-Google-Smtp-Source: AGHT+IFgqKiHjeEUjXI6L21aFeBDzrfM/gCyNeAn5ycff20U3zZwOCwlC+dAUbly0shWm/Of2mLk/iJNexVPDfFMOuU=
X-Received: by 2002:a05:6214:194d:b0:6e4:3fa5:468 with SMTP id 6a1803df08f44-6e44566ea33mr49458506d6.24.1738963806000; Fri, 07 Feb 2025 13:30:06 -0800 (PST)
MIME-Version: 1.0
From: Phillip Hallam-Baker <phill@hallambaker.com>
Date: Fri, 07 Feb 2025 16:29:54 -0500
X-Gm-Features: AWEUYZkgWZfTRGb5oNVMmlYfK9lsH2lRVnGXyYREKUhZvILKYkEqtFPGAdhHfBM
Message-ID: <CAMm+LwgxtvAhqqjCayqEzUcQcezJDLBTLW=Fza149vYGK=gheQ@mail.gmail.com>
To: IETF OpenPGP <openpgp@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000ef214b062d940fa6"
Message-ID-Hash: E2JGIQN54JAJX4KRA25TBOG6EO4O7XQU
X-Message-ID-Hash: E2JGIQN54JAJX4KRA25TBOG6EO4O7XQU
X-MailFrom: hallam@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-openpgp.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [openpgp] Using DNS Handles with OpenPGP
List-Id: "Ongoing discussion of OpenPGP issues." <openpgp.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/wimqhSK2MqbPP8bYCBEtJRQVVTI>
List-Archive: <https://mailarchive.ietf.org/arch/browse/openpgp>
List-Help: <mailto:openpgp-request@ietf.org?subject=help>
List-Owner: <mailto:openpgp-owner@ietf.org>
List-Post: <mailto:openpgp@ietf.org>
List-Subscribe: <mailto:openpgp-join@ietf.org>
List-Unsubscribe: <mailto:openpgp-leave@ietf.org>
As some of you probably know, Blue Sky has been very successfully applying two IETF technologies to create an open authentication system for the Web and have gained over 30 million members in their first year. I have a proposal for OpenPGP I would like to run by folks here. My original handle was one they maintained for me @hallam.bsky.social, but the part after the @ is just a DNS name that is bound to the Blue Sky ATmosphere protocol gubbins by means of a prefixed TXT record. So I quickly changed my handle to @phill.hallambaker.com: _atproto.phill.hallambaker.com. IN TXT "did=did:plc:k647x4n6h3jm347u3t5cm6ki" I have wanted to do end to end secure social media for a long time. As in 'all the content on the server is encrypted Mr Starmer and the service does not have decryption keys'. And this mechanism gives me a means of making it possible for any of those 30 million users to comment on my personal place on the Web: https://phill.hallambaker.com/ So what has this got to do with OpenPGP you ask? Well they have built a user base that is 30 million strong in a year. They have momentum, so how can we ride that momentum to power adoption of end-to-end secure everything? One way would be to put OpenPGP keys in the DNS alongside the handle: _openpgp.phill.hallambaker.com. IN TXT "email=phb@example.com fp= E5B8-247A-F8A6-19A2-8F90--FDFC-9FF2-5980-F5BA-7E4F" That has obvious usability problems. Putting data into the DNS as a one off thing is practical for end users. Expecting them to maintain information in the DNS is pretty hopeless. And I get enough spam already. So putting OpenPGP keys into the DNS directly seems like a bad idea. Better to use signed contacts and put the root of trust for the contact manager into the DNS: _mesh.phill.hallambaker.com. IN TXT "dsa=mbqn-a3es-zbye-xp3o-w6et-pqug-go5v@ @example.com" So what this does is bind my DNS handle to my Mesh direct service address which is a root-o-trust/service address pair. And then people can do a fetch to get my public contact assertion signed under that root o' trust and verify it. If my zone is DNSSEC signed, we have a fairly solid trust path for establishing TOFU. And that contact assertion would hold my SSH credentials OpenPGP credentials, etc. etc. Right now I am just transferring the IANA protocol names into my JSON serialization. So the idea here is that we bridge from the DNS handle @ phill.hallambaker.com to a signed assertion that provides all the credentials you might use to talk to me. I might not want to put my email address in a public record but I could certainly put the hash of my email address in my public contact for matching purposes and put the plaintext address in private records I only pass out to people after I have approved communication with them. So the goal here is to make it possible to use @phill.hallambaker.com to establish any sort of end-to-end secure interaction with me - mail, messaging, data drop, voice, video. My goal is to establish a situation where whenever someone uses the DNS handle, they know they are getting the best available security and that besides end-to-end encryption, we achieve end-to-end trust. The counterparty keys will always be verified against the credentials in the contact entries. So if Alice is going to send a mail message to Bob, the mail client looks at the client and sees that Bob always accepts OpenPGP over SMTP. More importantly, if Alice is joining my development team, she publishes her SSH public key, her OpenPGP git commit key and her code signing keys. So how do I distinguish the OpenPGP keys for SMTP and the keys for git commit? Or do I just say it is a public key and git is the 'protocol'?
- [openpgp] Using DNS Handles with OpenPGP Phillip Hallam-Baker
- [openpgp] Re: Using DNS Handles with OpenPGP Andrew Gallagher
- [openpgp] Re: Using DNS Handles with OpenPGP Phillip Hallam-Baker