Naming of Module to generate an encrypted password in the PostgreSQL SCRAM format

[email protected] (Guido Brugnara via module-authors) Mon, 6 Jan 2025 19:08:53 +0100
Newsgroups perl.module-authors
Message-ID <[email protected]>
--------------dmQKFXUhan1izVTyMwfeKI0u
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

I will preface this by saying that I am a beginner in the use of PAUSE, 
even though I registered my name (BRUGNARA) many years ago, without 
using it until now.

I read [1] that it is recommended to ask for advice in this mail-list in 
naming new modules.

I would like to publish a new module to generate SCRAM encrypted 
password in the format used by PostgreSQL.

A source code (usable from the command line) can be found here:

https://www.leader.it/en/Blog/PostgreSQL_SCRAM-SHA-256_authentication

I just need to rewrite it using the appropriate package by making 
available method, or an exported function

A name, I think suitable, could be:

Postgresql::Password::SCRAM

I would be grateful in receiving your opinion.

Best regards
Guido Brugnara


[1] https://pause.perl.org/pause/query?ACTION=pause_namingmodules

--------------dmQKFXUhan1izVTyMwfeKI0u
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html>
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p _d-id="22886"><span _d-id="24455" class="--l sentence_highlight">I
        will preface this by saying that I am a beginner in the use of
        PAUSE, </span><span _d-id="138237"
class=" --l alignedSentenceHighlight-module--alignedSentenceHighlight--e599c alignedSentenceHighlight-module--partialHighlightAnimationWeb--324f1 bg-[#E1F0F5] text-[#25282D] sentence_highlight">even
        though I registered my name (BRUGNARA) many years ago, </span><span
        _d-id="145022"
class=" --l alignedSentenceHighlight-module--alignedSentenceHighlight--e599c alignedSentenceHighlight-module--partialHighlightAnimationWeb--324f1 bg-[#E1F0F5] text-[#25282D] sentence_highlight">without
        using it until now</span><span _d-id="138237"
class=" --l alignedSentenceHighlight-module--alignedSentenceHighlight--e599c alignedSentenceHighlight-module--partialHighlightAnimationWeb--324f1 bg-[#E1F0F5] text-[#25282D] sentence_highlight">.</span></p>
    <p _d-id="22890"><span _d-id="24460" class="--l sentence_highlight">I
        read [1] that it is recommended to ask for advice in this
        mail-list in naming new modules.</span></p>
    <p _d-id="91528"><span _d-id="94862" class="--l sentence_highlight">I
        would like to publish a new module to generate SCRAM encrypted
        password in the format used by PostgreSQL.</span></p>
    <p _d-id="91532"><span _d-id="94867" class="--l sentence_highlight">A
        source code (usable from the command line) can be found here:<br>
      </span></p>
    <p _d-id="91532"><span _d-id="94867" class="--l sentence_highlight">   
<a class="moz-txt-link-freetext" href="https://www.leader.it/en/Blog/PostgreSQL_SCRAM-SHA-256_authentication">https://www.leader.it/en/Blog/PostgreSQL_SCRAM-SHA-256_authentication</a></span></p>
    <p _d-id="97438"><span _d-id="126485"
class=" --l --r alignedSentenceHighlight-module--alignedSentenceHighlight--e599c alignedSentenceHighlight-module--partialHighlightAnimationWeb--324f1 bg-[#E1F0F5] text-[#25282D] sentence_highlight">I
        just need to rewrite it using the appropriate package by making
        available method, or an exported function</span><span
        _d-id="97709" class="--l sentence_highlight"></span></p>
    <p _d-id="97438"><span _d-id="97709" class="--l sentence_highlight">A
        name, I think suitable, could be:</span></p>
    <p _d-id="97438"><span _d-id="97709" class="--l sentence_highlight">   
        Postgresql::Password::SCRAM</span></p>
    <p _d-id="97442"><span _d-id="97714" class="--l sentence_highlight">I
        would be grateful in receiving your opinion.</span></p>
    <p _d-id="22900"><span _d-id="24465"
        class="--l --r sentence_highlight">Best regards<br>
        Guido Brugnara<br>
        <br>
        <br>
      </span><span _d-id="25765"
class=" --l --r alignedSentenceHighlight-module--alignedSentenceHighlight--e599c alignedSentenceHighlight-module--partialHighlightAnimationWeb--324f1 bg-[#E1F0F5] text-[#25282D] sentence_highlight">[1]
        <a class="moz-txt-link-freetext" href="https://pause.perl.org/pause/query?ACTION=pause_namingmodules">https://pause.perl.org/pause/query?ACTION=pause_namingmodules</a></span></p>
    <p></p>
  </body>
</html>

--------------dmQKFXUhan1izVTyMwfeKI0u--