From owner-freebsd-arch@freebsd.org Sun Oct 29 13:46:35 2017 Return-Path: Delivered-To: freebsd-arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4851AE63B4D; Sun, 29 Oct 2017 13:46:35 +0000 (UTC) (envelope-from bf1783@gmail.com) Received: from mail-ua0-x22b.google.com (mail-ua0-x22b.google.com [IPv6:2607:f8b0:400c:c08::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 058327E4E6; Sun, 29 Oct 2017 13:46:34 +0000 (UTC) (envelope-from bf1783@gmail.com) Received: by mail-ua0-x22b.google.com with SMTP id n22so7792673uaj.13; Sun, 29 Oct 2017 06:46:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc; bh=G4UHpup1LKcJW4HHj7KPsqUTIe18RGjnzQxd9Ph3rXU=; b=SudsWfA8VD6TE1AjNJxb8guApfUhtJ0XiCzE/0Kaj3ci6xsMAVk8V8UeOefyw6eFn4 ZaSWGZThOyGowjD/H8FcpraUHOOFQ6WhbqVj8Y+yP/RJahdNQan+wmQKcKu6UUbrIquv llhG+pLvJf4RVqAWMG1m2SAGk0d3THKaZ3i4sVOQZ9kfczICW06CXGOo28R6BCoV9gLN CKDTtxmVDfKKFteJ0WO1+xQ1hEDbDWUmASPsyn+80DIG9URGoOtkgpf4v2LHsmuPKdO0 YEkL093P2EgzVgQMVIqhsUjnSi8pX1AyHTLK/dq21s7T09LclrE69437WnKONRKr05GJ DPIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:cc; bh=G4UHpup1LKcJW4HHj7KPsqUTIe18RGjnzQxd9Ph3rXU=; b=CQ7wBuILzPdK4XsoJfgmv6waMKkavmN2ih64XenNVMmusrNt5aTnnqttCSWFD+7Iu+ aJvsKsASwkw6xFR2/gUsGWmnAMFiNPE2bXXhqdhAFSVEn1JKiK3rR2ev+giVaIoY4h51 VyLd7W2KbZtGBrP/cz2lVVjDVau4FxVxSuyKQHPPFeoN8G2NtKhcL/GULEK4ba2OtBve jjrQfVgTayVwAPiMr4suR/jVk2C+pKuXpm7JdgjBDg0gQ81k/f2xuUk2UOWUpVKOnO9f Zi9BHDg6LU/+mCLcGXOcnZ2k/RhAzsijsLRAIpiPflTDo3Epjzok2CDwcE0g5/nSw8Ta md8g== X-Gm-Message-State: AMCzsaX6GkW+xpxY8Vv1Aw9Rn4Y253qTDDvQko57naasmKJnU8smQtbn YsK/gKfFDB5pbirDCA0hZMKel6nDnkkfxYRASxU= X-Google-Smtp-Source: ABhQp+SqMUXHwYgKpGF6enWQxc3auR2/uOGU+VmWxHOuqNUTDYYP3+nUugIr2yAYeD2Lp8l+pjKzyWTqKdxstSk2yoc= X-Received: by 10.176.83.206 with SMTP id l14mr5789821uaa.167.1509284793938; Sun, 29 Oct 2017 06:46:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.143.142 with HTTP; Sun, 29 Oct 2017 06:46:33 -0700 (PDT) Reply-To: bf1783@gmail.com In-Reply-To: <28039.1509260726@critter.freebsd.dk> References: <13959.1509132270@critter.freebsd.dk> <20171028022557.GE96685@kduck.kaduk.org> <23376.1509177812@critter.freebsd.dk> <20171028123132.GF96685@kduck.kaduk.org> <24228.1509196559@critter.freebsd.dk> <28039.1509260726@critter.freebsd.dk> From: bf Date: Sun, 29 Oct 2017 13:46:33 +0000 Message-ID: Subject: Re: Crypto overhaul To: Poul-Henning Kamp Cc: Eric McCorkle , Benjamin Kaduk , "freebsd-arch@freebsd.org" , Ben Laurie , "freebsd-hackers@freebsd.org" , "freebsd-security@freebsd.org security" Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Oct 2017 13:46:35 -0000 On 10/29/17, Poul-Henning Kamp wrote: > -------- > In message , Eric > McCorkl > e writes: >>On 10/28/2017 09:15, Poul-Henning Kamp wrote: >>> -------- >>> In message <20171028123132.GF96685@kduck.kaduk.org>, Benjamin Kaduk >>> writes: >>> >>>> I would say that the 1.1.x series is less bad, especially on the last >>>> count, >>>> but don't know how much you've looked at the differences in the new >>>> branch. >>> >>> While "less bad" is certainly a laudable goal for OpenSSL, I hope >>> FreeBSD has higher ambitions. >>> >> >>I'm curious about your thoughts on LibreSSL as a possible option. > > It retains the horrible APIs, so the potential improvement is finite. > OpenBSD started the task of making OpenSSL easier to use by adding things like libtls (see https://man.openbsd.org/tls_init ) on top of their backwards-compatible libssl. There are similar efforts in other libraries like NaCl and its forks, such as libsodium ( cf. https://nacl.cr.yp.to/features.html and https://www.gitbook.com/book/jedisct1/libsodium/details ). Are these the kind of changes you are suggesting? Regards, b.f.