GNU bug report logs - #46602
Removing OpenSSL 1.0

Previous Next

Package: guix;

Reported by: Leo Famulari <leo <at> famulari.name>

Date: Wed, 17 Feb 2021 21:27:01 UTC

Severity: normal

Tags: security

Done: Leo Famulari <leo <at> famulari.name>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 46602 in the body.
You can then email your comments to 46602 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#46602; Package guix. (Wed, 17 Feb 2021 21:27:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Leo Famulari <leo <at> famulari.name>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 17 Feb 2021 21:27:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: bug-guix <at> gnu.org
Subject: Removing OpenSSL 1.0
Date: Wed, 17 Feb 2021 16:26:36 -0500
OpenSSL 1.0 is no longer supported as free software. As research
continues, new bugs are discovered and there are no fixes available.

We should remove it soon. Since Qt 4 depends on it, we can remove them
at the same time [0].

Some packages will probably have to be removed, since they depend on
OpenSSL 1.0 and have not been updated to use more recent versions.

OpenSSL 1.0 is used in the Rust bootstrap, unfortunately, so we will
have to preserve some package of it, but it will be hidden.

Any thoughts?

[0] https://bugs.gnu.org/45704




Added tag(s) security. Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 22 Feb 2021 09:16:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#46602; Package guix. (Thu, 25 Feb 2021 19:02:02 GMT) Full text and rfc822 format available.

Message #10 received at 46602 <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: Leo Famulari <leo <at> famulari.name>
Cc: 46602 <at> debbugs.gnu.org
Subject: Re: bug#46602: Removing OpenSSL 1.0
Date: Thu, 25 Feb 2021 20:01:22 +0100
Hi Leo,

On Wed, 17 Feb 2021 at 22:43, Leo Famulari <leo <at> famulari.name> wrote:
>
> OpenSSL 1.0 is no longer supported as free software. As research
> continues, new bugs are discovered and there are no fixes available.
>
> We should remove it soon. Since Qt 4 depends on it, we can remove them
> at the same time [0].
>
> Some packages will probably have to be removed, since they depend on
> OpenSSL 1.0 and have not been updated to use more recent versions.
>
> OpenSSL 1.0 is used in the Rust bootstrap, unfortunately, so we will
> have to preserve some package of it, but it will be hidden.

Well, it needs some care I guess.

$ guix refresh -l openssl <at> 1.0
Building the following 1930 packages would ensure 2048 dependent
packages are rebuilt

On the other hand, grepping for "openssl-1.0" returns:

16 matches
12 files contained matches
1522 files searched

File: distributed.scm
File: networking.scm
File: databases.scm
File: rust.scm
File: web-browsers.scm
File: android.scm
File: web.scm
File: crypto.scm
File: messaging.scm
File: ntp.scm
File: crates-io.scm
File: qt.scm

Therefore, a good start seems to try to build all the 16 packages
depending on openssl <at> 1.0 with openssl <at> 1.1.  And mark them with a
comment if they fail.  But I guess that openssl <at> 1.0 is a strong
requirement for these 16 packages.

For instance, the package psyclpc (gnu packages messaging) could be
removed since it does not build and use openssl <at> 1.0.

Cheers,
simon




Information forwarded to bug-guix <at> gnu.org:
bug#46602; Package guix. (Tue, 13 Jul 2021 16:55:01 GMT) Full text and rfc822 format available.

Message #13 received at 46602 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: zimoun <zimon.toutoune <at> gmail.com>
Cc: 46602 <at> debbugs.gnu.org
Subject: Re: bug#46602: Removing OpenSSL 1.0
Date: Tue, 13 Jul 2021 12:54:03 -0400
Here are my notes on the users of the openssl-1.0 package:

> File: networking.scm

pidentd:
Does not build with current OpenSSL, no newer releases or development
No dependents

vde2:
Does not build with current OpenSSL.
Dependency changed to WolfSSL (unpackaged):
https://github.com/virtualsquare/vde-2/issues/2
Depended on by QEMU but not qemu-minimal (optional):

