Kirk.Hall at entrustdatacard.com
Sat Feb 4 21:16:49 UTC 2017
Peter - don't you think "13 months" already encompasses all cases like what you show below (start date and end date 13 months apart based on the dates themselves, even if that means the number of days varies a little), and will encompass all situations, like when the 13th month has 28, 29, 30 or 31 days?
I think it's easier for humans to calculate when 13 months ends (in an easy human readable form), instead of making humans calculate when a period of 398 days ends. (Let's see, if the start date is Feb. 1, the end date is, what, March 3 or March 4? But if the start date is March 1, the end date is March 30 or March 31? But what about Leap Year? And what about months that only have 30 days?)
I just think going to days instead of months could lead to human errors and a little lack of clarity, especially for vetters.
From: Public [mailto:public-bounces at cabforum.org] On Behalf Of Peter Bowen via Public
Sent: Saturday, February 4, 2017 12:12 PM
To: CA/Browser Forum Public Discussion List <public at cabforum.org>
Cc: Peter Bowen <pzb at amzn.com>
Subject: [cabfpub] Durations
I’ve been trying to calculate the potential impact of various recent proposals by looking at existing known certificates. One thing that has become very obvious is that durations in units of whole “years” or “months” are actually really hard to calculate. Consider a certificate with notBefore of 2016-07-31 00:00:00 +0000 and notAfter of 2017-08-31 23:59:59 +0000. This is, at least to me, pretty clearly a 13 month duration. It is also 34300799 seconds, which works out to 396.9999884 days, which is longer than the obvious definition of 13 months.
As people are drafting ballots, can you please consider specifying intervals in days and using the maximum case for the interval (assuming leap years, long months, leap seconds, rounding etc)? For example, if you want to specify 13 months, please consider using 366 + 31 + 1 = 398 days.
Public mailing list
Public at cabforum.org
More information about the Public