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 Sat, Jan 24, 2009 at 08:49:18PM +0000, David Holland wrote:
  | On Thu, Jan 22, 2009 at 04:59:20AM +0000, Alistair Crooks wrote:
  |  > 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.

Some other platforms (older Solaris ?) have a 8 character limit
with getpass() and you should use getpassphrase() instead.
NetBSD does not suffer from this.

Attachment: pgpmKP9j5aHpI.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index