Re: [openpgp] Stateless OpenPGP command line interface proposal

Peter Gutmann <pgut001@cs.auckland.ac.nz> Thu, 05 December 2019 00:01 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 D49F612002F for <openpgp@ietfa.amsl.com>; Wed, 4 Dec 2019 16:01:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.197
X-Spam-Level:
X-Spam-Status: No, score=-4.197 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] 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 ooS5fdcwj9BZ for <openpgp@ietfa.amsl.com>; Wed, 4 Dec 2019 16:01:14 -0800 (PST)
Received: from mx4-int.auckland.ac.nz (mx4-int.auckland.ac.nz [130.216.125.246]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 14BE112004D for <openpgp@ietf.org>; Wed, 4 Dec 2019 16:01:13 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=auckland.ac.nz; i=@auckland.ac.nz; q=dns/txt; s=mail; t=1575504074; x=1607040074; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=jU5GdTDRkA3Y7qZe33k5+177/owilHKxhhHgFW+3jIk=; b=R9WNmBy0eQPvWg7QfTKUYRg/nWzujQqKUzMwv5p0eIfmqhBIASWNd/xF QXulCUYXZihsjsy6PhXoN0RjGPKPNnJm2B3ipRqslyA0jgjymXDNBaKXj eKieggzYFw5x61gCGX/Hh2nHtZysqvwk/4D1Lzg1MKLa1saKdmsN6UZdb n3hExtCg6KaE4OjTokOjGnShTAjG5V7KWB81C02Bhz+MVfG7xyNYPhrLo FLqhLuHXIsXcY1/xnBkD67exZbyhllVQjnYnYL0QXslfWXBEVoSdOJTMx fRUHano0x5zyqAuKSc2VxjjVqZhdufNTDYi2/extyCJ0fJJXPZZH+ucHb g==;
X-IronPort-AV: E=Sophos;i="5.69,279,1571655600"; d="scan'208";a="103291964"
X-Ironport-HAT: MAIL-SERVERS - $RELAYED
X-Ironport-Source: 10.6.2.2 - Outgoing - Outgoing
Received: from uxcn13-ogg-a.uoa.auckland.ac.nz ([10.6.2.2]) by mx4-int.auckland.ac.nz with ESMTP/TLS/AES256-SHA; 05 Dec 2019 13:01:10 +1300
Received: from uxcn13-ogg-d.UoA.auckland.ac.nz (10.6.2.5) by uxcn13-ogg-a.UoA.auckland.ac.nz (10.6.2.2) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 5 Dec 2019 13:01:09 +1300
Received: from uxcn13-ogg-d.UoA.auckland.ac.nz ([10.6.2.5]) by uxcn13-ogg-d.UoA.auckland.ac.nz ([10.6.2.5]) with mapi id 15.00.1395.000; Thu, 5 Dec 2019 13:01:09 +1300
From: Peter Gutmann <pgut001@cs.auckland.ac.nz>
To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>, Wyllys Ingersoll <wyllys@gmail.com>, "openpgp@ietf.org OpenPGP" <openpgp@ietf.org>
Thread-Topic: [openpgp] Stateless OpenPGP command line interface proposal
Thread-Index: AQHVjc02Js8pCBH3uk2cv4yI2lLGpqdvqluAgDcXWoCAAAgHgIAALI6AgAFO1CH///sCgIACoiJD
Date: Thu, 5 Dec 2019 00:01:09 +0000
Message-ID: <1575504071480.48543@cs.auckland.ac.nz>
References: <87ftjck4fc.fsf@fifthhorseman.net> <20191028204032.bubbzueti2ebpobm@LykOS.localdomain> <81f3d7c7-f19d-38ca-923d-8a828779d9dc@iang.org> <CAHRa8=VBppD+pqTwsoqiAq=_GkUWck+ndWGDi+4S-uLA2dzMBw@mail.gmail.com> <87tv6i6wv6.fsf@fifthhorseman.net> <1575360357529.12665@cs.auckland.ac.nz>,<87o8wp6ss2.fsf@fifthhorseman.net>
In-Reply-To: <87o8wp6ss2.fsf@fifthhorseman.net>
Accept-Language: en-NZ, en-GB, en-US
Content-Language: en-NZ
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [130.216.158.4]
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/q3_f8qxLtygtVUZzPWTi8HwV3L8>
Subject: Re: [openpgp] Stateless OpenPGP command line interface proposal
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: Thu, 05 Dec 2019 00:01:17 -0000

Daniel Kahn Gillmor <dkg@fifthhorseman.net> writes:
>On Tue 2019-12-03 08:05:55 +0000, Peter Gutmann wrote:
>> Daniel Kahn Gillmor <dkg@fifthhorseman.net> writes:
>>
>>>Maybe there are others?
>>
>> I threw together a quick command-line en/decrypt tool as a CLI wrapper around
>> the cryptlib API when I got frustrated with how complex GPG was to use, so
>> there's at least one more, built purely as a CLI-around-an-API app.
>
>Thanks for the observation, Peter.  Does this have a name, or published
>documentation someplace?  A direct pointer would be helpful!

It doesn't really have a name (I just called the binaries "pgpencrypt" and
"pgpdecrypt") or even a public presence, it's just a quick wrapper for a
handful of library calls.  I commented on it to point out that you can turn a
library/API into a CLI application with very little work, since the topic of
building an app from an API had come up.

Peter.