Re: [openpgp] Another candidate pgp wg item: Media type

Werner Koch <wk@gnupg.org> Tue, 14 April 2015 20:21 UTC

Return-Path: <wk@gnupg.org>
X-Original-To: openpgp@ietfa.amsl.com
Delivered-To: openpgp@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 01C141AD2B2 for <openpgp@ietfa.amsl.com>; Tue, 14 Apr 2015 13:21:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level:
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5] autolearn=ham
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 yVAk50Eu477p for <openpgp@ietfa.amsl.com>; Tue, 14 Apr 2015 13:21:37 -0700 (PDT)
Received: from kerckhoffs.g10code.com (kerckhoffs.g10code.com [217.69.77.222]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F3E9F1AD272 for <openpgp@ietf.org>; Tue, 14 Apr 2015 13:21:36 -0700 (PDT)
Received: from uucp by kerckhoffs.g10code.com with local-rmail (Exim 4.80 #2 (Debian)) id 1Yi7Kx-0004bk-Av for <openpgp@ietf.org>; Tue, 14 Apr 2015 22:21:35 +0200
Received: from wk by vigenere.g10code.de with local (Exim 4.84 #3 (Debian)) id 1Yi7Ep-0000nJ-AD; Tue, 14 Apr 2015 22:15:15 +0200
From: Werner Koch <wk@gnupg.org>
To: Dominik Schuermann <dominik@dominikschuermann.de>
References: <CAHBU6isS1hmfEA6Q2u=QP=h86+kjr8C4pSmWwz_itzKxF75o-w@mail.gmail.com> <87vbh0hthv.fsf@vigenere.g10code.de> <552BFBEB.8040208@dominikschuermann.de> <87bniqej46.fsf@vigenere.g10code.de> <552D6377.1090507@dominikschuermann.de>
Organisation: g10 Code GmbH
X-message-flag: Mails containing HTML will not be read! Please send only plain text.
OpenPGP: id=F2AD85AC1E42B367; url=finger:wk@g10code.com
Mail-Followup-To: Dominik Schuermann <dominik@dominikschuermann.de>, openpgp@ietf.org
Date: Tue, 14 Apr 2015 22:15:15 +0200
In-Reply-To: <552D6377.1090507@dominikschuermann.de> (Dominik Schuermann's message of "Tue, 14 Apr 2015 20:59:03 +0200")
Message-ID: <87r3rmcvqk.fsf@vigenere.g10code.de>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Archived-At: <http://mailarchive.ietf.org/arch/msg/openpgp/nvXQaNkfXGO9jS7jMeLc2blK7rg>
Cc: openpgp@ietf.org
Subject: Re: [openpgp] Another candidate pgp wg item: Media type
X-BeenThere: openpgp@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Tue, 14 Apr 2015 20:21:39 -0000

On Tue, 14 Apr 2015 20:59, dominik@dominikschuermann.de said:

> model. So what MIME type should now be used to share this encrypted
> blob? Following the RFC3156 we use "application/octet-stream" but
> that's really unspecific. Recall that we are using no ASCII armor here.

Okay, so your comments are about PGP/MIME.  I assumed you were talking
about

  5.9.  Literal Data Packet (Tag 11)
     [...]
     - A one-octet field that describes how the data is formatted.

where we discussed to add an 'm' format to describe that the content is
a MIME message.

If you want to indicate that the content is some OpenPGP data you should
use the the MIME types "application/pgp-encrypted" etc. along with the
above suggested format specifier.  You can of course do the same at the
outer level.

What needs to be changed for this?  

Updating PGP/MIME to avoid the required multipart/encrypted container is
a topic we should discuss.



Shalom-Salam,

   Werner


-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.