From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4GtRF90sfGGCLQAAgWs5BA (envelope-from ) for ; Fri, 29 Oct 2021 19:18:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id iK4GE90sfGFTVgAAB5/wlQ (envelope-from ) for ; Fri, 29 Oct 2021 17:18:21 +0000 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 AA53931CCF for ; Fri, 29 Oct 2021 19:18:20 +0200 (CEST) Received: from localhost ([::1]:51508 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mgVWC-00040c-9e for larch@yhetil.org; Fri, 29 Oct 2021 13:18:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50210) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgV02-0006aq-Gk for bug-guix@gnu.org; Fri, 29 Oct 2021 12:45:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44191) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mgV02-00036T-8Q for bug-guix@gnu.org; Fri, 29 Oct 2021 12:45:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mgV02-0001DD-3J for bug-guix@gnu.org; Fri, 29 Oct 2021 12:45:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#51487: Acknowledgement (The openssh service does not allow multiple authorized key files per user) Resent-From: Vivien Kraus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 29 Oct 2021 16:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51487 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 51487@debbugs.gnu.org Received: via spool by 51487-submit@debbugs.gnu.org id=B51487.16355258664582 (code B ref 51487); Fri, 29 Oct 2021 16:45:02 +0000 Received: (at 51487) by debbugs.gnu.org; 29 Oct 2021 16:44:26 +0000 Received: from localhost ([127.0.0.1]:55737 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mgUzR-0001Bq-Uf for submit@debbugs.gnu.org; Fri, 29 Oct 2021 12:44:26 -0400 Received: from planete-kraus.eu ([89.234.140.182]:36444) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mgUzP-0001Bg-TR for 51487@debbugs.gnu.org; Fri, 29 Oct 2021 12:44:24 -0400 Received: from planete-kraus.eu (localhost.lan [127.0.0.1]) by planete-kraus.eu (OpenSMTPD) with ESMTP id be5470f7 for <51487@debbugs.gnu.org>; Fri, 29 Oct 2021 16:44:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=planete-kraus.eu; h= references:from:to:subject:date:in-reply-to:message-id :mime-version:content-type; s=dkim; bh=LgTGOEJfQ9FLRc3V08rBz2WCa CU=; b=RH2zOqCBklzLAoBzqTDn/3XHoBq69oCNf/YlEoqbIiZXbHA8/iy93K38c SpLWYELS58o9WzQpUZxEOth57AGF5xRD+V3VwW2/Cqb3vk4cDYi0+WuT9Yi56Kb1 GAZn2P7NkpipiOhQ17TpZ3joWdTu+gUdwSydxft906SaoOEIaM= Received: by planete-kraus.eu (OpenSMTPD) with ESMTPSA id 54f7ccab (TLSv1.3:AEAD-CHACHA20-POLY1305-SHA256:256:NO) for <51487@debbugs.gnu.org>; Fri, 29 Oct 2021 16:44:19 +0000 (UTC) References: <87fssjvmbp.fsf@planete-kraus.eu> User-agent: mu4e 1.6.6; emacs 27.2 Date: Fri, 29 Oct 2021 18:39:11 +0200 In-reply-to: Message-ID: <87bl37vl0d.fsf@planete-kraus.eu> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" 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" Reply-to: Vivien Kraus From: Vivien Kraus via Bug reports for GNU Guix X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635527900; h=from:from:sender:sender:reply-to: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:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=s7lsrsoELxahzW0VOgQG/VnW18WvZwse3FXmdCYpaZU=; b=jOpssqdqOG8NszrNj0bgmY8MoiGTXH8m6RPWZsji81VfjnnLlSogT7Oy9sVHJmPGKrYQ0V ERP+TaFVIc9YF2Y2oyp+Zc8gcf8T9yOn5iQBbz9KGtzUl0qS8IKW8F/YwfBKFPP9WqVaqY UGEXJzQC2kwWvfw5hdxmhN0zIwiBCgYdzNz8pdVXq26ocfgRDKt8HsyQ2ybyjEErEm/vPX 1Vb0Y5q0N7VE/Taa0ACQZgxG0Lc4MKVCbWhpKIa1BcuwwibVGrGVkfyAEa3jqNMmK9tNbm K0GNihP1Jf60vPMajc7mmRuGZ/M/rzu/uz8IRZ6QRUNJi8dqCZkicuv1A0MYxQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635527900; a=rsa-sha256; cv=none; b=PPewy6dj1EiBFEoPLM5KaAISv4szkoWF4yrA7Yxe1IDDE7xVEirr9D97VP2/UA9oe/5n+w l3JdxAU8fkUwOvhBg6l9pC/ogE6l+SQm1TmimXbBTdwRCT026/8ATpjjV67T3sFyu7y/hO dVMjmLV0FMJmbm60INcAkVPNV1hMhFQ1jMIt2Zd8oF8KeW0EDl12yIJkevq4Mg5XKHPPlC 9N+M4YyWkjivjXtNNiMF0XljkcvFcSIiwub8YttoKd+f0aLkLjc8KNDxa2TToj0UFf4xHy kJg2mL0ml9DvGd7ER8na7c1DQt/rbYGDS6QwFr0MFTyXDrpMIpRnz+vSz2S8Yg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=planete-kraus.eu header.s=dkim header.b=RH2zOqCB; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -5.56 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=planete-kraus.eu header.s=dkim header.b=RH2zOqCB; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: AA53931CCF X-Spam-Score: -5.56 X-Migadu-Scanner: scn0.migadu.com X-TUID: Jg2jeMj73oZW --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain I have a patch, what do you think? I tested it by building an operating system of the form: (operating-system ... (services (append (list (service openssh-service-type (openssh-configuration (authorized-keys `(("root" ,(plain-file "first-key" "ssh-rsa ...")) ("root" ,(plain-file "second-key" "ssh-rsa ...")))))))))) I caught the derivation to build the authorized-keys directory, and root had 2 keys. Without the patch, root had only 1 key. Vivien --=-=-= Content-Type: message/external-body; name="~/Projets/guix/0001-gnu-openssh-service-Collect-all-keys-for-all-users.patch"; access-type=local-file Content-Type: text/x-patch Content-ID: <87a6irvl0d.fsf@planete-kraus.eu> Content-Transfer-Encoding: binary --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAEBCAAdFiEEq4yIHjMvkliPpwQnO7C8EjLYuCwFAmF8JOIACgkQO7C8EjLY uCyI3QwAmU2y8iJYOfVR0ZgHbmX/rdeIbpWHtM6TFY3oH508SdQyoCwQDJxymQVE SqG6xi2DcEBOZEYULGDA0EAfjnz37BHMTNWlOyuZ4jLcxJONCqEJeHz5nX40vV9x 1uWgxQ+ReTSloCjxxLbGH4aeCmFHPB4vvTqPuR3cZS6APTID+iKkju84FgIRr6Vl 3IKs8hxHr7ykBG88Q9OMnplDJcBjZwOg2rAF60+3XkUJxJsR616wTuW57rXAnQr8 MXxdjCGjQjWjv3scsmYx0sp0+ZT25JGCR5ymgkHNS6bw1v5YUHoKkOmXMB5A6b+N Snjp9Qy4A8TIeZrk1XGq+f53/el12A2Vtq2Q8dJWZQO3IeZprs6GoSCDfmW2LwM1 6/yzbHYhQXAeWryZbvfk540cYcMHPbQQALe6hFrOJDQCIz56nq03UBrnWHCEVvZy DmlnnNwLc/GuYAgASwiOfBjLxLkuf6XoZsCwcO4uHuEyUylSrPdi+ivepwP9bF3t GcnzbUMO =Q06M -----END PGP SIGNATURE----- --==-=-=--