]> ruderich.org/simon Gitweb - nsscash/nsscash.git/commitdiff
nsscash: store and check hash of deployed files
authorSimon Ruderich <simon@ruderich.org>
Thu, 13 Jun 2019 06:25:09 +0000 (08:25 +0200)
committerSimon Ruderich <simon@ruderich.org>
Thu, 13 Jun 2019 06:25:09 +0000 (08:25 +0200)
The goal is to detect manual modifications of the deployed files. As we
store only the last modification in the state file and don't check the
deployed file itself, modifications go unnoticed.

An alternative would be to check the last modification time of the
deployed files. But a hash is safer as possible corruptions to the file
are detected as well.


No differences found