Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/crypto/external/bsd/openpgpsdk/dist/src/app

On Thu, Jan 22, 2009 at 04:59:20AM +0000, Alistair Crooks wrote:
 > > > If the user hasn't passed the pass phrase in as a command line argument
 > > > (not such a great idea), use getpass() to get the passphrase.
 > > 
 > > What's the maximum length handled by getpass() these days?
 > getpass(3) tells me:
 >       The password may be up to _PASSWORD_LEN (currently 128) characters
 >       in length.
 > and we use getpass() for cgdconfig and other functions.
 > Why?

I had it stored in the back of my mind that it wasn't long enough for
anything other than crypt(3) passwords. But I think that "information"
probably dates from like 1993.

Should have RTFM'd.

David A. Holland

Home | Main Index | Thread Index | Old Index