From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id LtFMAgQLTmA2HwAA0tVLHw (envelope-from ) for ; Sun, 14 Mar 2021 13:09:24 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id UNYJOQMLTmA9GwAAB5/wlQ (envelope-from ) for ; Sun, 14 Mar 2021 13:09:23 +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 3882B1206C for ; Sun, 14 Mar 2021 14:09:23 +0100 (CET) Received: from localhost ([::1]:57466 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLQUk-000289-0J for larch@yhetil.org; Sun, 14 Mar 2021 09:09:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36296) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLQUR-00027y-GE for guix-patches@gnu.org; Sun, 14 Mar 2021 09:09:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49775) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLQUQ-0006rU-MB for guix-patches@gnu.org; Sun, 14 Mar 2021 09:09:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLQUQ-0004D5-GI for guix-patches@gnu.org; Sun, 14 Mar 2021 09:09:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47136] [PATCH 0/3] services: certbot: Add dry-run? option and a couple of other minor fixes. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 14 Mar 2021 13:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47136 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47136@debbugs.gnu.org X-Debbugs-Original-To: Guix-patches Received: via spool by submit@debbugs.gnu.org id=B.161572729216120 (code B ref -1); Sun, 14 Mar 2021 13:09:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 Mar 2021 13:08:12 +0000 Received: from localhost ([127.0.0.1]:33088 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLQTc-0004Bv-0R for submit@debbugs.gnu.org; Sun, 14 Mar 2021 09:08:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:59068) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLQTa-0004Bo-W6 for submit@debbugs.gnu.org; Sun, 14 Mar 2021 09:08:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36244) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLQTa-00024A-RM for guix-patches@gnu.org; Sun, 14 Mar 2021 09:08:10 -0400 Received: from mout.gmx.net ([212.227.17.20]:54905) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLQTY-0006Ib-UG for guix-patches@gnu.org; Sun, 14 Mar 2021 09:08:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1615727285; bh=AKd0DgC8pwail4GfSdvKbn1PtFF9G+GHTGmg5elnuYw=; h=X-UI-Sender-Class:From:To:Subject:Date; b=NO0OgnH0l+TtxeD1IDbmiuuvWZZcVJEAHyZhOZ7/AXBmFq2nhSlOOGB4wSjVhGG0h Y14x55evC/sEPh1EmeEvxrkJaTzfI4bZXccnj0JhnYhycMivOW2djKVhW+qjj6r62k 9Yor/3QcLUsepv40d1XlLjvr/wPnWfMa3qs6Hh4U= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from labiere ([82.69.64.142]) by mail.gmx.net (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1M1HZi-1lIfK32HzG-002sop for ; Sun, 14 Mar 2021 14:08:05 +0100 User-agent: mu4e 1.4.15; emacs 27.1 From: Pierre Langlois Date: Sun, 14 Mar 2021 13:08:01 +0000 Message-ID: <87k0q9c28e.fsf@gmx.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Provags-ID: V03:K1:H2UKDQ/hBM4+pjJUEg8IeeAy5gL7kRDSgPXFYFGEvxlCcTUViDd 8A7q9fvtNRx3Ov4Na/ofsP3WGK1pUzHrcOyxwnkWXe2b+jsLpCF1izEv5BsFzt7ktwUru3W K9YO9bQMRdZFk/Kbfl40ceH1vruwjBqG4KyHy9o7pY7T4mpgiWQChfDUbqRlB9EO5NmoJO8 1F20Lg2WNTCDr3t2Ws5cA== X-UI-Out-Filterresults: notjunk:1;V03:K0:6Li9SQjvEBs=:+tu5F5iOGeAKmOQeHK24jk 55uT0GsFZgdqEZ1LXLbIg99td0I7CFYbtnVzy2hmsoe4JILlRvHm2Kp2RjTNRvnNONldHGaA8 2gVZHL5MSAfQbXZ74dWDCGe7rD5zuRMysm8a8zWFIyCH4W868K7VW00l9gIwtqgcN64jeCUQX r8PbAxochqq1wHQkB5+ov4HfBYGVhIu9WJWgNYm8gvf72takWs+1sF8bLanFlGGSua8MSbzHG lCTJKqaDBStBZC6M+k2/2hSDuuiIyzFaMJXxEiDSsEcoLMlGuZQlA4J4LkdlkDRcGA8krEtxQ zY5qdkiWtdPc6AWpbrYYTFVXRtS5xuXezlu9P/A+uDP4Bqbwqp67IF5xvnaC+eL6OaVUcQtgg NGNkMfXy7FnT3zDtAYHPwhKq7CRA8dK9hQaMVwctQK0S2IaPEFSUzNG1M2JNQ9KVcO2aHlQd9 JQTgjBlJZqR60v5+3YtmLfmFvONIHD+GNzPSuGPq8TyMoYhG1Xj8L1kCblk8tgfCAf8B1dlLM yhE470DShU8SXxvYFZucPsS3qk6j12iEtjO3fZNYjKTPV8PwzifDmvVMtAd4A+Avi2SMQLcYo vhfBe4AsfWBqwD2JKHpyMLzrGOuZziylwXsM1QewNKZe29SNv38cGi3VeQcWlS0jnGvbALZ5p 0EMg3lTGoRH93OpUI978ZRcOKZTZWfoG3ASfE0bwbcSWSJkc8fQ/N1lDX53+qeszrxeoeL81J AV55wlCbUmCECaIgoSHzgE8zNwB9cPyc+1MXgxr0SD44mtfBWSKfx6ptgCnvLVIahCbBiVz5j K0Uz/xfp+mZRbSj2/xw3Y32X+cOAgFzhsN4F1OqDCaf0WtVIn/+AyBl1AV+k/Jjk2YS62i1yY GAPx+Ehv97slWvdrCr4A== Received-SPF: pass client-ip=212.227.17.20; envelope-from=pierre.langlois@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1615727363; 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=d1NulOECciiXykPRJh1LFY7WZ+FfCKQ/goMgcVIaGEM=; b=XyhLuhmi7mxWXtrK5n+tdMPExm2gybXTtHYFgjrT9a5xQGI8vOxO42nO+FrfKLCMfS8hLa ON/lH7k8luwmDZUH2Uu91XQCVGqe4fbHfDUcrec9sGkIZddpBja9lpXbFir3NqKu/0CAch NNQ+1Gsmj9wSvHEYiNZnMoVLyzf6P+tXrzhekcWrofzvWCP4A7GDtkan/Vn1SbOuK5mXj3 fV3UOOmVtDPCHQoMWspzqNMhCMjqc+wO6XbpO1HNLANo775mn/yH2sjvMdf95QnIAsHB+b G/12Jkry+/bMfH12gnoK5jceHoBPA8jTyy12L/LrqR3KHRgd2efsnUZrJ+mOFA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615727363; a=rsa-sha256; cv=none; b=Ftr1CO5oiFO2usqfuu/V04xB2gD8Xy6Ofo+lsPxQWnFzHFFUvFOHtdU7ghX5v5MD4T7avN HLljQrErMU7IZa/q9Q4vnHaim97GFbGM6183Iu+RIskspCpe1xpkaFp4J7TyouwIt4WRfg nivkR7b3Low7dLUU9/xTrO2xP03+ResKHqfCYYLUvRafhqVtXLZmr5782vsz1VBFlt4+AW We+o7XmhXol5ShBx5ywVFgCZWnuTnqsn7PgxC1geoqCBcIrc6JChG+HnAZoxW2rVrnPN4r Zy3P8XaRS54WdtOZOQnISf/FlzSVtagY+2j7WYWpt1yoMQC3OfmKVj6hRaXSeA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=NO0OgnH0; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmx.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 0.60 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=NO0OgnH0; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmx.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 3882B1206C X-Spam-Score: 0.60 X-Migadu-Scanner: scn0.migadu.com X-TUID: 222yWTRfm6gv --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Guix! I was recently updating my certbot definition to use a manual DNS challenge, and I found using the Let's Encrypt staging server along with the --dry-run option to be really useful. Especially given it can take a few attempts to correctly build your own hooks. So I've added the option to set dry-run? in the certificate configuration, let me know what you think! I've also included a couple of patches in the series for minor fixes, removing a now deprecated flag and a small fix in the docs. Thanks, Pierre Pierre Langlois (3): services: certbot: Remove deprecated --manual-public-ip-logging-ok. services: certbot: Refer to authentication-hook in documentation. services: certbot: Add dry-run? certificate option. doc/guix.texi | 43 ++++++++++++++++++++++++++++++++++++---- gnu/services/certbot.scm | 12 +++++++---- 2 files changed, 47 insertions(+), 8 deletions(-) =2D-=20 2.30.2 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFMBAEBCgA2FiEEctU9gYy29KFyWDdMqPyeRH9PfVQFAmBOCrEYHHBpZXJyZS5s YW5nbG9pc0BnbXguY29tAAoJEKj8nkR/T31UrW8H/0Y9qqX7dgdEOgzDMIiZRGWg EPI4Tk0iWJvGYpVm293GTgpFmeo1s1z2IxnHyaglwH/LjhLaLL3NK9MHQHJwTWcd IalUdCaKPHUpjLuslRe6xNshnroWdQnvjlv/vsCXlInCzhSOmrDfPEkQER6RfxKx 39Zt77GNx9kaP4DRRnETt9Y7qEj8bppJU1x7DcbCt9pEi9YwUvq0HYECoh2dV2ju tjCnEBXLDb1iZ+V6GOqVVzz0TZ18phk9WBfJndRUK65ym1fjTEadKiVSwXqPCbXE B93vyvbswjhDawpSMpKyy10xFLs+Vg2W3JcJn7lvL4+SVpsqzVLfeJNnw17q+bQ= =M9CA -----END PGP SIGNATURE----- --=-=-=--