Skip to content

docs: panel statusu nie moze odsylac do nieopublikowanej paczki - #163

Merged
msgwing merged 1 commit into
mainfrom
fix-selftest-command
Aug 17, 2026
Merged

msgwing merged 1 commit into
mainfrom
fix-selftest-command

Conversation

@msgwing

@msgwing msgwing commented Aug 17, 2026

Copy link
Copy Markdown
Owner

Panel guzika stanu proponował npx zerosmtp-check jako sposób na test z własnej sieci. Ta paczka zwraca 404 z rejestru npm.

Znalezione przy pierwszym przebiegu nowego security-director:

  • publish-npm.yml wymaga sekretu NPM_TOKEN
  • repozytorium ma zero sekretów
  • workflow nigdy się nie uruchomił — lista biegów jest pusta
  • https://registry.npmjs.org/zerosmtp-check → 404

Odesłanie czytelnika pod polecenie, które padnie, jest gorsze niż nieodesłanie go nigdzie — a na stronie, której cały argument brzmi „verifiably up", to najdroższe możliwe miejsce na pomyłkę. Błąd był mój, wszedł wczoraj w #159.

Zamiast tego

Dwa jednolinijkowce bez instalacji, obecne już w przewodniku troubleshootingu:

  • Windows: Test-NetConnection mx.msgwing.com -Port 587
  • Linux/macOS: openssl s_client -starttls smtp -connect mx.msgwing.com:587

Oba otwierają połączenie i nie wysyłają poczty.

Decyzja dla Ciebie

Opublikowanie CLI jest warte zachodu — npx zerosmtp-check to jedyny artefakt tego projektu, który ktoś uruchamia i podaje dalej. Wymaga jednak automation tokena z npmjs.com wstawionego jako sekret NPM_TOKEN. Poświadczeń nie tworzę i nie wprowadzam — to musi zrobić człowiek.

The status panel offered `npx zerosmtp-check` as the way to test from your
own network. That package returns 404 from the npm registry: publish-npm.yml
requires an NPM_TOKEN secret, the repository has no secrets at all, and the
workflow has never run once.

Sending a reader to a command that fails is worse than offering nothing,
and on a page whose whole argument is that the service is verifiably up it
is the most expensive place to be wrong.

Replaced with two one-liners that need no install and are already in the
troubleshooting guide - Test-NetConnection on Windows, openssl s_client
elsewhere. Both open the connection and send no mail.

Publishing the CLI is worth doing, but it needs a credential that has to be
created by a person.
@msgwing
msgwing enabled auto-merge August 17, 2026 20:33
@msgwing
msgwing merged commit 93cd48d into main Aug 17, 2026
34 checks passed
@msgwing
msgwing deleted the fix-selftest-command branch August 17, 2026 20:33
@github-actions github-actions Bot added the docs label Aug 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant