Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Aug 2018 17:03:49 -0500
From:      Benjamin Kaduk <kaduk@mit.edu>
To:        Eric McCorkle <eric@metricspace.net>
Cc:        Warner Losh <imp@bsdimp.com>, FreeBSD Hackers <freebsd-hackers@freebsd.org>, "freebsd-arch@freebsd.org" <freebsd-arch@freebsd.org>, freebsd-current <freebsd-current@freebsd.org>, freebsd-security <freebsd-security@freebsd.org>
Subject:   Re: Status of OpenSSL 1.1.1
Message-ID:  <20180804220349.GJ68224@kduck.kaduk.org>
In-Reply-To: <b058b0ad-2e61-8756-b984-8a762e4a7925@metricspace.net>
References:  <b7b8a27c-b520-dcba-e7eb-fa3fa2d78083@metricspace.net> <CANCZdfpRSxKAvW=X2Fh5OM3ZxzkhPxC3ooOgLpogkMUdwpumRg@mail.gmail.com> <dc890dce-59b0-4647-268b-6035e8fbfd31@metricspace.net> <20180802234519.GD68224@kduck.kaduk.org> <CANCZdfqqHk1k_WuDHg3Tob2m-Egbns9X4jq5eAaQu1tzgz1nwA@mail.gmail.com> <b058b0ad-2e61-8756-b984-8a762e4a7925@metricspace.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 03, 2018 at 07:02:18AM -0400, Eric McCorkle wrote:
> On 08/03/2018 04:44, Warner Losh wrote:
> > 
> > 
> > On Thu, Aug 2, 2018 at 5:45 PM, Benjamin Kaduk <kaduk@mit.edu
> > <mailto:kaduk@mit.edu>> wrote:
> > 
> >     On Wed, Aug 01, 2018 at 10:05:28AM -0400, Eric McCorkle wrote:
> >     > On 08/01/2018 09:02, Warner Losh wrote:
> >     > >
> >     > >
> >     > > On Wed, Aug 1, 2018, 12:31 PM Eric McCorkle
> >     <eric@metricspace.net <mailto:eric@metricspace.net>
> >     > > <mailto:eric@metricspace.net <mailto:eric@metricspace.net>>> wrote:
> >     > >
> >     > >     Hi folks,
> >     > >
> >     > >     I'm wondering what's the status of OpenSSL 1.1.1 integration
> >     into base?
> >     > >     More specifically, is there a repo or a branch that's
> >     started the
> >     > >     integration?  I'm aware of the wiki page and the list of
> >     port build
> >     > >     issues, but that seems to be based on replacing the base
> >     OpenSSL with a
> >     > >     port build (similar to the way one replaces it with LibreSSL).
> >     > >
> >     > >     I have some work I'd like to do that's gating on sorting out the
> >     > >     kernel/loader crypto situation, and I'd very much like to
> >     see OpenSSL
> >     > >     1.1.1 get merged, so I can start to look into doing that.
> >     > >
> >     > >
> >     > > There are patches to use bear SSL for the loader. OpenSSL is
> >     simply too
> >     > > large to use due to limits the loader operates under.
> >     >
> >     > I was going to look into the feasibility of doing something like what
> >     > LibreSSL does with portable, where they extract a subset of the full
> >     > library designed to be embedded in the kernel, loader, etc.
> >     >
> >     > I think it ought to be possible to do something like that, but it
> >     really
> >     > ought to be done in a tree with 1.1.1 integrated.
> >     >
> > 
> >     It wouldn't be terribly easy or effective, IMO.  OpenSSL wasn't designed
> >     with such modularity in mind.
> > 
> > 
> > Others that have tried have found OpenSSL to be way too large for the
> > boot loader and a completely impossible to subset enough to get things
> > small enough due to the intertwingled nature of things.
> 
> To what extent, if any, does this change in 1.1.1, though?
> 

Probably not enough -- while libssl got a bit reorganized, libcrypto hasn't
changed much.

-Ben




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180804220349.GJ68224>