Received: from smtp.ungleich.ch (smtp.ungleich.ch [185.203.114.86]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 6EB8F781124 for <~alpine/devel@lists.alpinelinux.org>; Tue, 9 Aug 2022 14:11:40 +0000 (UTC) Received: from bridge.localdomain (localhost [IPv6:::1]) by smtp.ungleich.ch (Postfix) with ESMTP id 093AA20F3F; Tue, 9 Aug 2022 16:08:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ungleich.ch; s=202201; t=1660054119; bh=otxPa3KgYFo00lGqSeopgljDMUhyNWKfm6l36miUGz0=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=ByFIwgVF7hbm5M4OCvrzof+GNTvy5t17fJceP0qnuaa83m4FL7VEFVsj/KItfCJcY baKCl42PNvEAqcT6KKLmjXQdzpyHTlFlJ8ClYp+mFmPGUERljuDBwZW0eB64zwCC13 TPKTaB4ZnY6y20erMkTVkQXfSYKrgovW38VHunQ+uKtQCya6h4rRcfrhLeRBmFR+Rb zXgkmphXTIgM7EQ0FODBAPgNStm18ua8qeMKzW4HQg2jfOq77oTiN6qKKtfJyiKd64 XkQazXtaNPoV87p+7rHJo0tF8Ez0onNUfqWmVXQwQJ3RLlzIDuyJb5SJ6eOPCAW/E4 hDSvu/QibQRRw== Received: by bridge.localdomain (Postfix, from userid 1000) id 0BFED1A762B9; Tue, 9 Aug 2022 16:11:38 +0200 (CEST) References: <20220803105631.77d1cc2c@ncopa-desktop.lan> <87iln2cxo3.fsf@ungleich.ch> <87lerx7r2v.fsf@ungleich.ch> User-agent: mu4e 1.7.27; emacs 28.1 From: Nico Schottelius To: alice Cc: Nico Schottelius , Natanael Copa , ~alpine/devel@lists.alpinelinux.org Subject: Re: OpenSSL 3 pushed to git master Date: Tue, 09 Aug 2022 11:22:37 +0200 In-reply-to: Message-ID: <87k07h5wx1.fsf@ungleich.ch> MIME-Version: 1.0 Content-Type: text/plain Hey Alice, "alice" writes: > On Tue Aug 9, 2022 at 10:25 AM CEST, Nico Schottelius wrote: >> I am using openconnect to connect to "highly secure" networks >> that. Highly secure means: corporate managed, specific access and >> traffic policies, 2FA. It however does not mean: up-to-date software or >> Open Source Software. It's rather the opposite: these are proprietary, >> closed source systems with upgrade cycles of "only if need be", usually >> done if there is a CVE out there. > certainly, i'm aware of the general background, and guessed as much :) i > just don't think it's a good idea for other people to be affected by > such things, and to keep 'openssl downgraded' or 'insecure defaults > enabled' just because someone is connecting to some corporate service > (which doesn't pay us for support) You have a very good point here, if it only affects one user, then it's not worth handling it. However, if there is not more coming up, it might be sensible not to break a lot of users. In regards to the openssl.cnf workaround, it seems not to work for me: Using -------------------------------------------------------------------------------- [openssl_init] # providers = provider_sect # commented out # added ssl_conf = ssl_sect # added [ssl_sect] system_default = system_default_sect # added [system_default_sect] Options = UnsafeLegacyRenegotiation # List of providers to load [provider_sect] default = default_sect -------------------------------------------------------------------------------- Running openconnect gives the same error: -------------------------------------------------------------------------------- 90F96C15467F0000:error:0A000152:SSL routines:final_renegotiate:unsafe legacy renegotiation disabled:ssl/statem/extensions.c:879: -------------------------------------------------------------------------------- Which makes sense, given that running openconnect does not load that openssl configuration file: -------------------------------------------------------------------------------- strace -f -e open -o opentrace openconnect --protocol=gp .... nb3:~# grep /etc opentrace 12508 open("/etc/ld-musl-x86_64.path", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12508 open("/etc/hosts", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 6 12508 open("/etc/resolv.conf", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 6 12508 open("/etc/ssl/cert.pem", O_RDONLY|O_LARGEFILE) = 7 nb3:~# grep -c openssl.cnf opentrace 0 -------------------------------------------------------------------------------- I verified three times that the content is correct - is it possible that not every app linked against openssl actually loads the configuration file? Best regards, Nico -- Sustainable and modern Infrastructures by ungleich.ch