[openpgp] [internet-drafts@ietf.org] New Version Notification for draft-dkg-openpgp-stateless-cli-02.txt

Daniel Kahn Gillmor <dkg@fifthhorseman.net> Sat, 07 March 2020 03:13 UTC

Return-Path: <dkg@fifthhorseman.net>
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 E2D333A110E for <openpgp@ietfa.amsl.com>; Fri, 6 Mar 2020 19:13:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=neutral reason="invalid (unsupported algorithm ed25519-sha256)" header.d=fifthhorseman.net header.b=RaaWd137; dkim=pass (2048-bit key) header.d=fifthhorseman.net header.b=gsiaAiJY
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 o2AY7LjoNbWT for <openpgp@ietfa.amsl.com>; Fri, 6 Mar 2020 19:13:19 -0800 (PST)
Received: from che.mayfirst.org (che.mayfirst.org [IPv6:2001:470:1:116::7]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DAE283A110D for <openpgp@ietf.org>; Fri, 6 Mar 2020 19:13:18 -0800 (PST)
DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/simple; d=fifthhorseman.net; i=@fifthhorseman.net; q=dns/txt; s=2019; t=1583550797; h=from : to : subject : references : date : message-id : mime-version : content-type : from; bh=FXCMzHJ2skdal6nInCXkqGfxMSjvfKoROZRwBOExwNU=; b=RaaWd137XWijGFer46oboxxFxIGmG6vwNj2zwBIt5bMeaOwg1fMTwvWqSwSpezUUlD9VU EsPDYUzbi5y+quBAA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fifthhorseman.net; i=@fifthhorseman.net; q=dns/txt; s=2019rsa; t=1583550797; h=from : to : subject : references : date : message-id : mime-version : content-type : from; bh=FXCMzHJ2skdal6nInCXkqGfxMSjvfKoROZRwBOExwNU=; b=gsiaAiJYrPraC3Xc9F2QixU7T1SHr6RrcZI6bNQaL979uHTHIQW1tLPqZKSy06nLySPst zRyZO6emUbvUJCE4z0oRxVoDWqGpoh9uogR97Zs7LFBZFDhYbqbKAZCycJ7uRVxMlYVFHQz TkRoC0SGw65TqJSvEak34JXUKGdYHOIozrgbjFS9SOyu5m7qQME0pkIbA0Ew42tpZFGZBuI c4bXYdS6VUeJvaLtu7MIwn7fq5Y3JZw9vtJEylxywsB4SYPiBkXzDR3VbjOfXh9UfbS4fAg F+3WSBxkKIqTEZvdbhPHuL9FwnmabNyXB8YaaNMQtzbWq/X6+fgtiX2OSlhw==
Received: from fifthhorseman.net (unknown [38.109.115.130]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by che.mayfirst.org (Postfix) with ESMTPSA id 1AAEDF9A5 for <openpgp@ietf.org>; Fri, 6 Mar 2020 22:13:17 -0500 (EST)
Received: by fifthhorseman.net (Postfix, from userid 1000) id 8BBD520578; Fri, 6 Mar 2020 22:13:13 -0500 (EST)
From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
To: openpgp@ietf.org
References: <158354819955.2147.12656142614920120495@ietfa.amsl.com>
Autocrypt: addr=dkg@fifthhorseman.net; prefer-encrypt=mutual; keydata= mDMEXEK/AhYJKwYBBAHaRw8BAQdAr/gSROcn+6m8ijTN0DV9AahoHGafy52RRkhCZVwxhEe0K0Rh bmllbCBLYWhuIEdpbGxtb3IgPGRrZ0BmaWZ0aGhvcnNlbWFuLm5ldD6ImQQTFggAQQIbAQULCQgH AgYVCgkICwIEFgIDAQIeAQIXgAIZARYhBMS8Lds4zOlkhevpwvIGkReQOOXGBQJd5Hw3BQkFpJWB AAoJEPIGkReQOOXGDYEA/j0ERjPxDleKMZ2LDcWc/3o5cLFwAVzBKQHppu0Be5IWAP0aeTnyEqlp RTE7M8zugwkhYeUYfYu0BjecDUMnYz6iDLgzBF3kewUWCSsGAQQB2kcPAQEHQK1IuW0GZmcrs2mx CYMl8IHse0tMF8cP7eBNXevrlx2ZiPUEGBYIACYCGwIWIQTEvC3bOMzpZIXr6cLyBpEXkDjlxgUC XeR7TwUJAiGl/gCBdiAEGRYIAB0WIQQsv6x2UaqQJzY+dXHEDyVUMvKBDwUCXeR7BQAKCRDEDyVU MvKBD7KmAQCHs+7588C4jto6fMje0Nu97zzoppjJM7lrGF2rVnbHvwD+MgmGUbHzPSUrTWnZBQDi /QM595bxNrBA4N1CiXhs2AMJEPIGkReQOOXGpp0BAM7YeBnt/UNvxJAGm4DidSfHU7RDMWe6Tgux HrH21cDkAQC9leNFXJsQ7F2ZniRPHa8CkictcQEKPL8VCWpfe8LbArg4BF3ke5wSCisGAQQBl1UB BQEBB0Cf+EiAXtntQMf51xpqb6uZ5O0eCLAZtkg0SXHjA1JlEwMBCAeIfgQYFggAJhYhBMS8Lds4 zOlkhevpwvIGkReQOOXGBQJd5HucAhsMBQkCIaVkAAoJEPIGkReQOOXGdYcBANYnW7VyL2CncKH1 iO4Zr0IwfdIv6rai1PUHL98pVi3cAP9tMh85CKGDa0Xi/fptQH41meollLW5tLb/bEWMuUNuBQ==
Date: Fri, 06 Mar 2020 22:13:12 -0500
Message-ID: <87mu8srh6f.fsf@fifthhorseman.net>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha256"; protocol="application/pgp-signature"
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/NCsDJCdSUcEUB78BA2rgOHMZoAU>
Subject: [openpgp] [internet-drafts@ietf.org] New Version Notification for draft-dkg-openpgp-stateless-cli-02.txt
X-BeenThere: openpgp@ietf.org
X-Mailman-Version: 2.1.29
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, 07 Mar 2020 03:13:21 -0000

Hi OpenPGP folks--

I just posted a new version of the "sop" draft for a Stateless OpenPGP
command-line API.

Name:		draft-dkg-openpgp-stateless-cli
Revision:	02
Title:		Stateless OpenPGP Command Line Interface
Document date:	2020-03-06
Group:		Individual Submission
Pages:		33
URL:            https://www.ietf.org/internet-drafts/draft-dkg-openpgp-stateless-cli-02.txt
Status:         https://datatracker.ietf.org/doc/draft-dkg-openpgp-stateless-cli/
Htmlized:       https://tools.ietf.org/html/draft-dkg-openpgp-stateless-cli-02
Htmlized:       https://datatracker.ietf.org/doc/html/draft-dkg-openpgp-stateless-cli
Diff:           https://www.ietf.org/rfcdiff?url2=draft-dkg-openpgp-stateless-cli-02

Abstract:
   This document defines a generic stateless command-line interface for
   dealing with OpenPGP messages, known as "sop".  It aims for a
   minimal, well-structured API covering OpenPGP object security.


Changelog from the document history:

substantive changes between -01 and -02:

 * Added mnemonics for return codes
 * `decrypt` should fail when asked to output to a pre-existing file
 * Removed superfluous `--armor` option
 * Much more specific about what `armor --label=auto` should do
 * `armor` and `dearmor` are now fully idempotent, but work only well-formed OpenPGP streams
 * Dropped `armor --allow-nested`
 * Specified what `encrypt --as=` means
 * New error code: `KEY_IS_PROTECTED`
 * Documented expectations around human-readable, human-transferable passwords
 * New subcommand: `detach-inband-signature-and-message`
 * More specific guidance about special designators like `@FD:` and `@ENV:`, including new error codes `UNSUPPORTED_SPECIAL_PREFIX` and `AMBIGUOUS_INPUT`


I'll be updating the "sop" python module to match this revision shortly.

As always, i welcome feedback, either here on-list, on
https://gitlab.com/dkg/openpgp-stateless-cli, or by private e-mail if
you prefer.

Many thanks to the different folks who gave me feedback on the draft.

     --dkg