From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YC5JAFowfGG6OAAAgWs5BA (envelope-from ) for ; Fri, 29 Oct 2021 19:33:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id eLGeN1kwfGHJEgAA1q6Kng (envelope-from ) for ; Fri, 29 Oct 2021 17:33:13 +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 BBBE1320D7 for ; Fri, 29 Oct 2021 19:33:13 +0200 (CEST) Received: from localhost ([::1]:52416 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mgVke-00079k-Sl for larch@yhetil.org; Fri, 29 Oct 2021 13:33:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50604) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgV1z-0001gm-06 for bug-guix@gnu.org; Fri, 29 Oct 2021 12:47:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44195) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mgV1y-0005Et-L1 for bug-guix@gnu.org; Fri, 29 Oct 2021 12:47:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mgV1y-0001HP-FM for bug-guix@gnu.org; Fri, 29 Oct 2021 12:47: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:47: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.16355260164897 (code B ref 51487); Fri, 29 Oct 2021 16:47:02 +0000 Received: (at 51487) by debbugs.gnu.org; 29 Oct 2021 16:46:56 +0000 Received: from localhost ([127.0.0.1]:55741 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mgV1s-0001Gu-As for submit@debbugs.gnu.org; Fri, 29 Oct 2021 12:46:56 -0400 Received: from planete-kraus.eu ([89.234.140.182]:36446) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mgV1q-0001Gl-OQ for 51487@debbugs.gnu.org; Fri, 29 Oct 2021 12:46:55 -0400 Received: from planete-kraus.eu (localhost.lan [127.0.0.1]) by planete-kraus.eu (OpenSMTPD) with ESMTP id ffc2402b for <51487@debbugs.gnu.org>; Fri, 29 Oct 2021 16:46:53 +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=0D3SLlmNBfDwKPhjEy1XhKNWK DE=; b=CxZhMxxazv6IHlA/6Y+2gDhg5KK4sSeKfcnDHQX8BUWcC167kXu3CVUdd ELEoQX35ZDYHgh3znGOdy2bKmiHmfDm/9jTOmAsZL2Ea7dKgfvlChxx9KFI04LJ5 DgeC9UWEWteu0m2XGHE1kiY1/QgQWw8XxlLoz0AZh7Qvz2WlT0= Received: by planete-kraus.eu (OpenSMTPD) with ESMTPSA id 2e43fa89 (TLSv1.3:AEAD-CHACHA20-POLY1305-SHA256:256:NO) for <51487@debbugs.gnu.org>; Fri, 29 Oct 2021 16:46:51 +0000 (UTC) References: <87fssjvmbp.fsf@planete-kraus.eu> <87bl37vl0d.fsf@planete-kraus.eu> User-agent: mu4e 1.6.6; emacs 27.2 Date: Fri, 29 Oct 2021 18:45:48 +0200 In-reply-to: <87bl37vl0d.fsf@planete-kraus.eu> Message-ID: <875ytfvkw4.fsf@planete-kraus.eu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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=1635528793; 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=nigQY9DQpDRi79qvbt8g6DE4XeY11aPAwC5DgA6Ucvg=; b=iJ0y4Oyllh8pZjvmoNA9OnxoN24jaATTdvm7uqxuy2cLjwbWWrUva+4qQQYmSd8IkGjTsA d/jPXoSMUr0gOPvYxYpMeX26rcBO81PSLayON+HH9KVDEHH0Sip4v1M8rl//AANOsBmrqu fH3VjGF3tpNYS4mC/EcyR6MgKxh+qTmHiQtIIE94PZAjsmMFIEI3EfmCPvJQBq4WMqecH+ 9+wk2f3xsCCxkvSYT8Ti7S2XtOBqOpj0AN0D1FHy/z6gtXTfXLNrMlbQEevmJeI/PMOyo9 Gk6Ott8onW+PbtJw1iblRfY4FwxnJIRQQMld3gDMARavUFEZ5WKgYzdkbYj/8w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635528793; a=rsa-sha256; cv=none; b=QjCADeVvkn+ycIbYr1CbvDxIx7Qtihx2aiX2h37oKTsNh/utqyOpESRqH/GB9gwi09LYrE e08xKeOwI/p9PRAtQGcOU4kaZtmivDwn/9pUX3hU9Nz5aGWzobHj9HKPM7A2dQNceXY3DF IztNW2liq8yY65aVHxx0lbxaMPRZfPAFgFTKigq+4DGON23P9Vl/MY/I+NRNpsVFL8jfeT W8o780b+UFdW/xair5K0LEe8pvjmmTXhulyt7cC0a7A5YUPYW53xATqRQf6ndnW3hy9QEs BPiQK6YEGSfGLBAsmOIur5PkXFeITUoVQapnDuu+hurhyI88OOLsZ+nc2MHHtg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=planete-kraus.eu header.s=dkim header.b=CxZhMxxa; 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: -2.82 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=planete-kraus.eu header.s=dkim header.b=CxZhMxxa; 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: BBBE1320D7 X-Spam-Score: -2.82 X-Migadu-Scanner: scn0.migadu.com X-TUID: EtgY7GdudwkJ --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Vivien Kraus writes: > 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. The patch wasn=E2=80=99t formatted correctly, sorry. --=-=-= 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: <874k8zvkw4.fsf@planete-kraus.eu> Content-Transfer-Encoding: binary --=-=-= Content-Type: text/plain > > Vivien --=-=-=--