mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #374] [Bug] User with empty password in client.yml does not work #286
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#286
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cyqsimon on GitHub (Aug 4, 2022).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/374
Description
Using
ntfyCLI, when trying to subscribe to a topic as a user with an empty password, it seems impossible to do so from the config fileclient.yml. Things I tried all result in403 forbiddenauthentication failures.Steps to reproduce
empty-password-teston the server with policydeny.alicewith empty password and read access toempty-password-test.curl -u "alice:" -s http://my.domain.tld/empty-password-test/json, and observe that stream is opened successfully.client.yml.ntfy sub -C, and observe that authentication fails.ntfy sub -u "alice:" -C, and observe that with the username&password override, authentication no longer fails.Miscellaneous
password: ~,password: null,password: false, and omitting thepasswordfield altogether. None worked, althoughpassword: falseproduced401 unauthorizedinstead of403 forbidden.