On Fri, 24 Sep 2010 09:46:05 -0500
Kent Yoder <[email protected]> wrote:

> On Thu, Sep 23, 2010 at 09:33:48AM -0500, Kent Yoder wrote:
> > > I was hoping we could make this simpler (and more standardized) if we
> > > simply use getpass(3), without worrying about echoing stars or
> > > anything else.
> > > 
> > > Even if getpass() is marked as obsolete, the idea behind it is
> > > sufficiently simple to implement it by our own if needed.
> > 
> >   Yeah, I avoided it as soon as I saw the manpage, but not echoing
> > anything makes this patch even simpler, all we'll need to do is 
> > count-- when we see backspace or delete.
> 
> Here's patch without echoing:
> 
> diff --git a/usr/sbin/pkcsconf/pkcsconf.c b/usr/sbin/pkcsconf/pkcsconf.c
> index f94ecfa..79e8313 100755
> --- a/usr/sbin/pkcsconf/pkcsconf.c
> +++ b/usr/sbin/pkcsconf/pkcsconf.c
>

Applied upstream.

 -Klaus

-- 
Klaus Heinrich Kiwi | [email protected] | http://blog.klauskiwi.com
Open Source Security blog :     http://www.ratliff.net/blog
IBM Linux Technology Center :   http://www.ibm.com/linux/ltc

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Opencryptoki-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opencryptoki-tech

Reply via email to