Implem / Implem.Pleasanter

Pleasanter is a no-code/low-code development platform that runs on .NET. You can quickly create business applications with simple operations.
https://pleasanter.org
GNU Affero General Public License v3.0
531 stars 85 forks source link

PostgreSQLのSCRAM-SHA-256認証 #443

Closed tats-u closed 1 year ago

tats-u commented 1 year ago

PostgreSQL + Ubuntu/CentOS/RHEL の組み合わせの導入手順で、PostgreSQLの設定でSCRAM-SHA-256認証を全てMD5認証に置き換えるステップがありますが、省いてセットアップしても動作しました。 公式手順から削除してもよいのではないでしょうか?

↓ここのmd5の部分は、パッケージインストール時点では全てscram-sha-256でした。

/var/lib/pgsql/14/data/pg_hba.conf を開き、METHODの設定を以下のように変更します。

# TYPE  DATABASE        USER            ADDRESS                 METHOD
# "local" is for Unix domain socket connections only
local   all             all                                     peer
# IPv4 local connections:
host    all             all             127.0.0.1/32            md5
# IPv6 local connections:
host    all             all             ::1/128                 md5
# Allow replication connections from localhost, by a user with the
# replication privilege.
local   replication     all                                     peer
host    replication     all             127.0.0.1/32            md5
host    replication     all             ::1/128                 md5
github-actions[bot] commented 1 year ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

tats-u commented 1 year ago

not stale

tats-u commented 1 year ago

ライブラリ側の対応Issue https://github.com/npgsql/npgsql/issues/1530

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

tats-u commented 1 year ago

あげ

jimkawn commented 1 year ago

ご指摘ありがとうございました。 動作確認がとれましたのでマニュアルを更新いたしました。