all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sam Steingold <sds@gnu.org>
To: Michael Mauger <michael@mauger.com>
Cc: emacs-devel@gnu.org
Subject: Re: (sql-postgres-login-params): Add user and database defaults.
Date: Tue, 11 Nov 2014 14:37:10 -0500	[thread overview]
Message-ID: <CAFsbZ7a9A+7FP3AJ-ccBZiTJBNTtNoX0XuYH+T5gJ-zYT32mdA@mail.gmail.com> (raw)
In-Reply-To: <487064807.437464.1415674152184.JavaMail.yahoo@jws10645.mail.bf1.yahoo.com>

On Mon, Nov 10, 2014 at 9:49 PM, Michael Mauger <michael@mauger.com> wrote:
> On Monday, November 10, 2014 4:15 PM, Sam Steingold <sds@gnu.org> wrote:
>>> * Michael Mauger <michael@mauger.com> [2014-11-09 23:39:24 +0000]:
>>>> On Friday, November 7, 2014 2:37 PM, Sam Steingold <sds@gnu.org> wrote:
>>>> Why did you add defaults to the sql-postgres-login-params option?
>>>> No other sql-<product>-login-params have them.
>>I don't think these defaults are useful (to put it mildly).
> So, do you recommend removing the defaults entirely (as opposed to offering an alternative) for both username and database?

yes, I recommend that they are set to the flat list like other products

> Are there any others who would like to be heard on this topic?  Without additional feedback, I'll go ahead and remove the defaults.

you sent your email to me only, not to the list.
this reply goes to the list.

> Again the lack of prompting/storing of the password is not due the the security concern but because the password cannot be passed directly on the command line.  MySql and Oracle support grab the password and pass the password along with the username on the command line; resulting in the security bug submission.  The implementation of passing passwords on the command line pre-dates my involvement in sql.el, so while I can't accept blame for the shortcoming, I do accept responsibilty for building a working solution.  I'm hacking on it currently.

Thanks!

Sam



      parent reply	other threads:[~2014-11-11 19:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-07 19:37 (sql-postgres-login-params): Add user and database defaults Sam Steingold
2014-11-09 23:39 ` Michael Mauger
2014-11-10 21:15   ` Sam Steingold
     [not found]     ` <487064807.437464.1415674152184.JavaMail.yahoo@jws10645.mail.bf1.yahoo.com>
2014-11-11 19:37       ` Sam Steingold [this message]

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=CAFsbZ7a9A+7FP3AJ-ccBZiTJBNTtNoX0XuYH+T5gJ-zYT32mdA@mail.gmail.com \
    --to=sds@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=michael@mauger.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.