Re: [openpgp] Can the OpenPGP vs. S/MIME situation be fixed?

Peter Gutmann <pgut001@cs.auckland.ac.nz> Sat, 02 July 2016 15:09 UTC

Return-Path: <pgut001@cs.auckland.ac.nz>
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 7FDCB12D0C3 for <openpgp@ietfa.amsl.com>; Sat, 2 Jul 2016 08:09:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.626
X-Spam-Level:
X-Spam-Status: No, score=-5.626 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-1.426] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=auckland.ac.nz
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 bZDhhiqNM9PL for <openpgp@ietfa.amsl.com>; Sat, 2 Jul 2016 08:08:58 -0700 (PDT)
Received: from mx4.auckland.ac.nz (mx4.auckland.ac.nz [130.216.125.248]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7FA0912D08E for <openpgp@ietf.org>; Sat, 2 Jul 2016 08:08:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=auckland.ac.nz; i=@auckland.ac.nz; q=dns/txt; s=mail; t=1467472138; x=1499008138; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=EZ8b16AA7ZPrCjq5QArqX6Q0I4uoC7sycESDmy4Pm4I=; b=KDrybgXoEOnUHVHxjyoYIdx9dhb9RCnXKkOhbnG58LTfic8DCmS+Xj3v N40KwS8fDyEpVUMvjr30VgJ8amcf9PhVtZDT0C1y867OguzAAu8hEYYbJ 7v5RwA4lMPjyqB8HqUtK/s7EWY7MCFjpwelG3nDznhceApVh9Ks378aiY zGXATibvsIUE2fiIC06y9exRh0BkpBahv3cGeO5wOolLNuNCzXf6tQtjC 8nvpW4Hl5P1dkkqhXElOeiqhr3k4gxy9ToqIOOBh4qgNbeLtqavuVRWrV cvjRbR6TQ5HIy/grr7RtwJYQjgAu3mL16rfAkuiqKpK7nChjQ9TdSQn3I Q==;
X-IronPort-AV: E=Sophos;i="5.26,563,1459771200"; d="scan'208";a="94530343"
X-Ironport-HAT: MAIL-SERVERS - $RELAYED
X-Ironport-Source: 130.216.4.171 - Outgoing - Outgoing
Received: from uxchange10-fe4.uoa.auckland.ac.nz ([130.216.4.171]) by mx4-int.auckland.ac.nz with ESMTP/TLS/AES256-SHA; 03 Jul 2016 03:08:56 +1200
Received: from UXCN10-5.UoA.auckland.ac.nz ([169.254.5.93]) by uxchange10-fe4.UoA.auckland.ac.nz ([169.254.109.63]) with mapi id 14.03.0266.001; Sun, 3 Jul 2016 03:08:56 +1200
From: Peter Gutmann <pgut001@cs.auckland.ac.nz>
To: Phillip Hallam-Baker <phill@hallambaker.com>, Derek Atkins <derek@ihtfp.com>
Thread-Topic: [openpgp] Can the OpenPGP vs. S/MIME situation be fixed?
Thread-Index: AQHR050jpR81NF3KlE2UhFa6MyYJKaADrkB6//9SRwCAAj8/3Q==
Date: Sat, 2 Jul 2016 15:08:55 +0000
Message-ID: <9A043F3CF02CD34C8E74AC1594475C73F4CB8706@uxcn10-5.UoA.auckland.ac.nz>
References: <20160701153304.332d2c95@pc1> <sjmwpl5qtqy.fsf@securerf.ihtfp.org>, <CAMm+LwjGZeZTpUjOp_McDrp6cMQQn=Sy6Wp+Ti5M--V4vnMDqw@mail.gmail.com>
In-Reply-To: <CAMm+LwjGZeZTpUjOp_McDrp6cMQQn=Sy6Wp+Ti5M--V4vnMDqw@mail.gmail.com>
Accept-Language: en-NZ, en-GB, en-US
Content-Language: en-NZ
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.6.3.2]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/lBvNwOLBu7sY3gcGPPXSum0y6D4>
Cc: IETF OpenPGP <openpgp@ietf.org>, =?iso-8859-1?Q?Hanno_B=F6ck?= <hanno@hboeck.de>
Subject: Re: [openpgp] Can the OpenPGP vs. S/MIME situation be fixed?
X-BeenThere: openpgp@ietf.org
X-Mailman-Version: 2.1.17
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: Sat, 02 Jul 2016 15:09:02 -0000

Phillip Hallam-Baker <phill@hallambaker.com> writes:

>I have wanted this for a long time. there are actually three separate
>problems to be solved.
>
>1) How to make S/MIME work with OpenPGP credentials
>
>2) How to make OpenPGP work with S/MIME credentials
>
>3) How to merge the two specifications into one.

The first two are pretty easy, I've been doing that for years.  For S/MIME,
use the subjectKeyIdentifier form of the key ID.  For PGP, use an
issuerAndSerialNumber in a type-and-value subpacket.

The third is impossible.  While at an abstract level PGP and S/MIME do the
same thing, the bit-bagging formats used to encode the abstraction are
completely incompatible.  You can't make them compatible without either moving
S/MIME to the PGP format or PGP to the S/MIME format.  I can't see either of
those happening...

Peter.