X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 5B313DC0128 for ; Sat, 29 Jun 2013 20:51:52 +0000 (UTC) Received: from compute2.internal (compute2.nyi.mail.srv.osa [10.202.2.42]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 5747A20B73 for ; Sat, 29 Jun 2013 16:51:51 -0400 (EDT) Received: from frontend2.nyi.mail.srv.osa ([10.202.2.161]) by compute2.internal (MEProxy); Sat, 29 Jun 2013 16:51:51 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=date:from:to:subject:message-id :references:mime-version:content-type:in-reply-to; s=smtpout; bh=5oMV+6f5X6u59nxs73Mcxb2GoYg=; b=ChnXTw3Sie+ZVlewI9K2HITSREpj ucDCdve+TuufHdXlIEFK2vFz4SBtH/6dTed23Y5Kor5Y0Q8OTRr5meaz991hB5h9 DSbj72MvdrecQo+Ao6aP0QJJwrnVTDVAxfmoSZvfdzVNakjOm5uIeYGhtpoUxnJd s+uyDKEia2QzVqQ= X-Sasl-enc: gyXK2tg4zeLGUgtDpfLas9c0tqCgIVrYgevh8P2gXJMW 1372539111 Received: from localhost (unknown [69.86.161.244]) by mail.messagingengine.com (Postfix) with ESMTPA id 20858680294 for ; Sat, 29 Jun 2013 16:51:51 -0400 (EDT) Date: Sat, 29 Jun 2013 16:51:50 -0400 From: Dubiousjim To: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] [PATCH 8/8] main/syslinux: hooks for bootloader password Message-ID: <20130629205150.GD1776@zen> Mail-Followup-To: alpine-devel@lists.alpinelinux.org References: <8e59b6613a04739d2800a1bf8a317ff73523d096.1372318132.git.dubiousjim@gmail.com> <20130628165453.3e8fd072@ncopa-desktop.alpinelinux.org> <20130628164000.GC1712@zen.nyu.edu> X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130628164000.GC1712@zen.nyu.edu> User-Agent: Mutt/1.5.21 (2010-09-15) On Fri, Jun 28, 2013 at 04:54:53PM +0200, Natanael Copa wrote: > On Thu, 27 Jun 2013 03:32:21 -0400 > Dubiousjim wrote: > > + install -D -m755 utils/sha1pass "$pkgdir"/usr/sbin/sha1pass || return 1 > > I had a look at this script but i don't like it. > ... > 2) it requires that password is specified on command line. I think it > should at least optionally be able to read it from stdin. In the instructions I wrote for generating a SHA1 password by hand (though not the MD5 password), I'm still guilty of complaint #2. The problem is that openssl can read data from stdin, but you'd have to be sure the user prefixed the salt manually. Or you'd have to write a shell script and do `echo -stty; read pass; echo stty` and then echo the salt and the pass to openssl; or use Bash or C or something else. I'm not going to do any of that right now. -- Dubiousjim dubiousjim@gmail.com --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---