From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 6Bd5Ds9x32RfJgAASxT56A (envelope-from ) for ; Fri, 18 Aug 2023 15:27:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id uJ9ADc9x32Q54gAAG6o9tA (envelope-from ) for ; Fri, 18 Aug 2023 15:27:43 +0200 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 B87D334FD5 for ; Fri, 18 Aug 2023 15:27:42 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=DxLTufZz; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692365263; 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: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=N0mYibnJI1wAu3V+rcdxt3CSHeQesGwecTUnvDWo5u4=; b=W9oDsyjqZ4lKM5q8bb6gOj+pzeHlS+ujT4lqMVKZq0UMHiqqwJ0bBaRKUByD8GTLoj1ZT7 kPY5LKe5VAESSfJr5/xZXzyfOSDdKvdYnYaRb1CfpQkX5nOMc8LP3vsWk/a5fqmYrti9Dc Bs+PtxjHMFLNFtFaGLVqSHHLTZ8m9D56lPGSCZSBfjQpAQ3EIY1WWAyUV3N0i4mdJ0mwF+ KKnAzISKVZMGukfJdzGTkHCQl3M8d+dcpX+jMlMVo3M1WgKyXV7KfhkRmFZzp5ndRxHYKy TMtxfRMo/CzZWy/Wk9iKDNjyn5X3+mV9BdJ9dyvuElLGAcKtIoNQ+ClTamzpFQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=DxLTufZz; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692365263; a=rsa-sha256; cv=none; b=Bwq0e8QetR3//q4KmQXkns7kS+0geZdC0XAruVPsXEEehGEUBDXPT7XOj+UFtENaN33jnN PLx6O/QtkMGm4eFbpj9qxWAbhPSmAMFedBR8f08LRUWtNJBilDl0vC6xUps37p46M5GbzI 8JskM+MaTmf9cA0AFmHMzVUUoc5weuSVEXyCJD6nvYm4ZHT1w+dhZreopt5iS9lhOt1gWz NPkEnSpWxSivYL4JII/EP+mkgENBH7LoSxxBQf5yndBRQxiydGDplHZOdPSoSHs5GiRaJg BVze3ClOLxAcXo3qX52utTbAkLiiHvy/ipIHzvmU+MubJGuc6g//jmmKSExBvA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qWzVd-00033L-7w; Fri, 18 Aug 2023 09:27:25 -0400 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 1qWzUI-0002k7-SH for guix-patches@gnu.org; Fri, 18 Aug 2023 09:26:02 -0400 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 1qWzUI-0000ar-Jh for guix-patches@gnu.org; Fri, 18 Aug 2023 09:26:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qWzUI-00066Q-IK for guix-patches@gnu.org; Fri, 18 Aug 2023 09:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64838] [PATCH] home: Add parcimonie service. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 18 Aug 2023 13:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64838 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 64838@debbugs.gnu.org, unmatched-paren , Andrew Tropin Received: via spool by 64838-submit@debbugs.gnu.org id=B64838.169236510423366 (code B ref 64838); Fri, 18 Aug 2023 13:26:02 +0000 Received: (at 64838) by debbugs.gnu.org; 18 Aug 2023 13:25:04 +0000 Received: from localhost ([127.0.0.1]:46369 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWzTL-00064m-OV for submit@debbugs.gnu.org; Fri, 18 Aug 2023 09:25:04 -0400 Received: from mail-qv1-xf2c.google.com ([2607:f8b0:4864:20::f2c]:46313) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWzTK-00064J-5C for 64838@debbugs.gnu.org; Fri, 18 Aug 2023 09:25:02 -0400 Received: by mail-qv1-xf2c.google.com with SMTP id 6a1803df08f44-64189860374so4939426d6.0 for <64838@debbugs.gnu.org>; Fri, 18 Aug 2023 06:25:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692365096; x=1692969896; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to :cc:subject:date:message-id:reply-to; bh=N0mYibnJI1wAu3V+rcdxt3CSHeQesGwecTUnvDWo5u4=; b=DxLTufZz31Kqf/E7E8dSfLJ/TavihwpMjL4rJOt8PvWrY7SKI3I5VXrf9MpWaWifbK X4GRJ3k5WVLYavWChfJgpNjUWcKmah6wBbhuPN/twaBAJCnqvUY0SbyHuxUp6u/dxf6V GYs/tjbv2NpJqwfqu4g996l5OIFsGSgL5UrguUAoeg6DK3nBAcIw9pZjUnPQV6tht1Mj dPwhhr2K/eYxcEN87G0S6oO5fDjf7EkRj06GYWwNT8vfpFO9imwv4unJMXK/Ltrv0tYs ZZcYhsQu9VBjR1dfFOMtqwvHc0iN9IbfetZN5P/wC2r0DGkI5EHCXBgragrqQQUs1NnH 4Wiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692365096; x=1692969896; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=N0mYibnJI1wAu3V+rcdxt3CSHeQesGwecTUnvDWo5u4=; b=Z0C5q8y9pEpNVZlCXDVL3KtBnVEvDdDbt2zVZws2GGyNa2UFw7SU0UKlF9o3NqzqFK r0Uvz11arlU96vTcLs096jZEUz1H2kGYmFMUaDhLfc0lvhNLv4GLykflgRjWVgOVtPka CLkD4rNDAgzd4Fkn9Cq5QeN9JSCtNdTJL/kTS27KwHf6lGzRvUocuszwtKh9iIXxBcks tUvgR2xr3JoQuwqhjgYOhRy8jnl7O/t1yxwEu8/qQPPc8N1K0sViL6SQe54Qhw71B7va nRF8p85mMHHb4FYCN7U4dWMvkzkl+pi5kGk+zkf3AiaPeDNvr129Yu/xgzr2557JULRA dVyw== X-Gm-Message-State: AOJu0YxFY3t1LHZwlmMA9nNXBdMQYxzWt3zgz9WhDbS0Xde230ssQPBj zPXofBFmVNbGfgBV1ml5pF4= X-Google-Smtp-Source: AGHT+IHtZBDxkbDwdjHmCkNNcrgDMm+0PxajKT7g5AR/VV1GxKuV4VL801rO4YIW7MqVUf5Xi1++NQ== X-Received: by 2002:a0c:f313:0:b0:640:5beb:d89d with SMTP id j19-20020a0cf313000000b006405bebd89dmr3067902qvl.40.1692365096069; Fri, 18 Aug 2023 06:24:56 -0700 (PDT) Received: from localhost (ool-ad039216.dyn.optonline.net. [173.3.146.22]) by smtp.gmail.com with ESMTPSA id t20-20020a0cb394000000b0063f78bd525asm670743qve.144.2023.08.18.06.24.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Aug 2023 06:24:55 -0700 (PDT) Date: Fri, 18 Aug 2023 16:24:39 +0300 From: Efraim Flashner Message-ID: Mail-Followup-To: Efraim Flashner , Ludovic =?UTF-8?Q?Court=C3=A8s?= , 64838@debbugs.gnu.org, unmatched-paren , Andrew Tropin References: <878raa4tk8.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="yKQjM5/m3eRW1bJ3" Content-Disposition: inline In-Reply-To: <878raa4tk8.fsf@gnu.org> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx2.migadu.com X-Migadu-Spam-Score: -3.79 X-Spam-Score: -3.79 X-Migadu-Queue-Id: B87D334FD5 X-TUID: yCB6LWPv6MLk --yKQjM5/m3eRW1bJ3 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 16, 2023 at 10:32:23PM +0200, Ludovic Court=C3=A8s wrote: > Hello, >=20 > Efraim Flashner skribis: >=20 > > * gnu/home/services/gnupg.scm (home-parcimonie-service-type, > > home-parcimonie-configuration): New variables. > > * doc/guix.texi (GNU Privacy Guard): Document it. >=20 > Very nice! >=20 > > +The @code{parcimonie} service runs a daemon that slowly refreshes a Gn= uPG > > +public key from a keyserver. Its refreshes one key at a time; between= every > ^ > =E2=80=9CIt=E2=80=9D >=20 > > +key update parcimonie sleeps a random amount of time, long enough for = the > > +previously used Tor circuit to expire. This process is meant to make = it hard > > +for an attacker to correlate the multiple performed key update operati= ons. >=20 > Maybe: =E2=80=9Cto correlate the multiple key updates.=E2=80=9D >=20 > > +As an example, here is how you would configure @code{parcimonie} to re= fresh the > > +keys in your GnuPG keyring, as well as those keyrings created by Guix,= such as > > +when running @code{guix import}: > > + > > +@lisp > > +(service home-parcimonie-service-type > > + (home-parcimonie-configuration > > + (refresh-guix-keyrings? #t))) > > +@end lisp >=20 > Maybe add: =E2=80=9CThis assumes that the Tor anonymous routing daemon is > already running on your system. On Guix System, this can be achieved by > setting up @code{tor-service-type} (@pxref{Networking Services, > @code{tor-service-type}}).=E2=80=9D >=20 > Apart from these minor nits, LGTM! Thanks. Apparently the dbus integration was for the parcimonie applet, but that's been deprecated so I'll remove that option. Also I think I need to test the service once or twice more, I need to make sure the append-map bits work as expected and it doesn't make an extra list. I'll push it once I've taken care of those bits. --=20 Efraim Flashner =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 = =D7=9D=D7=99=D7=A8=D7=A4=D7=90 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --yKQjM5/m3eRW1bJ3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmTfcRYACgkQQarn3Mo9 g1EIFQ/8Duf5JSMqQ5euovkZGjxhE4KuiY9Xl9iqWfeX6jorRDfUKbMYnjCysv3x mnPp3v9U4NzoGFkWjwQXPwdhsCyNh/FwkWcufhW8WO+dy4PKGtk2Qd9Gd73xdy1V MJiIyW3N86SmyvXPZXxyAn6BcjhlJFBuXd1SU8nc1K12vheCo0Qt0RJyyZ+kp8yG +v4VrrQ+Bg3KvM5vecvsn11ZG2mWoHEPw3k9RZDsBjrY0IqSPGTrBIfHlGKpA6XL I133drafY13I478h9vfUw6MhRW9sVTcdibwkvTNW9mDwuIvti1EZMQNGv1hcZTU4 rHawUhKWd5VPn1rpTWNGLSocg0PvKQqh1HIM/Q+G7MEfefigpGNWTXE1Qpy9j6nK psYA3T+ha/Jqjonz1A780KJ7xCdzyqfsR3qUi6NvRssz0BfsrPRS0w9O/LG+bXG1 WO4p/jAuij25eA/0NSdvKRaaSqI6Pb1h2oZuwCnF6+6yj6qMl3lYoMpc3hp6+zxx DUM9piowFz4eGbS7Xf5F864yvDHVmj7M1KD6pxI3IcTQNpZ78T5/5HbnasAxF9Ot oijqDIY7+iA7H4TDrPoW/mSVMXnZsCUWNAo2hWuiOEsDvBL+GVArmAz4bUICwCcE x8tL2w9WFUhnZr635Co+WXjXSU+KbKcJ2zb6J3m2ffXncSXgIi8= =XbvP -----END PGP SIGNATURE----- --yKQjM5/m3eRW1bJ3--