From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/3169 Path: news.gmane.org!not-for-mail From: idunham@lavabit.com Newsgroups: gmane.linux.lib.musl.general Subject: Re: Best place to discuss other lightweight libraries? Date: Tue, 23 Apr 2013 17:50:26 -0700 Message-ID: <20130424005026.GA20089@Caracal> References: <20130422233110.GU20323@brightrain.aerifal.cx> <1366678495.18069.154@driftwood> <20130423014639.GW20323@brightrain.aerifal.cx> <20130422220430.53d0b1a5.idunham@lavabit.com> <20130423134724.GY20323@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1366764641 13218 80.91.229.3 (24 Apr 2013 00:50:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Apr 2013 00:50:41 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-3173-gllmg-musl=m.gmane.org@lists.openwall.com Wed Apr 24 02:50:45 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1UUnv1-0002ZE-Ff for gllmg-musl@plane.gmane.org; Wed, 24 Apr 2013 02:50:43 +0200 Original-Received: (qmail 13320 invoked by uid 550); 24 Apr 2013 00:50:42 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 12285 invoked from network); 24 Apr 2013 00:50:42 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=o5C00DZRIpgaB3wjD50D91C9B8pR8r7IQJhjhYsF92ZkmKT5ppDpGq7wBFlzZhcn0yrwo789KQoxlYB6hXN+k/eqoekoY9LTkhW0C4zL8P6UsqMiJi7EtyyR+s6bcETBXX/g5gGApOXac21yPvX7ENx7uloJHr3MTMRjV69SG50=; h=Date:From:To:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent; Content-Disposition: inline In-Reply-To: <20130423134724.GY20323@brightrain.aerifal.cx> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:3169 Archived-At: On Tue, Apr 23, 2013 at 09:47:24AM -0400, Rich Felker wrote: > On Mon, Apr 22, 2013 at 10:04:30PM -0700, Isaac Dunham wrote: > > On Mon, 22 Apr 2013 21:46:40 -0400 > > Rich Felker wrote: > > > > > > > > > "There's always room for dropbear". And polarssl, and so on. > > > > > > cyassl looked promising too. I would probably mention tomcrypt too > > > even though it's not sufficient to do SSL; it has the most slim, > > > clean, portable implementations of crypto algorithms I've seen. > > > > wpa_supplicant can use tomcrypt (external or internal) as fallback > > if no other encryption method (ie, openssl/gnutls) is configured, so > > I'd say it merits a mention. > > In that case I don't even see why they bother including the code to > use openssl/gnutls... There are one or two features that need to be disabled to use tomcrypt. I wish I could remember what they were. But upstream has provided many options that only duplicate functionality with additional bloat. (sockets and plain C, vs. DBUS + glib) > > I wonder if some notes should be put somewhere to point out that a > > network mangler on top of wpa_supplicant is not needed (the learning > > curve for configuring it is pretty steep, due to the need to find > > and understand the docs, but wpa_supplicant + wpa_cli -a script + > > wpa_cli in command mode can handle most situations, including dhcp). > > I mention this because it seems to be "accepted wisdom" (but false) > > that you need wpa_supplicant as a tool and a network manager to make > > it useable. And most of the network managers I've encountered are > > bloat of the highest order: NetworkManager, wicd, wifiradar... But > > this might be better put somewhere else. > > Well the accepted wisdom is "almost true": for practical use of mobile > wifi, you need not just wpa_supplicant but also some controlling > process that's capable of: > > 1. Choosing which network to connect to. Oh, like wpa_cli select_network ? > 2. Managing keys. wpa_cli [ passphrase | otp | password | new_password | pin | wps_pbc ] (though figuring it out may be difficult, even with the help messages) > 3. Logic for what to do when signal is lost. wpa_supplicant reassociates on non-user-specified disconnects, and wpa_cli -a