Thread

Commits

  1. Update pg_hba.conf example to reflect MD5 deprecation

  1. md5 reference

    The Post Office <noreply@postgresql.org> — 2025-12-17T07:21:15Z

    The following documentation comment has been logged on the website:
    
    Page: https://www.postgresql.org/docs/18/auth-pg-hba-conf.html
    Description:
    
    Hi,
    In the last pg_hba example on the page md5 is used as method. Maybe it
    should be changed to scram-sha-256 as that is the preferred method?
    
    KR
    Mikael Gustavsson
    
  2. Re: md5 reference

    Peter Eisentraut <peter@eisentraut.org> — 2025-12-17T12:20:52Z

    On 17.12.25 08:21, PG Doc comments form wrote:
    > The following documentation comment has been logged on the website:
    > 
    > Page: https://www.postgresql.org/docs/18/auth-pg-hba-conf.html
    > Description:
    > 
    > Hi,
    > In the last pg_hba example on the page md5 is used as method. Maybe it
    > should be changed to scram-sha-256 as that is the preferred method?
    
    Yes, I think that would make sense to modernize that example.
    
    
    
    
    
  3. Re: md5 reference

    Daniel Gustafsson <daniel@yesql.se> — 2025-12-17T12:33:33Z

    > On 17 Dec 2025, at 13:20, Peter Eisentraut <peter@eisentraut.org> wrote:
    > 
    > On 17.12.25 08:21, PG Doc comments form wrote:
    >> The following documentation comment has been logged on the website:
    >> Page: https://www.postgresql.org/docs/18/auth-pg-hba-conf.html
    >> Description:
    >> Hi,
    >> In the last pg_hba example on the page md5 is used as method. Maybe it
    >> should be changed to scram-sha-256 as that is the preferred method?
    > 
    > Yes, I think that would make sense to modernize that example.
    
    Agreed, I was just looking at it after reading the report.  @Mikael: would you
    like to try your hand at proposing a patch for this?
    
    --
    Daniel Gustafsson
    
    
    
    
    
  4. SV: md5 reference

    Mikael Gustavsson <mikael.gustavsson@smhi.se> — 2025-12-17T13:16:27Z

    
    
    ________________________________
    Från: Daniel Gustafsson <daniel@yesql.se>
    Skickat: den 17 december 2025 13:33
    Till: Peter Eisentraut
    Kopia: Mikael Gustavsson; pgsql-docs@lists.postgresql.org
    Ämne: Re: md5 reference
    
    > On 17 Dec 2025, at 13:20, Peter Eisentraut <peter@eisentraut.org> wrote:
    >
    > On 17.12.25 08:21, PG Doc comments form wrote:
    >> The following documentation comment has been logged on the website:
    >> Page: https://www.postgresql.org/docs/18/auth-pg-hba-conf.html
    >> Description:
    >> Hi,
    >> In the last pg_hba example on the page md5 is used as method. Maybe it
    >> should be changed to scram-sha-256 as that is the preferred method?
    >
    > Yes, I think that would make sense to modernize that example.
    
    Agreed, I was just looking at it after reading the report.  @Mikael: would you
    like to try your hand at proposing a patch for this?
    
    --
    Daniel Gustafsson
    
    Absolutely, i can try, but I think I might need some guidance.
    
    /Mikael
    
  5. Re: md5 reference

    Daniel Gustafsson <daniel@yesql.se> — 2025-12-17T13:33:02Z

    > On 17 Dec 2025, at 14:16, Mikael Gustavsson <mikael.gustavsson@smhi.se> wrote:
    
    > Absolutely, i can try, but I think I might need some guidance.
    
    Great!  Feel free to ask anything either here, on the PostgreSQL Hacking
    Discord or in an off-list email, whichever you prefer.  The file in the source
    tree you want to be looking at is doc/src/sgml/client-auth.sgml. 
    
    --
    Daniel Gustafsson