Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
titleChecking Timestamps (Windows using PowerShell)
# download release tarball
Invoke-WebRequest -Uri 'https://download.sos-berlin.com/JobScheduler.2.5/js7_agent_windows.2.5.3.zip' -Outfile js7_agent_windows.2.5.3.zip

# download timestamp
Invoke-WebRequest -Uri 'https://download.sos-berlin.com/JobScheduler.2.5/js7_agent_windows.2.5.3.zip.tsr' -Outfile js7_agent_windows.2.5.3.zip.tsr

# verify timestamp (some OpenSSL versions might require a configuration file to be specified)
$tempFile = New-TemporaryFile
openssl ts -verify -sha256 -in js7_agent_windows.2.5.3.zip.tsr -data js7_agent_windows.2.5.3.zip -CAfile AppleIncRootCertificate.pem -untrusted AppleTimestampCA.cer -config $tempFile

Further Resources