Re: Seriously? MASTER PASSWORD REQUIRED Again?!#$@!

From: richard coleman <rcoleman(dot)ascentgl(at)gmail(dot)com>
To: Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>
Cc: "pgadmin-support lists(dot)postgresql(dot)org" <pgadmin-support(at)lists(dot)postgresql(dot)org>
Subject: Re: Seriously? MASTER PASSWORD REQUIRED Again?!#$@!
Date: 2019-10-17 17:03:30
Message-ID: CAGA3vBtpKQrgMpgjkcfjqArAZLy78pBiOvGN7r6iVGSuxFE7dQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Aditya,

That's new. I have kept that setting in that file ever since the it was
introduced. This is the *first* time it's been removed.

Documentation of Master Password feature:
https://www.pgadmin.org/docs/pgadmin4/development/master_password.html

Link to Desktop deployment from that page:
https://www.pgadmin.org/docs/pgadmin4/development/desktop_deployment.html#desktop-deployment

Relevant section of config*.py files:
( https://www.pgadmin.org/docs/pgadmin4/development/config_py.html#config-py
):

There are multiple configuration files that are read at startup by pgAdmin.
These are as follows:

- config.py: This is the main configuration file, and should not be
modified. It can be used as a reference for configuration settings, that
may be overridden in one of the following files.
- config_distro.py: This file is read after config.py and is intended
for packagers to change any settings that are required for their pgAdmin
distribution. This may typically include certain paths and file locations.
This file is optional, and may be created by packagers in the same
directory as config.py if needed.
- config_local.py: This file is read after config_distro.py and is
intended for end users to change any default or packaging specific settings
that they may wish to adjust to meet local preferences or standards.This
file is optional, and may be created by users in the same directory as
config.py if needed.

Can you point out the section that states config_distro.py will be
overwritten on upgrade (I can't seem to find it)?

Can you explain *why* it just started replacing (in in the process removing
the MASTER_PASSWORD_REQUIRED = False statement) it in the 4.14 upgrade, but
not before?

Thanks,

rik.

On Thu, Oct 17, 2019 at 12:50 PM Aditya Toshniwal <
aditya(dot)toshniwal(at)enterprisedb(dot)com> wrote:

> Hi Richard,
>
> You need to add the setting in config_local.py. Other files will be
> replaced except config_local.py.
>
> On Thu, Oct 17, 2019, 22:15 richard coleman <rcoleman(dot)ascentgl(at)gmail(dot)com>
> wrote:
>
>> Ugg,
>>
>> Just upgraded pgAdmin4 to the latest version 4.14. Even though I have
>> had the Master Password requirement disabled for as long as it has been in
>> existence, guess what I was greeted with upon starting pgAdmin4? If you
>> guessed the prompt requiring me to create a Master Password, or be locked
>> out of the UI, give yourself a prize.
>>
>> Seriously people, I don't want/need a Master Password. Not now, not
>> *ever.*
>>
>> I've added the required incantation:
>>
>> MASTER_PASSWORD_REQUIRED = False
>>
>>
>> *back* into the *config.distro.py <http://config.distro.py>* yet again.
>>
>> Can you please *stop* trying to force this on me (and anyone else who has
>> no need for it)?
>>
>> Thanks,
>>
>> rik.
>>
>

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message George Weaver 2019-10-17 17:06:40 Re: Seriously? MASTER PASSWORD REQUIRED Again?!#$@!
Previous Message Michael Shapiro 2019-10-17 17:00:54 Saving DDL to a file ...