]> git.ipfire.org Git - thirdparty/systemd.git/commit - man/machinectl.xml
importd: support SUSE style checksums (#5206)
authortblume <Thomas.Blume@suse.com>
Mon, 24 Apr 2017 18:37:11 +0000 (20:37 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 24 Apr 2017 18:37:11 +0000 (20:37 +0200)
commit697be0be15df33e421e29c3b60b10b40c413bb8b
tree25cc20fe22d75c46b013d65af1a27965cc8a0f11
parent8ea9aa9e88b043aaa48eed4b482ac58342457e16
importd: support SUSE style checksums (#5206)

In order to verify a pulled container or disk image, importd only supports
SHA256SUMS files with the detached signature in SHA256SUMS.gpg.
SUSE is using an inline signed file with the name of the image itself and the
suffix .sha256 instead.
This commit adds support for this type of signature files.

It is first attempted to pull the .sha256 file.
If this fails with error 404, the SHA256SUMS and SHA256SUMS.gpg files are
pulled and used for verification.
man/machinectl.xml
src/import/pull-common.c
src/import/pull-job.c
src/import/pull-job.h
src/import/pull-raw.c
src/import/pull-tar.c