From nobody Sat May 14 11:14:12 2022 X-Original-To: hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 841F41AE2ED4 for ; Sat, 14 May 2022 11:14:27 +0000 (UTC) (envelope-from stephen.hocking@gmail.com) Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L0jZp5p2gz3mYT for ; Sat, 14 May 2022 11:14:26 +0000 (UTC) (envelope-from stephen.hocking@gmail.com) Received: by mail-pj1-x1032.google.com with SMTP id gj17-20020a17090b109100b001d8b390f77bso13049520pjb.1 for ; Sat, 14 May 2022 04:14:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=cKptj8h4OmrMMKZVoWmZnI2/JmI3WB2k/02TsQXe/ew=; b=ELXh6oKyILi9LvqcCCyH0YAyKi9yBauZfIljW7IcSSBSt2PDd8qmPQv2Vnltjorqbl ih0IFAdM+4uorAlRrzFifkBJMR7yUzCMCjvhqZxCE2LO/edYpi/IorVmfS3WX/3bBbwU 7trAgnbQz4xMfvushH3WvBh1si/pmmofTEQmnTQrP1dx8b4J8aZkG3DXY8TqpU8H7Lxr kgat6ldRXsP9qyBPazmi58bfgBxOKJnjWe+uoi8ef5Wy8m3Nm2LVOhfgUMSv16uhr8TN AgMqKZQ9JLeEIgPtamiHZWiwhWJUvzXcfzqVJkJpzWF7nCfJF0qHqbVclp1k2OXx3mw+ 2lbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=cKptj8h4OmrMMKZVoWmZnI2/JmI3WB2k/02TsQXe/ew=; b=RXQA334tqkUxsqI4a4JL/kWrdERNLTnFo2JqYSD4xDjEe/YO1XR4iTFQA8en+a9Zud JkLAmr/o6tqmLz7B0P0/U6CabRL5B/nsG9thYJWCmnQLuYLnF8easkg2o9QtJVQ38OOw OUhJXZ4xiQZvJVxt3siojnCMK5wBwM36Mytaizfejr9XvDLkgpCw61n9K3SwDjMix3WQ kccheB6F11JpryfVi6OWDWPupJMBglrnDf3gsVpEVJ8BJ8ZYkZb3kippAX4BDEWPrfTl jhtokj0CQTX7ednaT9GbrwVyj9JM1/HzLUTtIF5RljGn2uERsSnPmEhGlqcZJnYWEPXx QJBg== X-Gm-Message-State: AOAM532kOyvAuHKNvra5ELS3VLB5FYrBZAiGQCN549BWDgfMrWw2msWk mZd6j+sEfpo6Lgw9CzFPJCDAhX6NKOKPrxv/hTpDFnwLBbE= X-Google-Smtp-Source: ABdhPJy0ewp0uEFaBQBaesBltDeq3cME811Vkmc0Sb1IiHPz4B5nVKrmElQ5KGJS7lTy5g5RkeTFiwi6ZSoTXmW2g5A= X-Received: by 2002:a17:90b:164a:b0:1dc:981d:f197 with SMTP id il10-20020a17090b164a00b001dc981df197mr20753184pjb.228.1652526865058; Sat, 14 May 2022 04:14:25 -0700 (PDT) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 From: Stephen Hocking Date: Sat, 14 May 2022 21:14:12 +1000 Message-ID: Subject: EasyRSA's pkitool has the use of sha1 to sign certs hardcoded all over the place. To: hackers@freebsd.org Content-Type: multipart/alternative; boundary="000000000000c60e7005def6e46f" X-Rspamd-Queue-Id: 4L0jZp5p2gz3mYT X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=ELXh6oKy; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of stephenhocking@gmail.com designates 2607:f8b0:4864:20::1032 as permitted sender) smtp.mailfrom=stephenhocking@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[hackers@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1032:from]; MLMMJ_DEST(0.00)[hackers]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --000000000000c60e7005def6e46f Content-Type: text/plain; charset="UTF-8" Hi all, After coming across the recent issue that OpenVPN clients using new versions of openssl wouldn't accept ca certs I'd generated a while ago, complaining that the signature was signed with a suitably strong hash I went hunting. Turns out the openssl.cnf entry of what the message digest is supposed to be is over-ridden by the explicit invocation of -sha1 on the command line for a few of the commands. -- "I and the public know what all schoolchildren learn Those to whom evil is done Do evil in return" W.H. Auden, "September 1, 1939" --000000000000c60e7005def6e46f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Hi all,

After coming across the recent issue that OpenVPN clients using new v= ersions of openssl wouldn't accept ca certs I'd generated a while a= go, complaining that the signature was signed with a suitably strong hash I= went hunting. Turns out the openssl.cnf entry of what the message digest i= s supposed to be=C2=A0is over-ridden=C2=A0by the explicit=C2=A0 invocation = of -sha1 on the command line for a few of the commands.
--
  "I and the public know
  what all schoolchildren learn
  Those to whom evil is done
  Do evil in return"		W.H. Auden, "September 1, 1939"

--000000000000c60e7005def6e46f--