From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uNFEBCxLsGHAuAAAgWs5BA (envelope-from ) for ; Wed, 08 Dec 2021 07:05:32 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id oAtpOytLsGH+NgAAbx9fmQ (envelope-from ) for ; Wed, 08 Dec 2021 06:05:31 +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 730CA2C77D for ; Wed, 8 Dec 2021 07:05:30 +0100 (CET) Received: from localhost ([::1]:38286 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1muq53-0001KB-HY for larch@yhetil.org; Wed, 08 Dec 2021 01:05:29 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54314) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muq2f-0008PZ-Jv for help-guix@gnu.org; Wed, 08 Dec 2021 01:03:01 -0500 Received: from mugam.systemreboot.net ([139.59.75.54]:54040) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muq2b-0005tj-Cw for help-guix@gnu.org; Wed, 08 Dec 2021 01:03:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=7yJ9T7nfyJhuLxcumN/Knjn4LccJcZ5JiktDuDc3A2o=; b=nUE2L+U4mT+AxA416OUwLsMbfP JHIe83vU1enOmg7Om30vH85ihwJNw+shWdwBbi1XVj3wAutq4AwcoRnF5ysITcQERbdlrohzMI9MY 9wPRF5Cnn9L241esNDlUEro91Vn6ug6p8zC5XBBvw/p4S6WP6L5KSj9iRI/lgB+GRqjQRK94BvGQW bZQhoaqtlEv9CkCoXM8woy4hrxeYEOQzFM37o4dRPTpuNnMYYLrFy9QfnDt1qvx4qQqIuQg8fKbmi p2ziKKdw+vARlRe6hKHrb83dJAjoUZ4v6qVtBJclVe+20QybCADA5CtAuAZlSRx0Y4Bwtktyrq+H8 kE8QdUwg==; Received: from [192.168.2.1] (port=34818 helo=steel) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1muq2Q-000GjR-SD; Wed, 08 Dec 2021 11:32:47 +0530 From: Arun Isaac To: Nathan Dehnel , Gary Johnson Subject: Re: How to put a file in /gnu/store and set its permissions In-Reply-To: References: <874k7mihb6.fsf@disroot.org> Date: Wed, 08 Dec 2021 11:32:41 +0530 Message-ID: <87v8zzws5a.fsf@systemreboot.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=139.59.75.54; envelope-from=arunisaac@systemreboot.net; helo=mugam.systemreboot.net 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_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1638943531; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=7yJ9T7nfyJhuLxcumN/Knjn4LccJcZ5JiktDuDc3A2o=; b=lkqvO84gmEy4A/KFKckNk27JD3nXVC+dwm7hMWv0f0ArgLRcgou87N/cCKJNrgNMLW1Wg6 YMhp10UHWGnwbJs0ZwL63vslVhlY6fVmq2cz8olDJO6kSm/LavQJ4AouEDoauVwRqZ0zK6 7WlMAVD/JwnftCT7X2l4clht2ohGgM8x6memH46M6GNygg4A11KaLV0EDlDikib1IFp7KB x3lLkS1kCvMz+RBHw3hUeqcZ5heNnIfZxT62PAKsI2DoHo47vmPWNT88W1IrIPJ0fgjWnV ekkn4MpAWlHG0CBKB0oq3oXVfI04DRaLQS96ACti32wBo1UBRIP4HnkRv+XsGg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638943531; a=rsa-sha256; cv=none; b=Tqmhc/0x51XVxcONK8XKurlB8FEdbjgOszMtxJKdkovPT4n7WBsVtls5EzGtFcfOFlmgQJ ecOTcP4oc6oJ5rtK9PE6R0dsBEez2zv8VkuaQL5j+WgL9nKG4eFYaVdgKGVVHAxJwtA3X/ /ay2t+RI4CnPKOnMxpnBl5JNz9odnMhWVmwOz1FG2tppoCz2k+ZAIgjRDG+9bKPWjyejg7 4uJkKPgQPUPVwJvzLVq/2Hy8aXbpLbwPbICAnNH+gVNiHYjdMYqBT6rgNA3edzv/rSM8ZI 03yn3+loGHppDF7mvYwoFoep2hDvB0aM1z6fvdnGYTgCfZvvK5vvw6hGYHVqbA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=nUE2L+U4; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.45 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=nUE2L+U4; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 730CA2C77D X-Spam-Score: -4.45 X-Migadu-Scanner: scn0.migadu.com X-TUID: sE/NKZTdh9S2 --=-=-= Content-Type: text/plain > by the looks of it, would still be putting the key in the store, which > is insecure. That's correct. I think you should look at how the ssh service or the wireguard service manages its keys. IIRC, they do so by generating a new key during /activation/ of the system. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFPBAEBCAA5FiEEf3MDQ/Lwnzx3v3nTLiXui2GAK7MFAmGwSoEbHGFydW5pc2Fh Y0BzeXN0ZW1yZWJvb3QubmV0AAoJEC4l7othgCuzY4sH/ipQAkoMo2Om6H+n46Rx K0ZzHoWe25RS53YXJ03M0Z3C23t0vSNsornRgsFmJp7DxR+6UeJQyf5GsgyDmUhb GR6CVqi/39GIEe4NQ0VVtUbpVFbjekbS1cxTZjV6x9eoSNzaaff2zPuq33sbAVqe XZ6N8ldHQ9n1FQ5DZrF8G9PgcCYTPedqIwwCoHsGth85x4cS9nuvcxEZoNozO/jZ LZaXvVMAn4ReV1BQLPX4QVp8Sp8PA7KorBALS5YOOFBansGhEpn2rphZqRviUhkl pAyzv+RVY8x17D5K8kEYZRMbW2YTCuwZkzhUUTXI3ldWbJpaAalds5dyipX6y1rS Y1M= =vPbq -----END PGP SIGNATURE----- --=-=-=--