public inbox for gnats-devel@sourceware.org
 help / color / mirror / Atom feed
* Encryption for gnatsd.user_access file
@ 2003-08-09  2:48 Brad Wyman
  2003-08-20  9:23 ` Milan Zamazal
  0 siblings, 1 reply; 2+ messages in thread
From: Brad Wyman @ 2003-08-09  2:48 UTC (permalink / raw)
  To: help-gnats


This one has me perplexed.  I'm trying to use md5 encryption for the passwords in the gnatsd.user_access files.

I'm following the manual in that I type:

perl -e 'use Crypt::PasswdMD5 ; print Crypt::PasswdMD5::unix_md5_crypt "abc123" , time() % 100000000'

It returns a string which I then add to the gnatsd.user_access file such as:

brad:$1$THESTRINGHERE:edit

This however does not work as I am denied access.  If I use:

brad:$0$abc123:edit 

everything works.

I couple of specific things baffle me:
1) every time I run the perl script I get a different string.
2) The example in the manual shows an entry of the format:

rickm:$1$92388623$D7ZIYikzTUqd./d0DTFrI.:edit

What is the numerical string between the two "$"? i.e. $92388623$

Do I need to specify a particular seed to associate with my MD5 password?

I'm working with gnats 3.999.2 

Much thanks,

Brad Wyman


_______________________________________________
Help-gnats mailing list
Help-gnats@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnats

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-08-18  8:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-09  2:48 Encryption for gnatsd.user_access file Brad Wyman
2003-08-20  9:23 ` Milan Zamazal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).