Re: [openpgp] v5 in the crypto-refresh draft

Peter Gutmann <pgut001@cs.auckland.ac.nz> Mon, 07 June 2021 11:34 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 8BCB53A118F for <openpgp@ietfa.amsl.com>; Mon, 7 Jun 2021 04:34:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.597
X-Spam-Level:
X-Spam-Status: No, score=-2.597 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 vS9iukT3f1FZ for <openpgp@ietfa.amsl.com>; Mon, 7 Jun 2021 04:34:04 -0700 (PDT)
Received: from au-smtp-delivery-117.mimecast.com (au-smtp-delivery-117.mimecast.com [103.96.23.117]) (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 CA70D3A1188 for <openpgp@ietf.org>; Mon, 7 Jun 2021 04:34:03 -0700 (PDT)
Received: from AUS01-ME3-obe.outbound.protection.outlook.com (mail-me3aus01lp2236.outbound.protection.outlook.com [104.47.71.236]) (Using TLS) by relay.mimecast.com with ESMTP id au-mta-72-UUxqoIvsPh6NNmYAOBd2cw-1; Mon, 07 Jun 2021 21:33:59 +1000
X-MC-Unique: UUxqoIvsPh6NNmYAOBd2cw-1
Received: from SY4PR01MB6251.ausprd01.prod.outlook.com (2603:10c6:10:10b::10) by SYBPR01MB4716.ausprd01.prod.outlook.com (2603:10c6:10:13::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4195.24; Mon, 7 Jun 2021 11:33:54 +0000
Received: from SY4PR01MB6251.ausprd01.prod.outlook.com ([fe80::9965:92dd:f5b:87a7]) by SY4PR01MB6251.ausprd01.prod.outlook.com ([fe80::9965:92dd:f5b:87a7%6]) with mapi id 15.20.4195.030; Mon, 7 Jun 2021 11:33:54 +0000
From: Peter Gutmann <pgut001@cs.auckland.ac.nz>
To: Peter Pentchev <roam@ringlet.net>, "openpgp@ietf.org" <openpgp@ietf.org>
Thread-Topic: [openpgp] v5 in the crypto-refresh draft
Thread-Index: AQHXWQzuzdssG/TtVk6GhEyMb/dWfKsIWYUAgAACZACAABPjDQ==
Date: Mon, 7 Jun 2021 11:33:54 +0000
Message-ID: <SY4PR01MB6251662F63A66E10F08F6588EE389@SY4PR01MB6251.ausprd01.prod.outlook.com>
References: <87lf7q6sh0.fsf@fifthhorseman.net> <2e2495e8-6f4c-f842-3886-61cd696a6483@gmail.com>, <YL3zYBwALUh8oEed@straylight.m.ringlet.net>
In-Reply-To: <YL3zYBwALUh8oEed@straylight.m.ringlet.net>
Accept-Language: en-NZ, en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [14.1.76.32]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: d18c4939-bb41-48e0-e3dc-08d929a8218f
x-ms-traffictypediagnostic: SYBPR01MB4716:
x-microsoft-antispam-prvs: <SYBPR01MB47166EF21179F89981638D46EE389@SYBPR01MB4716.ausprd01.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0
x-microsoft-antispam-message-info: IVT1jj4DfbNpRZ85MaKjGuHE6jFRla/FB/pfhkjToHfA+cmnz+ecFM8ahC1swrPoIrwBlJbvBmcFZL4JSxqiKn5OHeqVpAFQRhKRN4emeIscN+biQJD8khNOb7Pt9NhuNbcIEFKTjMq65fARZtoyCf/ZvgprUZVkoP/TrhyB8BtzLadGShL+DTW+fAmLVUBWay6B9C0CSBcWjDezU940ZpY3HMiElANE5Rd6WzWDAVXo5fbiQzKVXzVtDO75DKHwGlTHpdedZ9TvBPUf9fYRh84qFupIoemSU+/jqFvO2m8B4Qy9v/OtobXDNCXmTa5aFJEMecS3tuqBNrec3PvvlCDm6BHCPexN79noNoHXOnjc298OWMqjZ3j0oNg4qQhgxLHJfYQK/8cQUUhhx25XrlxzuTfY1PlQaiLQ8xgAKOJzfmJXU3jsuuo9KZU6pSbcCiHXINg//2XHzPH6z63kcwnAdCn6+n4GqOy6pf3lp47+ZnfeOxZb/flgTyub4cZfwZGdhU9nPlFghjmgo94BHCwGm+gtgVfKXKI7n97YBlHw453yOKCr8n1KG05r6ryji6GIr0jMczXpfR6TVvAvMso0rWYbE4wmjrGRwhLmFTo=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SY4PR01MB6251.ausprd01.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(5660300002)(122000001)(38100700002)(4744005)(186003)(55016002)(2906002)(66446008)(64756008)(66946007)(8936002)(498600001)(66556008)(110136005)(26005)(71200400001)(33656002)(86362001)(6506007)(8676002)(76116006)(66476007)(9686003)(7696005)(52536014); DIR:OUT; SFP:1101
x-ms-exchange-antispam-messagedata: =?iso-8859-1?Q?uqq46x4glzwFTx2cd+KbjLr940/SwJYSfsh9EzcgweVmomAxZXZZu2PmgI?= =?iso-8859-1?Q?92qqtQW27pQnLkz7Z7Ocle/tb+viWkAj8o2Lmq8e2amPa5gaEMXxoPjdfN?= =?iso-8859-1?Q?wtqonlQJmD/u163AI7T8n5kdKxuWMM3wbJntEsKTCJkcHqErpjvkV8DW8u?= =?iso-8859-1?Q?F49HVGQLh3hclflPDyoY5KRA60WgNQPy5D9xVHHGDdp8QiGMYa1L1BlfC8?= =?iso-8859-1?Q?a18LaO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v5SM?= =?iso-8859-1?Q?wMC7WB6zR+5rUOFNCdxyX+5TsLwlSgyF1Y7OYaHaOZRT3A1duNZb6IkNFj?= =?iso-8859-1?Q?/uCAt8+fTsxj8DQ6RdQEMa3pUgRcVW905HxBuewf+RvuXDo0QNCV/NeJwj?= =?iso-8859-1?Q?ktc2oHrMX+oT1v8RRhkJVBVmDdc+LHLihzFVkgqD/H+RPJw780HL3lTBiN?= =?iso-8859-1?Q?02vc/s8pmKTGfYetKuiAZyI5mAbi7HfqGuGNeSH52lBiHt0=3D?=
x-ms-exchange-transport-forked: True
MIME-Version: 1.0
X-OriginatorOrg: cs.auckland.ac.nz
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: SY4PR01MB6251.ausprd01.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: d18c4939-bb41-48e0-e3dc-08d929a8218f
X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Jun 2021 11:33:54.0623 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: d1b36e95-0d50-42e9-958f-b63fa906beaa
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: iH4kA+KC7WtccosUUGwCv2GNNJfzTzOZZmOOjm/JXVuWKbxr8SdztT6HmsKV1DmU4k77HqYT51VWJ1tkiTg3Xyw/SNfrM5KRTvk7yPo/jZY=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SYBPR01MB4716
Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CAU17A13 smtp.mailfrom=pgut001@cs.auckland.ac.nz
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: cs.auckland.ac.nz
Content-Language: en-NZ
Content-Type: text/plain; charset=WINDOWS-1252
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/P1_Zth5K-n6ce170OiQLJPyDcsM>
Subject: Re: [openpgp] v5 in the crypto-refresh draft
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: Mon, 07 Jun 2021 11:34:09 -0000

Peter Pentchev <roam@ringlet.net> writes:

>Obviously not speaking for any of the people who actually work on this, but
>you need to keep in mind that the time field is defined as an *unsigned* 32-
>bit number, so we'll have another 68 years after the year 2038 to take care
>of that.

Except that time_t is signed so it's going to cause breakage if you just
assign a 32-bit OpenPGP time to a 32-bit time_t.  Making it 64 bits would both
prevent this and signal to 32-bit time_t users that they need to take special
care with time values.

Peter.