flatpak-builder/system-helper
Philip Withnall 024d835460 common: Support unsigned summary files and separate repo metadata
In order to eliminate some race conditions around updating the
summary{,.sig} file on the server, and to decouple signing the summary
from signing commits, and to support peer to peer mirrors of content
from multiple upstream collections: add support for unsigned summary
files.

This relaxes the requirement for gpg-verify-summary=true iff
collection-id is set in a remote’s local configuration. It depends on
some pending libostree changes to verify the ref for each commit using
the commit’s signed metadata. See
https://github.com/ostreedev/ostree/issues/983.

Metadata storage has moved from the summary file to a new
ostree-metadata well-known branch on each repository, since this can be
signed for each update and for each collection separately. If the
collection-id is set in a remote’s local configuration, flatpak will
retrieve all repository metadata from this branch rather than from the
summary file. If collection-id is unset, it will ignore this branch and
continue to use the summary file, which will continue to be updated (and
externally signed as summary.sig) for backwards compatibility.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
2017-08-18 14:23:03 +02:00
..
Makefile.am.inc system-helper: Ensure template files are always distributed 2017-08-03 16:50:22 +01:00
flatpak-system-helper.c common: Support unsigned summary files and separate repo metadata 2017-08-18 14:23:03 +02:00
flatpak-system-helper.service.in flatpak-system-helper: remove dangling reference to EXTERNAL_INSTALL_DIR 2017-01-20 15:05:28 +01:00
org.freedesktop.Flatpak.SystemHelper.conf Rename everything but the on-disk location to flatpak 2016-05-09 11:11:55 +02:00
org.freedesktop.Flatpak.SystemHelper.service.in system-helper: Add User=root to service file 2017-01-23 16:30:52 +01:00
org.freedesktop.Flatpak.policy.in remote-modify: Implement --update-metadata as a system-helper method 2017-05-09 13:25:21 +02:00
org.freedesktop.Flatpak.rules.in system-helper: Do not ask for password when removing apps/runtimes 2016-12-07 19:53:51 +01:00