Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iCmV9-00076C-ST for pgsql-hackers@arkaria.postgresql.org; Tue, 24 Sep 2019 15:13:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iCmV8-0003sx-Ia for pgsql-hackers@arkaria.postgresql.org; Tue, 24 Sep 2019 15:13:14 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iCmV8-0003oC-1f for pgsql-hackers@lists.postgresql.org; Tue, 24 Sep 2019 15:13:14 +0000 Received: from mail-qt1-x844.google.com ([2607:f8b0:4864:20::844]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1iCmV4-00070Y-Rq for pgsql-hackers@lists.postgresql.org; Tue, 24 Sep 2019 15:13:12 +0000 Received: by mail-qt1-x844.google.com with SMTP id u22so2540941qtq.13 for ; Tue, 24 Sep 2019 08:13:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=iBvAYsFZoac3h/aoBsx6t5XiR8QhaYy4YITkseN+m14=; b=eJur+mMSoVgKUWVaIVsH1mJV0GtjH1TcIa5cYrAt6tCyt3D8LANk2zj/+IMTDz70Fv w7WhECxcLoHfA8f2BwkAXdIU5JAy/fIOXLeGxK0RFF1+wXGf/EVcViy1m+6vBzGhFzKx Z0aSqt4GrbVcuQoFvPMw1n4FzZ3ccfd+BPCgztfhIVO43gtpGpyVMihAvD8BZKg3zG4a 90HFc62ZJvCGtb6WQnGb11OfCi9P62oTeKVy5G++7NCf0HeyT7XRNlYZhUJ6UYJJJEml tkrz402d2NdEb4GkICwVNuDPC9HOJuj4LwjDyLs1l6r4wrDl0RQzBPxOFN3o1E+JcU0V KNIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=iBvAYsFZoac3h/aoBsx6t5XiR8QhaYy4YITkseN+m14=; b=DGckHShX8djlHyMuFkmVn+mjXGmMjgG8yHsm5VEE+1xfxXWctB3ajlyW3TNPKjOTIg eD3gKFYHqERgdJXaRsW4L2BKUNwKvvdgfA4tHoaqhZ+QQLtSL0YFpNPT+jdhn1ncVSsj XbiPHkyQ6c8XGDSweOqJlX+b8ca+ZyOwLlfhP9V0l/Mqr4pmInXEXEHfnCyeJV1/dase V8lv2ck0Qu1pfB4MLK/REQ9huyYQKgqHOseNyqVck92KE4QssGvxxJYQgadiEY23UK1p THhVwtJOET6S5V/Y94K96S4kyXBsVV12aTPwokTLc04fVYAqVNxQ/oNxh5WgSj3zMkLx 9EDA== X-Gm-Message-State: APjAAAWW+k5TVLn8OnC+L7siLcxr9CpG17rlHCsov0XknLjAZk6RecJr surpUz7XIQJ1I5G4/3cOUlc5QPjeTR2yNhNWpClFg3CKRsAfGPevrM8S48APc/OVJemsp1KMJgF 7GEHJw+3RSBeGcR1xfUIhBoOZsz2PN7fWjOF0KCNETsfB2cPGR0CSPs2Cyz4s6AeJkqEtf3HFmi Ue5ZEWZC2E7pRIoZ0T X-Google-Smtp-Source: APXvYqxlucyTR8HPM5yC3gZmBX0bU1AXzzCwoXclzlSonmIDVt9C/ARcz9cqekQmcaYtvuzj5gx7VQ== X-Received: by 2002:ac8:548:: with SMTP id c8mr3427265qth.124.1569337989806; Tue, 24 Sep 2019 08:13:09 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([179.56.30.174]) by smtp.gmail.com with ESMTPSA id j2sm968612qki.15.2019.09.24.08.13.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Sep 2019 08:13:09 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 79F1712097C; Tue, 24 Sep 2019 12:13:07 -0300 (-03) Date: Tue, 24 Sep 2019 12:13:07 -0300 From: Alvaro Herrera To: Victor Wagner Cc: pgsql-hackers@lists.postgresql.org Subject: Re: PostgreSQL12 and older versions of OpenSSL Message-ID: <20190924151307.GA32591@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190924101859.09383b4f@fafnir.local.vm> User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-Sep-24, Victor Wagner wrote: > Dear hackers, > > PostgreSQL 12 documentation states, that minimum required version of > OpenSSL is 0.9.8. However, I was unable to сompile current > PGPRO_12_STABLE with OpenSSL 0.9.8j (from SLES 11sp4). (Nice branch name.) I wonder if we should really continue to support OpenSSL 0.9.8. That branch was abandoned by the OpenSSL dev group in 2015 ... and I wouldn't want to assume that there are no security problems fixed in the meantime. Why shouldn't we drop support for that going forward, raising our minimum required OpenSSL version to be at least something in the 1.0 branch? (I'm not entirely sure about minor version numbers in OpenSSL -- it seems 1.0.2 is still being maintained, but 1.0.0 itself was also abandoned in 2016, as was 1.0.1. As far as I understand they use the alphabetical sequence *after* the three-part version number in the way we use minor number; so 1.0.1u (2016) is the last there, and 1.0.2t is a recent one in the maintained branch. Along the same lines, 0.9.8j was released in Jan 2009. The last in 0.9.8 was 0.9.8zi in December 2015.) Anyway I suppose it's not impossible that third parties are still maintaining their 1.0.0 branch, but I doubt anyone cares for 0.9.8 with Postgres 12 ... particularly since SUSE themselves suggest not to use the packaged OpenSSL for their stuff but rather stick to NSS. That said, in 2014 (!!) SUSE released OpenSSL 1.0.1 separately, for use with SLES 11: https://www.suse.com/c/introducing-the-suse-linux-enterprise-11-security-module/ Who would use the already obsolete SLES 11 (general support ended in March 2019, though extended support ends in 2022) with Postgres 12? That seems insane. All that being said, I don't oppose to this patch, since it seems a quick way to get out of the immediate trouble. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services