# Sent upstream: From 260cd39c55ff2d13f5ac916b508f023bedecfce9 Mon Sep 17 00:00:00 2001 Message-Id: <260cd39c55ff2d13f5ac916b508f023bedecfce9.1692827278.git.mirai@makinata.eu> From: Bruno Victal Date: Mon, 14 Aug 2023 15:51:05 +0100 Subject: [PATCH] secilc: Use versioned DocBook public identifier. Fix xml validation issues that often crop up since the XML catalogs for DocBook often only contain versioned public identifiers. Signed-off-by: Bruno Victal --- secilc/secil2conf.8.xml | 2 +- secilc/secil2tree.8.xml | 2 +- secilc/secilc.8.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/secilc/secil2conf.8.xml b/secilc/secil2conf.8.xml index 33646f97..330b6a07 100644 --- a/secilc/secil2conf.8.xml +++ b/secilc/secil2conf.8.xml @@ -1,5 +1,5 @@ - diff --git a/secilc/secil2tree.8.xml b/secilc/secil2tree.8.xml index e95a8947..d7bb177e 100644 --- a/secilc/secil2tree.8.xml +++ b/secilc/secil2tree.8.xml @@ -1,5 +1,5 @@ - diff --git a/secilc/secilc.8.xml b/secilc/secilc.8.xml index e9a121e2..5c0680a8 100644 --- a/secilc/secilc.8.xml +++ b/secilc/secilc.8.xml @@ -1,5 +1,5 @@ - base-commit: f6dc6acfa00707ce25c6357169111937f12512dd -- 2.40.1 d=cb141aaf677ecd1fc846999cf3d091c021d6655e'>root/tests/git-authenticate.scm
AgeCommit message (Expand)Author
2022-02-14git-authenticate: Ensure the target is a descendant of the introductory commit....Fixes a bug whereby authentication of a commit *not* descending from the introductory commit could succeed, provided the commit verifies the authorization invariant. In the example below, A is a common ancestor of the introductory commit I and of commit X. Authentication of X would succeed, even though it is not a descendant of I, as long as X is authorized according to the '.guix-authorizations' in A: X I \ / A This is because, 'authenticate-repository' would not check whether X descends from I, and the call (commit-difference X I) would return X. In practice that only affects forks because it means that ancestors of the introductory commit already contain a '.guix-authorizations' file. * guix/git-authenticate.scm (authenticate-repository): Add call to 'commit-descendant?'. * tests/channels.scm ("authenticate-channel, not a descendant of introductory commit"): New test. * tests/git-authenticate.scm ("authenticate-repository, target not a descendant of intro"): New test. * tests/guix-git-authenticate.sh: Expect earlier test to fail since 9549f0283a78fe36f2d4ff2a04ef8ad6b0c02604 is not a descendant of $intro_commit. Add new test targeting an ancestor of the introductory commit, and another test targeting the v1.2.0 commit. * doc/guix.texi (Specifying Channel Authorizations): Add a sentence. Ludovic Courtès
2022-02-14git-authenticate: Test introductory commit signature verification....These tests mimic similar tests already in 'tests/channels.scm', but without using the higher-level 'authenticate-channel'. * tests/git-authenticate.scm ("introductory commit, valid signature") ("introductory commit, missing signature") ("introductory commit, wrong signature"): New tests. Ludovic Courtès
2021-12-22tests: Move keys into ./tests/keys/ and add a third ed25519 key....The third key will be used in an upcoming commit. Rename public keys to .pub. * guix/tests/gnupg.scm (%ed25519-3-public-key-file): New variable. (%ed25519-3-secret-key-file): New variable. (%ed25519-2-public-key-file): Renamed from %ed25519bis-public-key-file. (%ed25519-2-secret-key-file): Renamed from %ed25519bis-secret-key-file. * tests/keys/ed25519-3.key: New file. * tests/keys/ed25519-3.sec: New file. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> Attila Lendvai