public inbox for gnats-devel@sourceware.org
 help / color / mirror / Atom feed
From: Milan Zamazal <pdm@zamazal.org>
To: Yngve Svendsen <yngve.svendsen@clustra.com>
Cc: gnats-devel@sources.redhat.com
Subject: Re: Encrypted password patch
Date: Sun, 24 Jun 2001 11:26:00 -0000	[thread overview]
Message-ID: <87vgllyj84.fsf@blackbird.zamazal.org> (raw)
In-Reply-To: <5.1.0.14.2.20010621001542.00b41338@10.10.1.1>

>>>>> "YS" == Yngve Svendsen <yngve.svendsen@clustra.com> writes:

    YS> The following patch against current version 4 CVS implements the
    YS> following password system:

    YS> - If the password in gnatsd.access is prefixed with $0$, the
    YS> password is assumed to be explicit plaintext.  - If it is
    YS> prefixed with $1$, it is assumed to be in MD5 format.  - If it
    YS> has no prefix, it is assumed to be in standard DES crypt format.

    YS> I have tested this both on Linux and Solaris, and it works just
    YS> as expected.

Please note that patch breaks the compilation if the `crypt' function is
not present.  It should handle the situation reasonably, possibly by
never matching passwords not starting with $0$; the code must be
#ifdefed appropriately.

    YS> then write a Perl script to convert old password files.

I wouldn't like to make GNATS installation dependent on Perl (despite
this is only a small utility), so the script should be written in C or
in sh using standard Unix tools (I'd think about awk, I think it's
present on every Unix system).

(If anything of the above is difficult for you, no problem -- just
define the behavior and I'll do it.)

Regards,

Milan Zamazal

-- 
Free software is about freedom, not about free beer.  If you care only about
the latter, you'll end up with no freedom and no free beer.

  parent reply	other threads:[~2001-06-24 11:26 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-20 15:24 Yngve Svendsen
2001-06-21 22:54 ` /etc/qnats-db.conf Margaret BRIERTON
2001-06-22  0:11   ` /etc/qnats-db.conf Yngve Svendsen
2001-06-24 11:26 ` Milan Zamazal [this message]
2001-06-24 11:34   ` Encrypted password patch Rick Macdonald
2001-06-24 12:06     ` Milan Zamazal
2001-06-24 12:33       ` Rick Macdonald
2001-06-24 15:19         ` Milan Zamazal
2001-06-24 15:05   ` Yngve Svendsen
2001-06-24 15:25     ` Milan Zamazal
2001-06-25 23:29       ` cgi_error Margaret BRIERTON
2001-06-26  1:06         ` cgi_error Yngve Svendsen
2001-06-26  6:13   ` Encrypted password patch Yngve Svendsen
2001-06-27 14:45     ` Milan Zamazal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vgllyj84.fsf@blackbird.zamazal.org \
    --to=pdm@zamazal.org \
    --cc=gnats-devel@sources.redhat.com \
    --cc=yngve.svendsen@clustra.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).