guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/03: doc: Mention the channel keyring branch.


From: guix-commits
Subject: 02/03: doc: Mention the channel keyring branch.
Date: Fri, 24 Jul 2020 12:56:47 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit cb3bae900f6c85d4529842bf75f3cca0b4bb1df7
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Fri Jul 24 17:44:20 2020 +0200

    doc: Mention the channel keyring branch.
    
    Reported by Pierre Neidhardt <mail@ambrevar.xyz>.
    
    * doc/guix.texi (Channels): Mention the keyring branch and the
    'keyring-reference' bit in '.guix-channel'.
---
 doc/guix.texi | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index 0d090ee..a6fc64b 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -4245,11 +4245,29 @@ time-machine}, the command looks up the introductory 
commit and verifies
 that it is signed by the specified OpenPGP key.  From then on, it
 authenticates commits according to the rule above.
 
-To summarize, as the author of a channel, there are two things you have
+Additionally, your channel must provide all the OpenPGP keys that were
+ever mentioned in @file{.guix-authorizations}, stored as @file{.key}
+files, which can be either binary or ``ASCII-armored''.  By default,
+those @file{.key} files are searched for in the branch named
+@code{keyring} but you can specify a different branch name in
+@code{.guix-channel} like so:
+
+@lisp
+(channel
+  (version 0)
+  (keyring-reference "my-keyring-branch"))
+@end lisp
+
+To summarize, as the author of a channel, there are three things you have
 to do to allow users to authenticate your code:
 
 @enumerate
 @item
+Export the OpenPGP keys of past and present committers with @command{gpg
+--export} and store them in @file{.key} files, by default in a branch
+named @code{keyring} (we recommend making it an @dfn{orphan branch}).
+
+@item
 Introduce an initial @file{.guix-authorizations} in the channel's
 repository.  Do that in a signed commit (@pxref{Commit Access}, for
 information on how to sign Git commits.)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]