<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi! <br>
</p>
<p>It's time for a new leap-second update (no new leap second), and
I get this error in my cron job (reproduced here out of CRON):<br>
<blockquote type="cite">
<pre>root@rPi:~# CRONJOB=1 /usr/local/bin/ntpleapfetch -e "60 days"</pre>
<pre>/usr/local/bin/ntpleapfetch: 1: printf: a1c168ae: expected numeric value</pre>
<pre><27>May 5 14:57:05 ntpleapfetch[19554]: Checksum of /tmp/leap-seconds.19554.tmp is invalid:</pre>
<pre><27>May 5 14:57:05 ntpleapfetch[19554]: EXPECTED: 0000000027c79a7d9dddcfc3bcfe616b2e2c44ea</pre>
<pre><27>May 5 14:57:05 ntpleapfetch[19554]: COMPUTED: a1c168ae27c79a7d9dddcfc3bcfe616b2e2c44ea</pre>
<pre><28>May 5 14:57:05 ntpleapfetch[19554]: Downloaded file /tmp/leap-seconds.19554.tmp rejected -- saved for diagnosis</pre>
<pre>--2020-05-05 14:57:04-- <a class="moz-txt-link-freetext" href="https://www.ietf.org/timezones/data/leap-seconds.list">https://www.ietf.org/timezones/data/leap-seconds.list</a></pre>
<pre>Resolving <a class="moz-txt-link-abbreviated" href="http://www.ietf.org">www.ietf.org</a> (<a class="moz-txt-link-abbreviated" href="http://www.ietf.org">www.ietf.org</a>)... 104.20.0.85, 104.20.1.85, 2606:4700:10::6814:155, ...</pre>
<pre>Connecting to <a class="moz-txt-link-abbreviated" href="http://www.ietf.org">www.ietf.org</a> (<a class="moz-txt-link-abbreviated" href="http://www.ietf.org">www.ietf.org</a>)|104.20.0.85|:443... connected.</pre>
<pre>HTTP request sent, awaiting response... 200 OK</pre>
<pre>Length: unspecified [text/plain]</pre>
<pre>Saving to: ‘/tmp/leap-seconds.19554.tmp’</pre>
<pre>
0K .......... 2.70M=0.004s</pre>
<pre>
2020-05-05 14:57:05 (2.70 MB/s) - ‘/tmp/leap-seconds.19554.tmp’ saved [10665]</pre>
<br>
</blockquote>
The file downloaded looks good, it's attached. The odd part is the
<i>/usr/local/bin/ntpleapfetch: 1: printf: a1c168ae: expected
numeric value</i> part, and the <i>a1c168ae</i> part is the
part later shown as zeroes in the expected checksum part. The
checksum, with that part substituted, is what is computed.</p>
<p>Any idea? I'm using NTPsec 1.1.8 compiled from the release
tarball on the current Raspbian Buster for the Raspberry Pi 3B+.</p>
<p>Thanks, <br>
Martin<br>
</p>
</body>
</html>