public inbox for
help / color / mirror / Atom feed
Subject: gnats/395: gnats-pwconv
Date: Wed, 26 Jun 2002 08:09:00 -0000	[thread overview]
Message-ID: <> (raw)

>Number:         395
>Category:       gnats
>Synopsis:       gnats-pwconv
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 26 11:06:42 -0400 2002
>Originator:     Pascal Meyrat
>Release:        gnats 4.0 beta 1

PC, Linux SuSE 7.3
By converting gnats3 passwords to crypted passwords, "gnats-conv" returns: "salt" and "crypt() function return value". The crypt() function returns 13 printable characters and the first 2 characters already represent the "salt". So we have the salt twice. Therefore there will be a problem by checking passwords.

In gnats-pwconv.c, change "result=asprintf(newpwentry, "%s%s",salt,crypt(clearpwstring,salt));" to "result=asprintf(newpwentry, "%s",crypt(clearpwstring,salt));"

Gnats-prs mailing list

                 reply	other threads:[~2002-06-26 15:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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:

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

  git send-email \ \ \ \ \ \

* 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).