Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lRGbo-0002ty-Or for pgadmin-hackers@arkaria.postgresql.org; Tue, 30 Mar 2021 15:48:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lRGbn-00083c-GV for pgadmin-hackers@arkaria.postgresql.org; Tue, 30 Mar 2021 15:48:47 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lRGbn-00083V-58 for pgadmin-hackers@lists.postgresql.org; Tue, 30 Mar 2021 15:48:47 +0000 Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lRGbk-00083a-Bm for pgadmin-hackers@postgresql.org; Tue, 30 Mar 2021 15:48:46 +0000 Received: by mail-ej1-x635.google.com with SMTP id jy13so25592984ejc.2 for ; Tue, 30 Mar 2021 08:48:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pgadmin.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jb3f31AzGbFpRGFwcWhvtScUtpi2pyOlRnKUopAQcKE=; b=M1GoXHki2/4yTPMMZmY8MEyqsnXUUPoYPp7qQqAypNj5uE04XvdRtnk2YGyBv2RAoY phSEm4OB2SuawtYZ5tfddHeM/4FpX2z8Y46IUR5PRrZ9U+YCRfkBnecvXbALPXkr2z9a 9FYFIhHzdUPXHtajJxMCmgqt5SXhrPx+4tDwRtynbWsZwBj5Cbss3PIaAZfub2UssSEq CMYwt5u5cWCGWzf9SFseh367egsZCQB5jKjQBCK+fTkaH5OMYSu4MX0ni8pjmgMEPpug P66gfqsGAnZPjEWa4dZmsUDHjxSqh7PDguGPh8ilLzb4ngDx3E+MDIQrim5X4WCLAXn8 wdlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jb3f31AzGbFpRGFwcWhvtScUtpi2pyOlRnKUopAQcKE=; b=HxVpUkC/RurjNw3wVivTwA7PqyFPKR93kWU6uSe5AypJdGE+9HQhbkxIp2hFgSUJ+9 IwJAaZx3yo1kQTExHxIRuGsNkwiu6BMliurUECmzuuPin8kmKPa2J+HwmHNRXrZ17kDs S8Iib1TraBRbQntZguQHKk+dNnlKBVCc1B5bGnCRFSOac0U9GpcEADZlEt/9vsz6iOsq v3R854Ai9LsUqzl+TCxf4KSR8dTc5SqmJmMwVTHv5DuzbbmJG+WuTRlQV6vEMvoSBj4t XX+jZ0f1Ho4Q35t404PjOs9BJGeddRDF139HxvQVekYXaWKhJfK77STGqkTmgca4oJaK pBGg== X-Gm-Message-State: AOAM532Uwu1GfZYzaX66atUEgyZo0c5trC8E1XEFzFeFa7OCCk3gmD0f YVMXF+KPwDwuVc8jFlPl9zE1LXMDO9kIA0tGbR6tBQ== X-Google-Smtp-Source: ABdhPJxO776m//WF2TA4UuSI9J6YWlaED8WDlch9CZeVpKL2I7zQRQ89vKD4aICrgxvhFLgzfz2jlGsA/XlWgzRm5oo= X-Received: by 2002:a17:906:4705:: with SMTP id y5mr34667396ejq.119.1617119323746; Tue, 30 Mar 2021 08:48:43 -0700 (PDT) MIME-Version: 1.0 References: <24c38b02-7b18-13e7-b42a-d70194211f21@posteo.de> In-Reply-To: <24c38b02-7b18-13e7-b42a-d70194211f21@posteo.de> From: Dave Page Date: Tue, 30 Mar 2021 15:48:32 +0000 Message-ID: Subject: Re: OAUTH2 implementation To: Florian Sabonchi Cc: pgadmin-hackers Content-Type: multipart/alternative; boundary="000000000000da05f505bec2eed9" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000da05f505bec2eed9 Content-Type: text/plain; charset="UTF-8" Hi On Tue, Mar 30, 2021 at 3:36 PM Florian Sabonchi wrote: > Hello in this patch I have implemented oauth2 > > Cool! Unfortunately the patch seems to be messed up. It adds a number of commits that are already in the primary repo, and attempts to remove your OAuth support, rather than adding it. Can you rebase it and make sure it only includes the addition of your work please? Some other comments (keep in mind it's hard to read the mangled patch, so I may be missing something): - There don't seem to be any documentation updates - There don't seem to be any tests (which I grant may not be feasible to add unless an OAuth service can be mocked) - I can't see how you've dealt with password saving, which currently requires a password from the user to be secure. -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EDB: http://www.enterprisedb.com --000000000000da05f505bec2eed9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi

On Tue, Mar 30, 2021 at 3:36 PM Florian= Sabonchi <sabonchi@posteo.de&= gt; wrote:
Hello in this patch I have implemented= oauth2

Cool!

Unfortunately the patch seems t= o be messed up. It adds a number of commits that are already in the primary= repo, and attempts to remove your OAuth support, rather than adding it. Ca= n you rebase it and make sure it only includes the addition of your work pl= ease?

Some other comments (keep in mind it's h= ard to read the mangled patch, so I may be missing something):
- There don't seem to be any documentation updates
- There don't seem to be any tests (which I grant may not be feasibl= e to add unless an OAuth service can be mocked)
- I can't see= how you've dealt with password saving, which currently requires a pass= word from the user to be secure.

--
Dave Page
Blog:= http://pgsnake.b= logspot.com
Twitter: @pgsnake

EDB: http://www.enterprisedb.com

--000000000000da05f505bec2eed9--