<div dir="ltr">Hi Tatsuo,<div>Looking at the error in log:</div><div><i>&quot;</i></div><div><i>./test.sh: line 12: ./cert.sh: No such file or directory<br>chmod: cannot access `*.key&#39;: No such file or directory<br></i></div><div><i>&quot;</i><br><div>I see one test helper file ( i.e. &#39;cert.sh&#39; ) is not committed from my patch, because of that ssl artefacts are not generated for test.</div></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 1, 2020 at 9:57 AM Tatsuo Ishii &lt;<a href="mailto:ishii@sraoss.co.jp">ishii@sraoss.co.jp</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Umar,<br>
<br>
Unfortunately the build farm is failing on the new<br>
029.cert_passphrase. Can you please take a look at this?<br>
<br>
&gt; I have committed the patches with small modification. The regression<br>
&gt; test is located in 072 in the patch, which is in the number range for<br>
&gt; bug cases (050 or above). So I changed it to 029.<br>
&gt; <br>
&gt; Also I have added a Japanese document as usual.<br>
&gt; <br>
&gt; Again, thank you!<br>
&gt; <br>
&gt;&gt; Thanks. I will look into this.<br>
&gt;&gt; <br>
&gt;&gt; Best regards,<br>
&gt;&gt; --<br>
&gt;&gt; Tatsuo Ishii<br>
&gt;&gt; SRA OSS, Inc. Japan<br>
&gt;&gt; English: <a href="http://www.sraoss.co.jp/index_en.php" rel="noreferrer" target="_blank">http://www.sraoss.co.jp/index_en.php</a><br>
&gt;&gt; Japanese:<a href="http://www.sraoss.co.jp" rel="noreferrer" target="_blank">http://www.sraoss.co.jp</a><br>
&gt;&gt; <br>
&gt;&gt;&gt; Hi Hackers,<br>
&gt;&gt;&gt; Please find attached test case for SSL Passphrase Support. A new<br>
&gt;&gt;&gt; configuration variable is added &#39;ssl_passphrase_command&#39;. External command<br>
&gt;&gt;&gt; provided in this variable will be used to get passphrase to decrypt SSL<br>
&gt;&gt;&gt; file(s). As mentioned in last email, If passphrase is required but not<br>
&gt;&gt;&gt; provided using this configuration variable, PgPool will fail to load (<br>
&gt;&gt;&gt; which is same behaviour as of now pgpool 4.1 ).<br>
&gt;&gt;&gt; <br>
&gt;&gt;&gt; Patch Include:<br>
&gt;&gt;&gt; 1. SSL Passphrase call backs implementation<br>
&gt;&gt;&gt; 2. Test cases<br>
&gt;&gt;&gt; 3. Documentation<br>
&gt;&gt;&gt; <br>
&gt;&gt;&gt; Let me know, any feedback/suggestions, or any scenario that I have missed?<br>
&gt;&gt;&gt; <br>
&gt;&gt;&gt; Regards,<br>
&gt;&gt;&gt; Umar Hayat<br>
&gt;&gt;&gt; Principle Software Engineer<br>
&gt;&gt;&gt; EnterpriseDB: <a href="https://www.enterprisedb.com" rel="noreferrer" target="_blank">https://www.enterprisedb.com</a><br>
&gt;&gt;&gt; <br>
&gt;&gt;&gt; <br>
&gt;&gt;&gt; <br>
&gt;&gt;&gt; On Fri, Mar 13, 2020 at 3:03 PM Umar Hayat &lt;<a href="mailto:m.umarkiani@gmail.com" target="_blank">m.umarkiani@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt; <br>
&gt;&gt;&gt;&gt; Hi Hackers,<br>
&gt;&gt;&gt;&gt; I am implementing  support of SSL passphrase feature for PgPool. If we<br>
&gt;&gt;&gt;&gt; comparing existing PostgreSQL and PgPool implementation of SSL (when<br>
&gt;&gt;&gt;&gt; passphrase is required) :<br>
&gt;&gt;&gt;&gt; PostgreSQL:<br>
&gt;&gt;&gt;&gt; On Server start,<br>
&gt;&gt;&gt;&gt; a) If &#39;ssl_passphrase_command&#39; defined, It will register call back for<br>
&gt;&gt;&gt;&gt; external command provide<br>
&gt;&gt;&gt;&gt; b) otherwise it will register default, which is *prompting* user to input<br>
&gt;&gt;&gt;&gt; password<br>
&gt;&gt;&gt;&gt; On Reload Configuration,<br>
&gt;&gt;&gt;&gt; a) If &#39;ssl_passphrase_command&#39; is defined and<br>
&gt;&gt;&gt;&gt; &#39;ssl_passphrase_command_supports_reload&#39; is define, then use external<br>
&gt;&gt;&gt;&gt; command provided in &#39;ssl_passphrase_command&#39;<br>
&gt;&gt;&gt;&gt; b) otherwise suppress prompt, and fail intentionally with dummy value.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; PgPool:<br>
&gt;&gt;&gt;&gt; a) Register dummy implementation and fails in all cases.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; My question is:<br>
&gt;&gt;&gt;&gt; Should we prompt for pass phrase in any case ? or user must provide<br>
&gt;&gt;&gt;&gt; password via &#39;ssl_passphrase_command&#39; only. Any suggestions?<br>
&gt;&gt;&gt;&gt; If we should provide prompt, in which scenario ?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; At the moment, what I implemented is, No prompt in any case.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Regards,<br>
&gt;&gt;&gt;&gt; Umar Hayat<br>
&gt;&gt;&gt;&gt; Principle Software Engineer<br>
&gt;&gt;&gt;&gt; EnterpriseDB: <a href="https://www.enterprisedb.com" rel="noreferrer" target="_blank">https://www.enterprisedb.com</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; pgpool-hackers mailing list<br>
&gt;&gt; <a href="mailto:pgpool-hackers@pgpool.net" target="_blank">pgpool-hackers@pgpool.net</a><br>
&gt;&gt; <a href="http://www.pgpool.net/mailman/listinfo/pgpool-hackers" rel="noreferrer" target="_blank">http://www.pgpool.net/mailman/listinfo/pgpool-hackers</a><br>
&gt; _______________________________________________<br>
&gt; pgpool-hackers mailing list<br>
&gt; <a href="mailto:pgpool-hackers@pgpool.net" target="_blank">pgpool-hackers@pgpool.net</a><br>
&gt; <a href="http://www.pgpool.net/mailman/listinfo/pgpool-hackers" rel="noreferrer" target="_blank">http://www.pgpool.net/mailman/listinfo/pgpool-hackers</a><br>
</blockquote></div>