> File: web.scm

cadaver:
Does not build with current OpenSSL
Last release in 2009
No dependents

> File: web-browsers.scm

dillo:
Does not build with current OpenSSL
Status? https://www.dillo.org/Plans.html
No dependents

> File: android.scm

adb:
Does not build with current OpenSSL
Surely there is a new version of adb that supports the current OpenSSL.
Depended on by fastboot

> File: crypto.scm

eschalot:
Does not build with current OpenSSL, no newer releases or development
No dependents

> File: messaging.scm

psyclpc:
Does not build with current OpenSSL
No dependents

> File: ntp.scm

tlsdate:
Does not build with current OpenSSL. Forked by ChromiumOS as the project
is abandoned:
https://github.com/ioerror/tlsdate/issues/199
No dependents

> File: rust.scm
> File: crates-io.scm

For the Rust bootstrap, we can keep openssl-1.0 as a hidden-package.
Help wanted dealing with the crates that depend on openssl-1.0.




Added blocking bug(s) 49556 Request was from Leo Famulari <leo <at> famulari.name> to control <at> debbugs.gnu.org. (Tue, 13 Jul 2021 23:02:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#46602; Package guix. (Tue, 13 Jul 2021 23:05:01 GMT) Full text and rfc822 format available.

Message #18 received at 46602 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: zimoun <zimon.toutoune <at> gmail.com>
Cc: 46602 <at> debbugs.gnu.org
Subject: Re: bug#46602: Removing OpenSSL 1.0
Date: Tue, 13 Jul 2021 19:03:54 -0400
On Tue, Jul 13, 2021 at 12:54:03PM -0400, Leo Famulari wrote:
> vde2:
> Does not build with current OpenSSL.
> Dependency changed to WolfSSL (unpackaged):
> https://github.com/virtualsquare/vde-2/issues/2
> Depended on by QEMU but not qemu-minimal (optional):

This is addressed by <https://bugs.gnu.org/49556>.




Information forwarded to bug-guix <at> gnu.org:
bug#46602; Package guix. (Tue, 20 Jul 2021 18:57:02 GMT) Full text and rfc822 format available.

Message #21 received at 46602 <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Leo Famulari <leo <at> famulari.name>
Cc: 46602 <at> debbugs.gnu.org, zimoun <zimon.toutoune <at> gmail.com>
Subject: Re: bug#46602: Removing OpenSSL 1.0
Date: Tue, 20 Jul 2021 21:55:45 +0300
[Message part 1 (text/plain, inline)]
On Tue, Jul 13, 2021 at 12:54:03PM -0400, Leo Famulari wrote:
> Here are my notes on the users of the openssl-1.0 package:
> 
> > File: web-browsers.scm
> 
> dillo:
> Does not build with current OpenSSL
> Status? https://www.dillo.org/Plans.html
> No dependents

This one confuses me. I was able to build dillo with both openssl and
openssl-1.0, but I was unable to open that page with either version.

> > File: rust.scm
> > File: crates-io.scm
> 
> For the Rust bootstrap, we can keep openssl-1.0 as a hidden-package.
> Help wanted dealing with the crates that depend on openssl-1.0.
> 

I can poke those I guess, see what we can drop openssl-1.0 as an input
for and see if anything breaks.

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#46602; Package guix. (Tue, 20 Jul 2021 19:09:01 GMT) Full text and rfc822 format available.

Message #24 received at 46602 <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Leo Famulari <leo <at> famulari.name>, zimoun <zimon.toutoune <at> gmail.com>,
 46602 <at> debbugs.gnu.org
Subject: Re: bug#46602: Removing OpenSSL 1.0
Date: Tue, 20 Jul 2021 22:06:59 +0300
[Message part 1 (text/plain, inline)]
On Tue, Jul 20, 2021 at 09:55:45PM +0300, Efraim Flashner wrote:
> On Tue, Jul 13, 2021 at 12:54:03PM -0400, Leo Famulari wrote:
> > Here are my notes on the users of the openssl-1.0 package:
> 
> > > File: rust.scm
> > > File: crates-io.scm
> > 
> > For the Rust bootstrap, we can keep openssl-1.0 as a hidden-package.
> > Help wanted dealing with the crates that depend on openssl-1.0.
> > 
> 
> I can poke those I guess, see what we can drop openssl-1.0 as an input
> for and see if anything breaks.

They were only needed for the rust-sha1 <at> 0.2 test suite, so easy to
remove and nothing broke.


-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#46602; Package guix. (Wed, 04 Aug 2021 01:05:02 GMT) Full text and rfc822 format available.

Message #27 received at 46602 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Efraim Flashner <efraim <at> flashner.co.il>,
 zimoun <zimon.toutoune <at> gmail.com>, 46602 <at> debbugs.gnu.org
Subject: Re: bug#46602: Removing OpenSSL 1.0
Date: Tue, 3 Aug 2021 21:04:26 -0400
On Tue, Jul 20, 2021 at 09:55:45PM +0300, Efraim Flashner wrote:
> On Tue, Jul 13, 2021 at 12:54:03PM -0400, Leo Famulari wrote:
> > dillo:
> > Does not build with current OpenSSL
> > Status? https://www.dillo.org/Plans.html
> > No dependents
> 
> This one confuses me. I was able to build dillo with both openssl and
> openssl-1.0, but I was unable to open that page with either version.

I built Dillo with OpenSSL 1.1 and saw this in the output of the
'configure' phase:

------
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking for SSL_library_init in -lssl... no
configure: WARNING: *** No libssl found. Disabling ssl support.***
------

So, it builds but lacks TLS / HTTPS support.

I think we should either remove OpenSSL as a dependency of Dillo, or
remove Dillo altogether. It's a simple package definition and Dillo
users can use it in a private channel, or maybe it could be added to
guix-past.




Information forwarded to bug-guix <at> gnu.org:
bug#46602; Package guix. (Wed, 04 Aug 2021 01:11:01 GMT) Full text and rfc822 format available.

Message #30 received at 46602 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Efraim Flashner <efraim <at> flashner.co.il>,
 zimoun <zimon.toutoune <at> gmail.com>, 46602 <at> debbugs.gnu.org
Subject: Re: bug#46602: Removing OpenSSL 1.0
Date: Tue, 3 Aug 2021 21:10:12 -0400
On Tue, Aug 03, 2021 at 09:04:26PM -0400, Leo Famulari wrote:
> I think we should either remove OpenSSL as a dependency of Dillo, or
> remove Dillo altogether. It's a simple package definition and Dillo
> users can use it in a private channel, or maybe it could be added to
> guix-past.

I sent a patch to remove Dillo:

<https://bugs.gnu.org/49859>




Information forwarded to bug-guix <at> gnu.org:
bug#46602; Package guix. (Wed, 04 Aug 2021 01:29:01 GMT) Full text and rfc822 format available.

Message #33 received at 46602 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Efraim Flashner <efraim <at> flashner.co.il>,
 zimoun <zimon.toutoune <at> gmail.com>, 46602 <at> debbugs.gnu.org
Subject: Re: bug#46602: Removing OpenSSL 1.0
Date: Tue, 3 Aug 2021 21:27:43 -0400
On Tue, Aug 03, 2021 at 09:10:12PM -0400, Leo Famulari wrote:
> I sent a patch to remove Dillo:
> 
> <https://bugs.gnu.org/49859>

Actually, I went ahead and sent some followup patches to remove
everything else, too. Except for VDE-2, which there is a patch for.




Added blocking bug(s) 49859 Request was from Leo Famulari <leo <at> famulari.name> to control <at> debbugs.gnu.org. (Wed, 11 Aug 2021 17:59:02 GMT) Full text and rfc822 format available.

Added blocking bug(s) 50029 Request was from "Leo Famulari" <leo <at> famulari.name> to control <at> debbugs.gnu.org. (Sun, 15 Aug 2021 17:44:01 GMT) Full text and rfc822 format available.

Reply sent to Leo Famulari <leo <at> famulari.name>:
You have taken responsibility. (Sun, 15 Aug 2021 22:13:01 GMT) Full text and rfc822 format available.

Notification sent to Leo Famulari <leo <at> famulari.name>:
bug acknowledged by developer. (Sun, 15 Aug 2021 22:13:01 GMT) Full text and rfc822 format available.

Message #42 received at 46602-done <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Efraim Flashner <efraim <at> flashner.co.il>,
 zimoun <zimon.toutoune <at> gmail.com>, 46602-done <at> debbugs.gnu.org
Subject: Re: bug#46602: Removing OpenSSL 1.0
Date: Sun, 15 Aug 2021 18:12:15 -0400
With commit 12099eac1b161d364be923451d27d7d739d0f14d, nothing is using
openssl-1.0 except for the Rust bootstrap.

If I understand correctly, the plan is to "upgrade" that bootstrap path,
and eventually we won't need a package of openssl-1.0 at all.

I'm marking this bug as done.




Information forwarded to bug-guix <at> gnu.org:
bug#46602; Package guix. (Tue, 31 Aug 2021 09:47:01 GMT) Full text and rfc822 format available.

Message #45 received at 46602-done <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: Leo Famulari <leo <at> famulari.name>, Efraim Flashner
 <efraim <at> flashner.co.il>, 46602-done <at> debbugs.gnu.org
Subject: Re: bug#46602: Removing OpenSSL 1.0
Date: Tue, 31 Aug 2021 11:27:45 +0200
Hi Leo,

On Sun, 15 Aug 2021 at 18:12, Leo Famulari <leo <at> famulari.name> wrote:
> With commit 12099eac1b161d364be923451d27d7d739d0f14d, nothing is using
> openssl-1.0 except for the Rust bootstrap.
>
> If I understand correctly, the plan is to "upgrade" that bootstrap path,
> and eventually we won't need a package of openssl-1.0 at all.
>
> I'm marking this bug as done.

Cool!  Thanks for the work.

On a side sad note, I point that 168 packages not named ’rust’ depends
somehow on ’rust’.

        $ guix refresh -l -e '(@@ (gnu packages tls) openssl-1.0)' \
               | sed 's/ /\n/g' | grep '@' \
               | grep -v rust | wc -l
        168

And I am surprised that ’mplayer’ or ’guile-gnunet’ appears there.
Well, I am also surprised that “guix graph” does not report it.

--8<---------------cut here---------------start------------->8---
$ guix graph --path guile-gnunet -e '(@@ (gnu packages tls) openssl-1.0)'
guix graph: erreur : pas de chemin de « guile-gnunet <at> 0.0-1.d12167a » à « openssl <at> 1.0.2u »
--8<---------------cut here---------------end--------------->8---

Maybe I miss something somewhere.

Cheers,
simon




Information forwarded to bug-guix <at> gnu.org:
bug#46602; Package guix. (Tue, 31 Aug 2021 10:01:01 GMT) Full text and rfc822 format available.

Message #48 received at 46602-done <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: zimoun <zimon.toutoune <at> gmail.com>
Cc: 46602-done <at> debbugs.gnu.org, Leo Famulari <leo <at> famulari.name>
Subject: Re: bug#46602: Removing OpenSSL 1.0
Date: Tue, 31 Aug 2021 12:57:37 +0300
[Message part 1 (text/plain, inline)]
On Tue, Aug 31, 2021 at 11:27:45AM +0200, zimoun wrote:
> Hi Leo,
> 
> On Sun, 15 Aug 2021 at 18:12, Leo Famulari <leo <at> famulari.name> wrote:
> > With commit 12099eac1b161d364be923451d27d7d739d0f14d, nothing is using
> > openssl-1.0 except for the Rust bootstrap.
> >
> > If I understand correctly, the plan is to "upgrade" that bootstrap path,
> > and eventually we won't need a package of openssl-1.0 at all.
> >
> > I'm marking this bug as done.
> 
> Cool!  Thanks for the work.
> 
> On a side sad note, I point that 168 packages not named ’rust’ depends
> somehow on ’rust’.
> 
>         $ guix refresh -l -e '(@@ (gnu packages tls) openssl-1.0)' \
>                | sed 's/ /\n/g' | grep '@' \
>                | grep -v rust | wc -l
>         168
> 
> And I am surprised that ’mplayer’ or ’guile-gnunet’ appears there.
> Well, I am also surprised that “guix graph” does not report it.
> 
> --8<---------------cut here---------------start------------->8---
> $ guix graph --path guile-gnunet -e '(@@ (gnu packages tls) openssl-1.0)'
> guix graph: erreur : pas de chemin de « guile-gnunet <at> 0.0-1.d12167a » à « openssl <at> 1.0.2u »
> --8<---------------cut here---------------end--------------->8---
> 
> Maybe I miss something somewhere.
> 

`git grep \,openssl-1.0' only shows one entry.

The others probably come through ffmpeg (through rav1e) or rust-cbindgen
or otherwise actually depend on some other compiled rust library. Not
sure where gnunet comes from though.

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#46602; Package guix. (Tue, 31 Aug 2021 10:48:02 GMT) Full text and rfc822 format available.

Message #51 received at 46602-done <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: 46602-done <at> debbugs.gnu.org, Leo Famulari <leo <at> famulari.name>
Subject: Re: bug#46602: Removing OpenSSL 1.0
Date: Tue, 31 Aug 2021 12:31:17 +0200
Hi,

On Tue, 31 Aug 2021 at 12:57, Efraim Flashner <efraim <at> flashner.co.il> wrote:
> On Tue, Aug 31, 2021 at 11:27:45AM +0200, zimoun wrote:

>> --8<---------------cut here---------------start------------->8---
>> $ guix graph --path guile-gnunet -e '(@@ (gnu packages tls) openssl-1.0)'
>> guix graph: erreur : pas de chemin de « guile-gnunet <at> 0.0-1.d12167a » à « openssl <at> 1.0.2u »
>> --8<---------------cut here---------------end--------------->8---
>> 
>> Maybe I miss something somewhere.
>> 
>
> `git grep \,openssl-1.0' only shows one entry.
>
> The others probably come through ffmpeg (through rav1e) or rust-cbindgen
> or otherwise actually depend on some other compiled rust library. Not
> sure where gnunet comes from though.

Yeah, what I missed was the type for “guix graph”. :-)

--8<---------------cut here---------------start------------->8---
$ guix graph --path guile-gnunet -e '(@@ (gnu packages tls) openssl-1.0)' -t bag-emerged
guile-gnunet <at> 0.0-1.d12167a
gnunet <at> 0.13.1
libextractor <at> 1.11
ffmpeg <at> 4.4
rav1e <at> 0.4.1
rust <at> 1.45.2
rust <at> 1.44.1
rust <at> 1.43.0
rust <at> 1.42.0
rust <at> 1.41.1
rust <at> 1.40.0
rust <at> 1.39.0
rust <at> 1.38.0
rust <at> 1.37.0
rust <at> 1.36.0
rust <at> 1.35.0
rust <at> 1.34.1
rust <at> 1.33.0
rust <at> 1.32.0
rust <at> 1.31.1
rust <at> 1.30.1
rust <at> 1.29.2
rust <at> 1.28.0
rust <at> 1.27.2
rust <at> 1.26.2
rust <at> 1.25.0
openssl <at> 1.0.2u
--8<---------------cut here---------------end--------------->8---


Cheers,
simon




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 28 Sep 2021 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 208 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.