<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix/etc/git/post-merge, branch koszko</title>
<subtitle>Wojtek's customized Guix</subtitle>
<id>https://git.koszko.org/guix/atom?h=koszko</id>
<link rel='self' href='https://git.koszko.org/guix/atom?h=koszko'/>
<link rel='alternate' type='text/html' href='https://git.koszko.org/guix/'/>
<updated>2024-05-25T14:23:56Z</updated>
<entry>
<title>maint: Suggest ‘guix git authenticate’ for initial authentication.</title>
<updated>2024-05-25T14:23:56Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2024-05-07T13:54:44Z</published>
<link rel='alternate' type='text/html' href='https://git.koszko.org/guix/commit/?id=73b3f941d7d911a1b2bb2bf77d37cb3a12ed4291'/>
<id>urn:sha1: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>
</entry>
</feed>
