mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-28 17:41:14 -05:00
When a collection ID is set on a remote configuration, gpg-verify-summary should be set to FALSE because flatpak uses signed per-repo and per-commit metadata instead. The flatpak command line already does this (use flatpak remote-modify --collection-id=... and notice that gpg-verify-summary is then set to false). This commit changes libflatpak to have the same behavior. Specifically, with a collection ID set gpg-verify-summary is set to false and otherwise its value matches that of gpg-verify. This commit also adds a test for this in testlibrary.c. Fixes https://github.com/flatpak/flatpak/issues/1479 Closes: #1501 Approved by: pwithnall