Liking cljdoc? Tell your friends :D
Clojure only.

com.eldrix.trud.check

Check provides support for validating downloaded TRUD files.

There are three mechanisms for checking the integrity of downloaded files.

  1. Checksum (hash)
  2. Signature (GPG)
  3. The use of https to download the files.

It appears as if checksums are generated using a Windows command line tool called FCIV (https://docs.microsoft.com/en-us/troubleshoot/windows-server/windows-security/fciv-availability-and-description).

<?XML version="1.0" encoding="utf-8"?>

<FCIV> <FILE_ENTRY> <name>ntdll.dll</name> <MD5>bL/ZGbqnyeA8hHGuTY+LsA==</MD5> </FILE_ENTRY> </FCIV>

It appears that FCIV generates only MD5 and SHA1 hashes.

Check provides support for validating downloaded TRUD files.

There are three mechanisms for checking the integrity of downloaded files.

1. Checksum  (hash)
2. Signature (GPG)
3. The use of https to download the files.

It appears as if checksums are generated using a Windows command line tool
called FCIV (https://docs.microsoft.com/en-us/troubleshoot/windows-server/windows-security/fciv-availability-and-description).

<?XML version="1.0" encoding="utf-8"?>
<FCIV>
    <FILE_ENTRY>
       <name>ntdll.dll</name> <MD5>bL/ZGbqnyeA8hHGuTY+LsA==</MD5>
    </FILE_ENTRY>
</FCIV>

It appears that FCIV generates only MD5 and SHA1 hashes.
raw docstring

valid-checksum?clj

(valid-checksum? {:keys [checksumFileUrl archiveFileName] :as _release}
                 downloaded-file)

Determines whether the file specified has a valid checksum. Note: if we do not support a checksum type, then we return true with a warning.

Determines whether the file specified has a valid checksum.
Note: if we do not support a checksum type, then we return `true` with a
warning.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close