Skip to content

docs: add IvorySQL 5 passwordcheck adaptation guide - #305

Open
messere1 wants to merge 4 commits into
IvorySQL:masterfrom
messere1:codex/issue-1102-passwordcheck
Open

docs: add IvorySQL 5 passwordcheck adaptation guide#305
messere1 wants to merge 4 commits into
IvorySQL:masterfrom
messere1:codex/issue-1102-passwordcheck

Conversation

@messere1

@messere1 messere1 commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Summary\n\n- add bilingual build and configuration instructions for passwordcheck\n- document the module's actual plaintext password checks and pre-encrypted password limitation\n- include reproducible PostgreSQL and Oracle-compatible regression commands\n- add the component to both navigation files and ecosystem overview tables\n\n## Validation\n\nValidated on IvorySQL 5.6 / PostgreSQL 18.6:\n\n- PGPORT=5432 make installcheck — passed\n- PGPORT=1521 make oracle-installcheck — passed\n- manual weak and strong password cases — passed\n\nFixes IvorySQL/IvorySQL#1102

Copilot AI lite review requested due to automatic review settings September 6, 2026 10:51

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The new docs include a couple of scope/grammar ambiguities and the CN nav edit appears to introduce mixed line endings, which should be corrected before merging.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Adds new bilingual documentation for the passwordcheck contrib module in IvorySQL 5, and integrates it into the docs navigation and ecosystem overview tables so users can discover and follow build/config/validation steps.

Changes:

  • Add new EN/CN passwordcheck adaptation guides with build, configuration, validation, and limitations sections.
  • Register passwordcheck in both EN/CN ecosystem overview tables.
  • Add passwordcheck to both EN/CN navigation trees.
File summaries
File Description
EN/modules/ROOT/pages/master/ecosystem_components/passwordcheck.adoc New EN guide for passwordcheck build/config/validation/limitations.
EN/modules/ROOT/pages/master/ecosystem_components/ecosystem_overview.adoc Add passwordcheck row to EN ecosystem component table.
EN/modules/ROOT/nav.adoc Add passwordcheck page to EN navigation.
CN/modules/ROOT/pages/master/ecosystem_components/passwordcheck.adoc New CN guide for passwordcheck build/config/validation/limitations.
CN/modules/ROOT/pages/master/ecosystem_components/ecosystem_overview.adoc Add passwordcheck row to CN ecosystem component table.
CN/modules/ROOT/nav.adoc Add passwordcheck page to CN navigation.
Review details

Suppressed comments (2)

EN/modules/ROOT/pages/master/ecosystem_components/passwordcheck.adoc:35

  • The paragraph frames LOAD as a temporary one-session test, but the commands shown (ALTER SYSTEM + pg_reload_conf()) change the setting instance-wide. Reword to make the scope consistent with the example.
For a temporary test, a superuser can run `LOAD 'passwordcheck';` in one session. The minimum length defaults to 8 bytes and can be changed by a superuser:

CN/modules/ROOT/pages/master/ecosystem_components/passwordcheck.adoc:35

  • 同一段落先强调“当前会话临时测试”,但后面的示例使用 ALTER SYSTEM + pg_reload_conf(),实际会修改实例级别配置。建议改写说明以避免读者误以为是会话级变更。
超级用户也可在当前会话执行 `LOAD 'passwordcheck';` 临时测试。最小长度默认为 8 字节,超级用户可调整:
  • Files reviewed: 6/6 changed files
  • Comments generated: 4
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread CN/modules/ROOT/nav.adoc Outdated
Comment on lines +78 to +79
*** xref:master/ecosystem_components/set_user.adoc[set_user]
*** xref:master/ecosystem_components/passwordcheck.adoc[passwordcheck]

== 配置

如需在所有连接中一致执行密码策略,请在 `ivorysql.conf` 中将模块加入 `shared_preload_libraries` 并重启 IvorySQL:

== Overview

`passwordcheck` is a module shipped with the IvorySQL source tree. It rejects weak passwords when `CREATE ROLE`, `CREATE USER`, or `ALTER ROLE` receives a plaintext password. It is a lightweight baseline policy; deployments that need dictionary checks, password history, or centralized identity policy should use a dedicated authentication system.

== Configuration

For consistent enforcement, add the module to `shared_preload_libraries` in `ivorysql.conf` and restart IvorySQL:
@github-actions
github-actions Bot temporarily deployed to pull request September 6, 2026 10:55 Inactive
@github-actions

github-actions Bot commented Sep 6, 2026

Copy link
Copy Markdown

🚀 IvorySQL-Docs Preview Ready

@github-actions
github-actions Bot temporarily deployed to pull request September 6, 2026 11:03 Inactive
@github-actions

github-actions Bot commented Sep 6, 2026

Copy link
Copy Markdown

🚀 IvorySQL-Docs Preview Ready

@github-actions
github-actions Bot temporarily deployed to pull request September 6, 2026 11:07 Inactive
@github-actions

github-actions Bot commented Sep 6, 2026

Copy link
Copy Markdown

🚀 IvorySQL-Docs Preview Ready

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants