sqv --not-before and --not-after should accept full ISO8601-compliant timestamps
The current arguments for sqv
's --not-before
and --not-after
options only accept YYYY-MM-DD
. This is unsuitably imprecise for many purposes. It is also ambiguous due to timezone concerns (what is before 2015-03-04 in one TZ might not be before 2015-03-04 in another TZ).
If the user supplies a full ISO-8601-compliant timestamp, complete with time zone information, sqv
should accept it and make sense of it correctly. As of 0.12.0, it currently does not.
$ sqv --trace foo --not-before 2017-03-04T13:25Z bar --keyring baz
Bad value passed to --not-before: "2017-03-04T13:25Z":
trailing input
$