Codebase list flatpak / 0b1e45c
Add comment about why we're allowing xa.ref discrepancies sometimes See https://github.com/flatpak/flatpak/pull/1013 for discussion. Alexander Larsson 6 years ago
1 changed file(s) with 6 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
51035103
51045104 if (gpg_verify_summary)
51055105 {
5106 /* If we're using signed summaries, then the security is really due to the signatures on
5107 * the summary, and the xa.ref is not needed for security. In particular, endless are
5108 * currently using one single commit on multiple branches to handle devel/stable promotion.
5109 * So, to support this we report branch discrepancies as a warning, rather than as an error.
5110 * See https://github.com/flatpak/flatpak/pull/1013 for more discussion.
5111 */
51065112 g_auto(GStrv) checkout_ref = NULL;
51075113 g_auto(GStrv) commit_ref = NULL;
51085114