Set the system date and time using HTTP headers instead of NTP, which is susceptible to time attacks [1]. This script is a rewrite of madaidan's original code: Secure Time Synchronization.
This package is in the Hard Hat OS Copr repository. To install it, enter the following commands as the root user:
-
Enable the Copr repository:
dnf copr enable hardhatos/release
-
Update the cache:
dnf update
-
Install the package:
dnf install http-date-time
[1] https://www.whonix.org/wiki/Time_Attacks; [Archive Link]