[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[openpgp] comments on draft-mccain-keylist-02
- To: openpgp@xxxxxxxx
- Subject: [openpgp] comments on draft-mccain-keylist-02
- From: Paul Wouters <paul@xxxxxxxxx>
- Date: Tue, 12 Feb 2019 21:32:54 -0500 (EST)
- Archived-at: <https://mailarchive.ietf.org/arch/msg/openpgp/1u5ExyNShfJw6o32BbyqjS4lSBA>
- Authentication-results: mx.cert.uni-stuttgart.de; dkim=fail, header.d=nohats.ca email@example.com
- Authentication-results: mx.cert.uni-stuttgart.de; dkim=pass, header.d=ietf.org firstname.lastname@example.org
- Authentication-results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nohats.ca
- Cc: micah.lee@xxxxxxxxxxxxxxxx, email@example.com
- Dkim-filter: OpenDKIM Filter v2.11.0 bofh.nohats.ca 63A04A7E0C
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1550025194; bh=OHurBIge09ZUE+vwd7sSF5zWNzu1DMmqF35YNzgHT/s=; h=Date:From:To:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:Cc; b=w01lEuvce5UQBUtXjZIw2J9NjTrKyMDwDamVjPEcvRO8GTscHq5mRkTpwqbHrWEEY 34ZFGOKJpwDCVh3yYfrjJZWPEEGBs6yU1niBGYXgVbj/CG7O7FQzY2tP9qwE/nilc+ tulR4bdQLuyRlWBBeKay/tml4/StHaHtweE9Yt9I=
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1550025186; bh=OHurBIge09ZUE+vwd7sSF5zWNzu1DMmqF35YNzgHT/s=; h=Date:From:To:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:Cc; b=qGuNtk/pusbc8OEowEwKJm9w/YGnGe05VO43AgKMgFhvHjXy3L/HT/odFdhM/tc0a 6CYBUb4kwgbwf4c8SjyWe5CTR66COigj+MUHhZKKD0prG1z8Drt1euip63W6efMwAW Tx2YoXK+hbe+Taha5OcUPWbCTii35+/z4WK3NOY0=
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nohats.ca; s=default; t=1550025178; bh=uWZdk7SjKp+2y5IWgjkN2zkx3govtOV+1DT3utgBA0o=; h=Date:From:To:cc:Subject; b=PpbNWaRCI6aFZwOBCOHLmMXYoGdAMttm1czluymKrYEVs2wa3xNfShTDwuNN+D6M1 93eWWI46N/NiWSe5Hp449A98wpkJFlC7DXCYDu4Xmity4IyLyMzaDo8CYmpTdtiQ7G glZ907kXRhEG3CqWlX70UvkZ4eZ24UcCfAYCcGdc=
- List-archive: <https://mailarchive.ietf.org/arch/browse/openpgp/>
- List-help: <mailto:firstname.lastname@example.org?subject=help>
- List-id: "Ongoing discussion of OpenPGP issues." <openpgp.ietf.org>
- List-post: <mailto:email@example.com>
- List-subscribe: <https://www.ietf.org/mailman/listinfo/openpgp>, <mailto:firstname.lastname@example.org?subject=subscribe>
- List-unsubscribe: <https://www.ietf.org/mailman/options/openpgp>, <mailto:email@example.com?subject=unsubscribe>
- Sender: "openpgp" <openpgp-bounces@xxxxxxxx>
- User-agent: Alpine 2.21 (LRH 202 2017-01-01)
Via twitter I noticed this draft:
I have some comments on the draft. I've added the authors to the CC:
since I'm not sure if they are on this list.
First a procedural item. Section 1.3 states:
1.3. Note to Readers
RFC Editor: please remove this section prior to publication.
Development of this Internet draft takes place on GitHub at Keylist-
A mailing list is available for discussion at Keylists mailing list
I just wanted to share with the authors that this is not the way one
writes RFCs. RFC's and the IETF are covered by rules, such as the Note
Well. Please see https://www.ietf.org/about/note-well/
This is important because everyone discussing this draft on this list is
expected to fall under the rules of the Note Well, meaning they cannot
go out and get a patent and not mention anything until this document is
an RFC, and then start charging money. And discussion at an external
site as the draft authors suggest, is not protected by this mechanism.
Furthermore, IETF carefully archives all mailinglist messages which can
later also be used in discovery but also for late-comers to the
discussion. If an outside website suddenly vanishes, all this
information is lost. Finally, IETF has Chairs and a Sergant-at-arms to
guide any on-list discussion. elsewhere, we fall under other possibly
arbitrary rules. I'm not saying your suggested locations are (I didn't
go there) but as a rule discussions on internet drafts happen on
internet lists. Work elsewhere is brought back to the IETF. Eg you can
make a pull request on github but you discuss this on an IETF list.
Now to the draft itself,
Section 2 talks about subscribing to "key lists", where a "key list" is
defined as an URI to something and a fingerprint of a public key that is
authorative for this list.
Section 2.2 talks about regularly updating the key list, and performing
daily checks at the URI. I think this could be a privacy issue, and one
could track a traveling journalist based on their key list sync checks.
The key list is a JSON format that can contain a reference to an
external key server. This also sounds a bit dangerous to me. Instead of
all clients forking out to possibly many key server locations, why isn't
the "key list" simply an openpgp format public keyring, with trust
attributes set properly by the "management key" ? Clients can HEAD the
file and if there is an update, GET the file via HTTP and import the
updates. I don't understand why there is indirection allowed or required
in this idea.
Because no openpg keyring format is used, this "key list" needs to be
separately signed by the management pgp key. It adds another level of
indirection that could be avoided. If I have sufficient "trust" set
in my personal keyring to trust updates from the manager key, then
I can get the updated in openpgp format without further new protocols
The "key list" contains comments such as an signature_uri that allows
the key list URI and the signature to be located on different systems?
Why would that ever be useful or more secure than doing a cleartext
signature on the file itself hosted on the same server as the key
list file itself?
A key list entry contains a fingerprint, name and email field? So in
essence, this becomes a meta key-server. Why give participants all
these indirections, instead of just providing the openpgp keyring
Why is the key list not optionally (but hopefully) encryped to the
participants to avoid a privacy leak to anyone who obtains the key list
A key list entry has concept of a last updated time stamp. Does this
mean that every "sync" I go out to all individual key servers to get
keys from all participants just in case they might have updated their
keys on the keyserver / fileserver of their choice? It seems this
process is an ideal process for the centralized manager key to perform,
instead of all participants?
The "in practise" section is usually called the Impliementation Status
section. Please see https://tools.ietf.org/html/rfc7942 on how to write
these. (for example, to avoid publishing it in the final RFC)
The security considerations usually does not contain the benefits. Those
are the features offered and described in the document itself. This
section deals more with the concerns or practical issues or general
safe practises one has to keep in mind. Usually with a focus on
implementors more than endusers. For guidelines on how to write a
Security Consideration section, see https://tools.ietf.org/html/rfc3552
The three benefits listed do not convey to me why this solution with a
level on indirection is better suited that using a openpgp keyring
at the location.
I would rewrite 5.2 a bit. Yes the security of this system is only as
strong as the security of the manager key. But how does one convey this
management key? How is this key verified? What to do when the key IDs
are different? What to do when the key list can be obtained but not
the individual key servers listed for some participants. How often to
retry? when to warn the user? How does one recover from a management
key loss or compromise? How does the manager / key talk to its users
The biggest problem though is that I see no attempt at providing
confidentiality for a key list. Anyone with the URI can get the list
Why not introduce a .well-known location that any organisation can
use, so we could try and find key lists for organisations we never
talked to before. Perhaps specify a mechanism on how to verify an
organisational management key?
What to do when the email on the key list points to a key lacking that
key ID ?
Why not use https://wiki.gnupg.org/WKD ?
Why not use OPENPGPKEY DNS records?
While automatic sync is a nice feature, over-syncing is a privacy risk,
especially for people who are trying to remain anonymous.
All in all, this seems like an interesting application, and worth
further discussion (on this list). I am not yet convinced this is
an protocol issue and not an application issue.
openpgp mailing list