Re: Regarding feature "Option to skip Password-Dialog for identity file"
От | Dave Page |
---|---|
Тема | Re: Regarding feature "Option to skip Password-Dialog for identity file" |
Дата | |
Msg-id | CA+OCxowBusxm5ivqYnPdRKonuAYfxDyN_0+LuQdLwh30_bhM1Q@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Regarding feature "Option to skip Password-Dialog for identity file" (Akshay Joshi <akshay.joshi@enterprisedb.com>) |
Список | pgadmin-hackers |
On Tue, 30 Sept 2025 at 08:37, Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:
On Tue, Sep 30, 2025 at 11:56 AM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:Hi Akshay,On Tue, Sep 30, 2025 at 11:50 AM Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:On Tue, Sep 30, 2025 at 11:41 AM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:Hi Akshay,On Tue, Sep 30, 2025 at 11:36 AM Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:On Tue, Sep 30, 2025 at 11:29 AM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:Hi Akshay,Even if you show the password dialog for the first time, the above scenarios are applicable.For the context of showing the password prompt first time or not - I'm suggesting we try first and then show the password prompt.I tried that implementation, but what if the user doesn’t want a password prompt at all when the identity file has no password? Do you think the solution you provided fully meets the user’s requirements?It will work the same as the existing flow. Users can proceed without entering any password.
That’s exactly what the user doesn’t want. The feature request has a clear subject line: “Option to skip Password-Dialog for identity file.” Similar requests have been raised by other users in the past, which we closed as duplicates.The request is to skip the password initially when connecting if an identity file is used. Subsequent prompts cannot be avoided if the connection fails.Later this can be improved further in future once sshtunnel provide more details.I’m not convinced by this solution. Could you explain what issues you see with the approach I proposed? To me, it seems simple: if a user has an identity file without a password, disable the prompt; if the identity file has a password, enable the prompt. Straightforward. I’ll wait for Dave or others to share their thoughts on this.
I'd prefer to try to handle this more as Aditya suggests, to avoid having an additional config option. However, it certainly sounds like the ssh library makes this impractical and potentially confusing, so I think the cleanest and most usable solution is likely to add the "Prompt for password" checkbox that Akshay suggests.
Dave Page
pgAdmin: https://www.pgadmin.org
PostgreSQL: https://www.postgresql.org
В списке pgadmin-hackers по дате отправления: