[Rats] Disallow floating point time stamps?

Laurence Lundblade <lgl@island-resort.com> Wed, 12 February 2020 13:08 UTC

Return-Path: <lgl@island-resort.com>
X-Original-To: rats@ietfa.amsl.com
Delivered-To: rats@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1A36312009E for <rats@ietfa.amsl.com>; Wed, 12 Feb 2020 05:08:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.917
X-Spam-Level:
X-Spam-Status: No, score=-1.917 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=unavailable 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 g7tMspJEB7aJ for <rats@ietfa.amsl.com>; Wed, 12 Feb 2020 05:08:00 -0800 (PST)
Received: from p3plsmtpa09-01.prod.phx3.secureserver.net (p3plsmtpa09-01.prod.phx3.secureserver.net [173.201.193.230]) (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 0C76B1200D6 for <rats@ietf.org>; Wed, 12 Feb 2020 05:08:00 -0800 (PST)
Received: from dii-102208.home ([79.168.9.213]) by :SMTPAUTH: with ESMTPA id 1rkCjw9Fq1pNk1rkEjZCMF; Wed, 12 Feb 2020 06:07:59 -0700
X-CMAE-Analysis: v=2.3 cv=Tt+Yewfh c=1 sm=1 tr=0 a=OUXnzmuUtImtGdqeZRusCA==:117 a=OUXnzmuUtImtGdqeZRusCA==:17 a=0XtbOteLAAAA:20 a=Ig7rS1WEVbZOdcxExR4A:9 a=QEXdDO2ut3YA:10 a=6VwN1EsciE5uDRJXdS4A:9 a=_W_S_7VecoQA:10 a=WQnItmPV2fbdzLaCP6-h:22 a=Z5ABNNGmrOfJ6cZ5bIyy:22 a=bWyr8ysk75zN3GCy5bjg:22
X-SECURESERVER-ACCT: lgl@island-resort.com
From: Laurence Lundblade <lgl@island-resort.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_6D8DEA7B-E917-46CD-A955-602D6030C43D"
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\))
Message-Id: <AE247A68-A9D2-4435-B383-A7153A8CBDE8@island-resort.com>
Date: Wed, 12 Feb 2020 13:07:56 +0000
Cc: Mike Jones <Michael.Jones@microsoft.com>
To: rats@ietf.org, cbor@ietf.org
X-Mailer: Apple Mail (2.3445.9.1)
X-CMAE-Envelope: MS4wfBbhU0MC2m+cchIwg94jlQNkYgUr/mqVX+M/PdAgfFmau30sjIQJojkv4Fnw+Ekl4KHJjcbx+4tZgrH6G5ZutEgyoG67yqWPQJIM4DoTb1oH1akvbEmi I+DrtRihbjzI2eH/r6c5yWkPPI4+835ru/1HHo91Vq7xPeARR32AwauM20slr7/mrMsqFmsVK1PKpGjLngjArh5smwXeJDkmnHr2rOInEbCPy1IM9ed8jpTc
Archived-At: <https://mailarchive.ietf.org/arch/msg/rats/jtFaokAiCP6E_q23WqWgrTcEnao>
Subject: [Rats] Disallow floating point time stamps?
X-BeenThere: rats@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Remote Attestation Procedures <rats.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rats>, <mailto:rats-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rats/>
List-Post: <mailto:rats@ietf.org>
List-Help: <mailto:rats-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rats>, <mailto:rats-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 12 Feb 2020 13:08:02 -0000

FYI, I filed this issue against EAT <https://github.com/ietf-rats-wg/eat/issues/49>. It seems CBOR could use a time stamp format that doesn’t require floating point support. If if your CPU supports float, you have to have code to figure out which CBOR type you got and convert it to the format used by the decoder. Half-precision support is also implied here.

LL