Repository navigation
feat(config): ostrzeżenie o niezgodnej polityce haseł - #40
Merged
Merged
Conversation
BPP od 2026.10 (iplweb/bpp#892) wymaga hasła min. 15 znaków i nie wymusza cyklicznej zmiany. Stare DJANGO_BPP_PASSWORD_DURATION_SECONDS (≠ 0) albo DJANGO_BPP_PASSWORD_MIN_LENGTH < 15 w .env instalacji po cichu by tę politykę cofnęły — make up / config-check / doctor pokazują teraz "⚠ UWAGA: niezgodna polityka hasel" (stderr, bez blokowania deployu). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SgHJbMvTRmBeVQZ5bD37gj
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
BPP od 2026.10 (iplweb/bpp#892) ma nową politykę haseł: minimum 15 znaków i brak cyklicznego wymuszania zmiany (NIST SP 800-63B). Jeśli
${BPP_CONFIGS_DIR}/.envinstalacji nadal ustawia starą politykę, po cichu ją cofnie.Co robi
make up(--missing),make config-checkimake doctor(pozycja config) wypisują na stderr ostrzeżenie:DJANGO_BPP_PASSWORD_DURATION_SECONDSint()w settings)DJANGO_BPP_PASSWORD_MIN_LENGTHconfig-checkzostaje bez zmian.rej_ostrzez_polityka_haselwscripts/lib-config-registry.sh;scripts/configure.shdla trybów--missingi--check.docs/konfiguracja/zmienne.md.Testy
test_ostrzezenie_polityki_haselwtests/test_makefile.sh:DURATION=0nie dają ostrzeżenia;config-checknadal zwraca 0;--missing(ścieżkamake up) też ostrzega.test_configure_registry(32/32). Uruchomione wyizolowanie, bez reszty suity, która stawia kontenery nginx.shellcheck -xjest czysty,mkdocs build --strictprzechodzi.🤖 Generated with Claude Code
https://claude.ai/code/session_01SgHJbMvTRmBeVQZ5bD37gj