From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id iMbYGVmx5WX6bQAAe85BDQ:P1 (envelope-from ) for ; Mon, 04 Mar 2024 12:32:41 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id iMbYGVmx5WX6bQAAe85BDQ (envelope-from ) for ; Mon, 04 Mar 2024 12:32:41 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=wolfsden.cz header.s=mail header.b=Soa2OcBp; dkim=fail ("headers rsa verify failed") header.d=wolfsden.cz header.s=mail header.b=Soa2OcBp; dmarc=fail reason="SPF not aligned (relaxed)" header.from=wolfsden.cz (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1709551961; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=x8w8x7IRgAbj1CkpIVOpF0+ApCZutByj5uOlOKOSpbc=; b=HFrldK+XUR/6fn9mThVvzky4uVRmKJ9baW4NFkuRYfmjjeYpR3K2mrJfEFuS7PSGaX3jWN /SBLUAvM+cV0QGwHQf/gMMwcFxoupXzZJOhC9mYuqzdPdufuKVJoYIuuzvPQ5dwariwBv/ IjMwwAjRPjLacxhUMEAPZTxQ8yA7VJ1HCO3qJxvUGbPP8VKujbMh5485jrGVt2IOHnWQPW ZqZCo9qrZweGqYDbDyB1quaaY8ZQsHb5UYMNanDVR9/tz/DjSZljVqwUUbJXEXMCKQv6N8 JaZT6BCcahEp05EmYmJt1y8aJIBDhZegpivW1uTMV8wCur+9ypMOFWtv4vZUCw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=wolfsden.cz header.s=mail header.b=Soa2OcBp; dkim=fail ("headers rsa verify failed") header.d=wolfsden.cz header.s=mail header.b=Soa2OcBp; dmarc=fail reason="SPF not aligned (relaxed)" header.from=wolfsden.cz (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1709551961; a=rsa-sha256; cv=none; b=T+8KF3Kv8Sx3ZKI5JD/SxV7SRpYWSHbA7+mYpu+lN1SBtf1YMjMEwAGj1nseUjiDihhj0o UwDoS6BsU4qG0DRl+7bybl39psQi/672XfxF357d67NRbi8kHTq8qmq1f3jabBmGaLet1T XHnDvKLX9cRxwEohoLXfFs2SrM3wdNDoiO4p5FIucramkWyQk2of+KsZ17dwmN6bETSqp+ K4k+v0s99jSCLZ9GE8PPy917ORqcobJMtmg0UdX6+yQzMxaG+xnGRN0S9IzzzPO7V4FK1K Fhue7mUqJYKRQNz+/45GoudRN70rOsVZX+IWKp2dIM6fqllf2hd1j2iYM+lZNA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4999C3838D for ; Mon, 4 Mar 2024 12:32:41 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rh6Yc-0004GV-2Q; Mon, 04 Mar 2024 06:32:34 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rh6Yb-0004Fq-1M for bug-guix@gnu.org; Mon, 04 Mar 2024 06:32:33 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rh6Ya-0004qv-PQ for bug-guix@gnu.org; Mon, 04 Mar 2024 06:32:32 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rh6Z4-00087n-8g for bug-guix@gnu.org; Mon, 04 Mar 2024 06:33:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#69541: pre-push hook does not check the ref being pushed Resent-From: Tomas Volf <~@wolfsden.cz> Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 04 Mar 2024 11:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69541 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 69541@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170955197431214 (code B ref -1); Mon, 04 Mar 2024 11:33:02 +0000 Received: (at submit) by debbugs.gnu.org; 4 Mar 2024 11:32:54 +0000 Received: from localhost ([127.0.0.1]:42160 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rh6Yv-00087M-V4 for submit@debbugs.gnu.org; Mon, 04 Mar 2024 06:32:54 -0500 Received: from lists.gnu.org ([209.51.188.17]:38156) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1rh6Yu-00087F-TR for submit@debbugs.gnu.org; Mon, 04 Mar 2024 06:32:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1rh6YQ-00046k-Tu for bug-guix@gnu.org; Mon, 04 Mar 2024 06:32:23 -0500 Received: from wolfsden.cz ([37.205.8.62]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1rh6YH-0004lv-I8 for bug-guix@gnu.org; Mon, 04 Mar 2024 06:32:22 -0500 Received: by wolfsden.cz (Postfix, from userid 104) id 7526F24ABFC; Mon, 4 Mar 2024 11:32:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1709551931; bh=kqEJT2KYRaKssen4KzjoHHJ6FNdqil7gqxiebLkQZNY=; h=Date:From:To:Subject; b=Soa2OcBpt5OwIHTnaBRtudMw/J481JOMJxsdnUFzR1YHSZeYr3C0iphwEPKq/UkdL CKdt6DyZ9P3t9ZyzbWNExYH5PtTmHCV8uT5QTihB7B8yoS/UYcwQBmVJrJCp20p1E4 jvUthWEfKg5VHlkYGs2kYtIoUvQB2RzahIRAYz5Sz8l9cRF6XCTBfhP0XhPNVDTGrH x8qD58gI8v2ubI/Zh8C1jkGpoWl2RzhanAp0NJ2XrdfR91EuLmBYB5oiKGth7/EHYk mMx6yw9ZdCTNiADEr3WqVMo7OJmDxClf1b+OKmKui+7Za0Omop+D8N/JKpzNJeRKqU zcxKiGSwl5VljIS6kCJ0bVqxcNXnT7nFpImiIH7W0JBaVsodykGlimjLs1wXHYQhe2 9YlzfmEIE9g6uTxThdcQHaRdJbuFEVQOzeJghEaagpRH+6og/z39wLGPKrPreac20a 1WCCJHr9Fqbcg3A5DL8BRXGyes34dcD5Qb+7OFT3eDT2OhQbYPUn8r7IQ768kkIHR6 l/1nHd6ooqkKjllzsm7r+5n/sk1GZYBcoL7k5NRzqF/AFVFxsD/9GlWT+QlWWpuvmO 7Ra1ZO62Yqw0nYfIOpUt64K77e6dOHLtJseCDL1LqLcg0J2QiQ7cC7PrnGH/mUTY77 Dv9veyHOCMyNgBPtLC3XXk3o= Received: from localhost (unknown [81.17.16.82]) by wolfsden.cz (Postfix) with ESMTPSA id 2485724CC0E for ; Mon, 4 Mar 2024 11:32:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1709551931; bh=kqEJT2KYRaKssen4KzjoHHJ6FNdqil7gqxiebLkQZNY=; h=Date:From:To:Subject; b=Soa2OcBpt5OwIHTnaBRtudMw/J481JOMJxsdnUFzR1YHSZeYr3C0iphwEPKq/UkdL CKdt6DyZ9P3t9ZyzbWNExYH5PtTmHCV8uT5QTihB7B8yoS/UYcwQBmVJrJCp20p1E4 jvUthWEfKg5VHlkYGs2kYtIoUvQB2RzahIRAYz5Sz8l9cRF6XCTBfhP0XhPNVDTGrH x8qD58gI8v2ubI/Zh8C1jkGpoWl2RzhanAp0NJ2XrdfR91EuLmBYB5oiKGth7/EHYk mMx6yw9ZdCTNiADEr3WqVMo7OJmDxClf1b+OKmKui+7Za0Omop+D8N/JKpzNJeRKqU zcxKiGSwl5VljIS6kCJ0bVqxcNXnT7nFpImiIH7W0JBaVsodykGlimjLs1wXHYQhe2 9YlzfmEIE9g6uTxThdcQHaRdJbuFEVQOzeJghEaagpRH+6og/z39wLGPKrPreac20a 1WCCJHr9Fqbcg3A5DL8BRXGyes34dcD5Qb+7OFT3eDT2OhQbYPUn8r7IQ768kkIHR6 l/1nHd6ooqkKjllzsm7r+5n/sk1GZYBcoL7k5NRzqF/AFVFxsD/9GlWT+QlWWpuvmO 7Ra1ZO62Yqw0nYfIOpUt64K77e6dOHLtJseCDL1LqLcg0J2QiQ7cC7PrnGH/mUTY77 Dv9veyHOCMyNgBPtLC3XXk3o= Date: Mon, 4 Mar 2024 12:32:10 +0100 From: Tomas Volf <~@wolfsden.cz> Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ud2CcBPvnKtiiNME" Content-Disposition: inline Received-SPF: pass client-ip=37.205.8.62; envelope-from=~@wolfsden.cz; helo=wolfsden.cz X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 3.68 X-Spam-Score: 3.68 X-Migadu-Queue-Id: 4999C3838D X-Migadu-Scanner: mx13.migadu.com X-TUID: /ljfHnQX0t6C --ud2CcBPvnKtiiNME Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello, the pre-push hook just calls `make authenticate check-channel-news' without any attempt to actually switch to the ref that it should check. This means it always authenticates HEAD, not the ref being pushed. That seems wrong. Have a nice day, Tomas Volf -- There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. --ud2CcBPvnKtiiNME Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmXlsToACgkQL7/ufbZ/ wakcUw//U1VrowluFrBmiT0xK/KY2OToPLoja/9TjLzUO3ifB9JeWEWQH9BsLX2o ToNogZdYaHF51XNUlPwZgN4m+m7wUJ8rjsoKs3CfgBBBf504q1VE7FfuPXcE4P8i vds1/QGjFC6ZuLzf8NZy/nc/AATUzkcCh4++6vUupXrtWSdJ5g3VcuYEURNQBdcI PnBoMrR931oHok+BK5vnMHUet18IBeB5RJHEhVluEbhL2jffLGai6pGS1yM+HWDm UcJoNKW6ysmwcs0VKfwgmC/NRiGRK2hCJhgjrfrYyBzgtAnQCt8bQ7lov4BYRlMj Lzgkbb0aI0XD1NFBPpRiR/OvUVTYqWkM9d9FRZ6deUhoFoZxM54yVllD5xuh09Bc D2cC1+Ge2tBrpjUUiqMFIQn3tQVuVVU0j9NZVswZMNuj0qGqws+8hcEKtTP1xTNd QiLhz5OS69On5b/XEHbHAdlC3n/MpyG84WQqz3MFdGa3tXi6XoqO+xXFs4eBDcKX WSLE3+slkFCQY2GRBwVqC127hE/CKfVOzsSe2hcGRSJsB++ck9dcHG6oxNp0TqBI j5VD0DzVXlYI7h9ftRIslJsc1SKXeTkbBzTXU8bw0QqNdWQmYyTr9vn5EK/Wylhu sIRFQqtMoMg8bR9+xOvzJsDzXlJC527b7W7gi69ziwNxuY73Kec= =RGTN -----END PGP SIGNATURE----- --ud2CcBPvnKtiiNME--