lib/repo-finder: Emit gpg-verify-summary=false in dynamic remote config
authorPhilip Withnall <withnall@endlessm.com>
Tue, 8 Aug 2017 17:58:52 +0000 (18:58 +0100)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 8 Aug 2017 18:08:05 +0000 (18:08 +0000)
commit8c148eb7e1d7d5d7317e144b336b64aa39a57215
tree75ceecc61c5b58180c2d2aca392dc6c711794938
parent8642ef5ab3fec3ac8eb8f193054852f83a8bc4d0
lib/repo-finder: Emit gpg-verify-summary=false in dynamic remote config

When returning results from finding repos, set gpg-verify-summary=false
in their configs, since any pulls from such remotes will necessarily
involve collection IDs, and hence should be using the unsigned summary
support. In the intended deployment mode for P2P transmission of OSTree
refs, summaries *cannot* be signed, so setting gpg-verify-summary=true
would cause all the pulls to fail.

The unsigned summary support is the move of repository metadata from
the summary file (not spliceable) to the well-known ostree-metadata ref
(spliceable, as it can exist for multiple collection IDs in the same
repository).

Signed-off-by: Philip Withnall <withnall@endlessm.com>
Closes: #1066
Approved by: cgwalters
src/libostree/ostree-repo-finder-avahi.c
src/libostree/ostree-repo-finder-mount.c
src/libostree/ostree-repo-pull.c