<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix/etc/git/post-merge, branch master</title>
<subtitle>Transactional package manager, declarative GNU/Linux distribution, reproducible deployment tool, and more! https://guix.gnu.org</subtitle>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/'/>
<entry>
<title>etc: Ensure guix.authenticate section is populated in post-merge hook.</title>
<updated>2026-03-23T23:53:50+00:00</updated>
<author>
<name>Maxim Cournoyer</name>
<email>maxim@guixotic.coop</email>
</author>
<published>2026-03-21T03:05:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=83dfc5475d011095dcded8a4e9a30a1cd1ded34b'/>
<id>83dfc5475d011095dcded8a4e9a30a1cd1ded34b</id>
<content type='text'>
This provides some extra automation.

* etc/git/post-merge [!guix.authenticate.introduction-commit]: Run
initial 'guix authenticate' command, as documented in (info "(guix) Building
from Git").

Fixes: &lt;https://issues.guix.gnu.org/80564&gt;
Change-Id: I5775514c6b8785213e2d0e834bdd7e3a961c8930
Reported-by: Tomas Volf &lt;~@wolfsden.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This provides some extra automation.

* etc/git/post-merge [!guix.authenticate.introduction-commit]: Run
initial 'guix authenticate' command, as documented in (info "(guix) Building
from Git").

Fixes: &lt;https://issues.guix.gnu.org/80564&gt;
Change-Id: I5775514c6b8785213e2d0e834bdd7e3a961c8930
Reported-by: Tomas Volf &lt;~@wolfsden.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>maint: Suggest ‘guix git authenticate’ for initial authentication.</title>
<updated>2024-05-25T14:23:56+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2024-05-07T13:54:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=73b3f941d7d911a1b2bb2bf77d37cb3a12ed4291'/>
<id>73b3f941d7d911a1b2bb2bf77d37cb3a12ed4291</id>
<content type='text'>
The previous recommendation, running ‘make authenticate’, was insecure
because it led users to run code from the very repository they want to
authenticate:

  https://lists.gnu.org/archive/html/guix-devel/2024-04/msg00252.html

* Makefile.am (commit_v1_0_0, channel_intro_commit)
(channel_intro_signer, GUIX_GIT_KEYRING, authenticate): Remove.
* Makefile.am (.git/hooks/%): New target, generalization of previous
‘.git/hooks/pre-push’ target.
(nodist_noinst_DATA): Add ‘.git/hooks/post-merge’.
* doc/contributing.texi (Building from Git): Suggest ‘guix git
authenticate’ instead of ‘make authenticate’.
* etc/git/post-merge: New file.
* etc/git/pre-push: Run ‘guix git authenticate’ instead of ‘make
authenticate’.

Reviewed-by: Maxim Cournoyer &lt;maxim.cournoyer@gmail.com&gt;
Reported-by: Skyler Ferris &lt;skyvine@protonmail.com&gt;
Change-Id: Ia415aa8375013d0dd095e891116f6ce841d93efd
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The previous recommendation, running ‘make authenticate’, was insecure
because it led users to run code from the very repository they want to
authenticate:

  https://lists.gnu.org/archive/html/guix-devel/2024-04/msg00252.html

* Makefile.am (commit_v1_0_0, channel_intro_commit)
(channel_intro_signer, GUIX_GIT_KEYRING, authenticate): Remove.
* Makefile.am (.git/hooks/%): New target, generalization of previous
‘.git/hooks/pre-push’ target.
(nodist_noinst_DATA): Add ‘.git/hooks/post-merge’.
* doc/contributing.texi (Building from Git): Suggest ‘guix git
authenticate’ instead of ‘make authenticate’.
* etc/git/post-merge: New file.
* etc/git/pre-push: Run ‘guix git authenticate’ instead of ‘make
authenticate’.

Reviewed-by: Maxim Cournoyer &lt;maxim.cournoyer@gmail.com&gt;
Reported-by: Skyler Ferris &lt;skyvine@protonmail.com&gt;
Change-Id: Ia415aa8375013d0dd095e891116f6ce841d93efd
</pre>
</div>
</content>
</entry>
</feed>
