mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[PR #1633] [CLOSED] add --cert for cli #1673
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#1673
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?
📋 Pull Request Information
Original PR: https://github.com/binwiederhier/ntfy/pull/1633
Author: @Tyler-Hardin
Created: 3/2/2026
Status: ❌ Closed
Base:
main← Head:cert📝 Commits (1)
7935fbaadd --cert for cli📊 Changes
9 files changed (+95 additions, -13 deletions)
View changed files
📝
client/client.go(+46 -8)📝
client/client_test.go(+2 -2)📝
client/config.go(+7 -0)📝
cmd/config_loader.go(+20 -0)📝
cmd/publish.go(+8 -1)📝
cmd/serve_test.go(+1 -1)📝
cmd/subscribe.go(+8 -1)📝
go.mod(+1 -0)📝
go.sum(+2 -0)📄 Description
I use mTLS for my self hosted server. Would appreciate if you would include support in mainline. Let me know if you see any changes you'd like. Included changes:
--certflagNTFY_CERTcert-fileandcert-passwordI went with
software.sslmate.com/src/go-pkcs12for pkcs12/cert parsing because the std lib doesn't support sha2, which is standard now.Thanks for your work on this. Very neat project!
Full disclosure, I used Claude for this. I'm a dev myself, but little experience in Go. I mostly work in Python and Rust. But I reviewed the changes and they do seem sensible to me.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.