Bug 28991

Summary: adduser(8) generates too short salt with blf
Product: Base System Reporter: Yoshihiro Koya <Yoshihiro.Koya>
Component: binAssignee: dd <dd>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.0-CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Yoshihiro Koya 2001-07-15 20:10:25 UTC
	Adduser(8) generates too short salt under using blf
	as a secure hash scheme.

	It assumes only use DES or MD5 maybe.

Fix: In the following patch, I cannot assure that the value
	of length 27 is the shortest one.
How-To-Repeat: 	Put the following line in your /etc/auth.conf
		crypt_default = blf
	Then, create a dummy user by adduser(8).
Comment 1 dd freebsd_committer freebsd_triage 2001-07-19 13:00:07 UTC
State Changed
From-To: open->analyzed

applied, thanks! 


Comment 2 dd freebsd_committer freebsd_triage 2001-07-19 13:00:07 UTC
Responsible Changed
From-To: freebsd-bugs->dd

My MFC reminder.
Comment 3 dd freebsd_committer freebsd_triage 2001-07-31 00:56:52 UTC
State Changed
From-To: analyzed->closed

MFC'd