]> git.e2factory.org Git - e2factory.git/commit
e2tool: add sha256 support to file_class
authorTobias Ulmer <tu@emlix.com>
Thu, 22 Dec 2016 16:37:59 +0000 (17:37 +0100)
committerTobias Ulmer <tu@emlix.com>
Thu, 22 Dec 2016 16:38:03 +0000 (17:38 +0100)
commit9db6e0e5ae2fcb0841e2e1a6fa8947f9d71f9763
treeb158dc55646ebbd2bdaac24aa97e33c3fb0f208a
parentc7a0709a54ea0b1edf51ffaab23b60d77a0ab1e6
e2tool: add sha256 support to file_class

Also introduce common validation methods for server, location, sha1 and
sha256. These will be used by all file_class-using config loaders,
unifying error handling and policy enforcement.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
local/e2tool.lua