!KQaqifczWbCaidLETg:matrix.org

ntfy

228 Members
This is a room to talk about ntfy | Website: https://ntfy.sh/ | GitHub: https://github.com/binwiederhier/ntfy | Docs: https://ntfy.sh/docs/ | This room is bridged from Discord: https://discord.com/invite/cT7ECsZj9w36 Servers

Load older messages


SenderMessageTime
7 Jul 2022
@_discord_805503024041558048:t2bot.iobinwiederhier#8517 So this: 01:03:30
@_discord_805503024041558048:t2bot.iobinwiederhier#8517 Option 2: Multipart + custom binary enc format without attachment
PUT /mytopic HTTP/1.1
Encryption: yes

<encrypted binary data, ntfy format>



Option 2: Multipart + custom binary enc format with attachment
PUT /mytopic HTTP/1.1
Encryption: yes
Content-Type: multipart/form-data; boundary=--ntfy-boundaryXyASDsdA

----ntfy-boundaryXyASDsdA
Content-Disposition: form-data; name="message"
Content-Length: 1234

<encrypted binary data, ntfy format>

----ntfy-boundaryXyASDsdA
Content-Disposition: form-data; name="attachment"
Content-Length: 42343242

<encrypted binary data, ntfy format>

----ntfy-boundaryXyASDsdA--
01:03:32
@_discord_805503024041558048:t2bot.iobinwiederhier#8517 * Option 2: Multipart + custom binary enc format without attachment
PUT /mytopic HTTP/1.1
Encryption: yes

<encrypted binary data, ntfy format>

Option 2: Multipart + custom binary enc format with attachment
PUT /mytopic HTTP/1.1
Encryption: yes
Content-Type: multipart/form-data; boundary=--ntfy-boundaryXyASDsdA

----ntfy-boundaryXyASDsdA
Content-Disposition: form-data; name="message"
Content-Length: 1234

<encrypted binary data, ntfy format>

----ntfy-boundaryXyASDsdA
Content-Disposition: form-data; name="attachment"
Content-Length: 42343242

<encrypted binary data, ntfy format>

----ntfy-boundaryXyASDsdA--
01:03:38
@_discord_805503024041558048:t2bot.iobinwiederhier#8517 * Option 2: Multipart + custom binary enc format without attachment
PUT /mytopic HTTP/1.1
Encrypted: yes

<encrypted binary data, ntfy format>

Option 2: Multipart + custom binary enc format with attachment
PUT /mytopic HTTP/1.1
Encrypted: yes
Content-Type: multipart/form-data; boundary=--ntfy-boundaryXyASDsdA

----ntfy-boundaryXyASDsdA
Content-Disposition: form-data; name="message"
Content-Length: 1234

<encrypted binary data, ntfy format>

----ntfy-boundaryXyASDsdA
Content-Disposition: form-data; name="attachment"
Content-Length: 42343242

<encrypted binary data, ntfy format>

----ntfy-boundaryXyASDsdA--
01:04:09
@_discord_805503024041558048:t2bot.iobinwiederhier#8517 * Option 2: Multipart + custom binary enc format without attachment
PUT /mytopic HTTP/1.1
Encrypted: yes

<encrypted binary data, ntfy format>

Option 2: Multipart + custom binary enc format with attachment
PUT /mytopic HTTP/1.1
Encrypted: yes
Content-Type: multipart/form-data; boundary=--ntfy-boundaryXyASDsdA

----ntfy-boundaryXyASDsdA
Content-Disposition: form-data; name="message"
Content-Length: 1234

<encrypted binary data, ntfy format>

----ntfy-boundaryXyASDsdA
Content-Disposition: form-data; name="attachment"
Content-Length: 42343242

<encrypted binary data, ntfy format>

----ntfy-boundaryXyASDsdA--


with "encrypted binary data, ntfy format" as:
ntfy2586v1 || tag || iv || ciphertext [aes-256-gcm]
01:05:31
@_discord_805503024041558048:t2bot.iobinwiederhier#8517 * Option 2: Multipart + custom binary enc format without attachment
PUT /mytopic HTTP/1.1
Encrypted: yes

<encrypted binary data, ntfy format>

Option 2: Multipart + custom binary enc format with attachment
PUT /mytopic HTTP/1.1
Encrypted: yes
Content-Type: multipart/form-data; boundary=--ntfy-boundaryXyASDsdA

----ntfy-boundaryXyASDsdA
Content-Disposition: form-data; name="message"
Content-Length: 1234

<encrypted binary data, ntfy format>

----ntfy-boundaryXyASDsdA
Content-Disposition: form-data; name="attachment"
Content-Length: 42343242

<encrypted binary data, ntfy format>

----ntfy-boundaryXyASDsdA--

with "encrypted binary data, ntfy format" as:
ntfy2586v1 || tag || iv || ciphertext [aes-256-gcm]
01:05:48
@_discord_805503024041558048:t2bot.iobinwiederhier#8517 * Option 2: Multipart + custom binary enc format without attachment
PUT /mytopic HTTP/1.1
Encrypted: yes

<encrypted binary data, ntfy format>

Option 2: Multipart + custom binary enc format with attachment
PUT /mytopic HTTP/1.1
Encrypted: yes
Content-Type: multipart/form-data; boundary=--ntfy-boundaryXyASDsdA

----ntfy-boundaryXyASDsdA
Content-Disposition: form-data; name="message"
Content-Length: 1234

<encrypted binary data, ntfy format>

----ntfy-boundaryXyASDsdA
Content-Disposition: form-data; name="attachment"
Content-Length: 42343242

<encrypted binary data, ntfy format>

----ntfy-boundaryXyASDsdA--

with "encrypted binary data, ntfy format" as:
"ntfy2586v1" || tag || iv || ciphertext [aes-256-gcm]
01:07:16
@_discord_805503024041558048:t2bot.iobinwiederhier#8517 (Before you ask: "2586" is my birthday (May 2); I "hide" that in lots of places) 01:08:23
@_discord_805503024041558048:t2bot.iobinwiederhier#8517 Yes? 01:11:17
@_discord_805503024041558048:t2bot.iobinwiederhier#8517 No? 01:11:21
@_discord_805503024041558048:t2bot.iobinwiederhier#8517 Maybe? 01:11:23
@_discord_805503024041558048:t2bot.iobinwiederhier#8517 I don't know? 01:11:28
@_discord_805503024041558048:t2bot.iobinwiederhier#8517 Can you repeat the question, ... 🎶 🎼 01:11:49
@_discord_805503024041558048:t2bot.iobinwiederhier#8517 * Can you repeat the question? You're not the boss of me ... 🎶 🎼 01:12:00
@_discord_805503024041558048:t2bot.iobinwiederhier#8517 In a comment https://github.com/binwiederhier/ntfy/issues/69#issuecomment-1176936377 01:23:50
@_discord_771884149190950932:t2bot.iowunter8 Sorry about the delay 01:38:23
@_discord_771884149190950932:t2bot.iowunter8 I think that'll work, yes 01:38:28
@_discord_771884149190950932:t2bot.iowunter8 What is the message/payload plaintext going to look like? Because it needs to include HTTP headers and stuff, too, right? 01:39:32
@_discord_771884149190950932:t2bot.iowunter8 Just a JSON string? 01:39:39
@_discord_805503024041558048:t2bot.iobinwiederhier#8517 Yeah I was thinking just the JSON 01:40:20
@_discord_805503024041558048:t2bot.iobinwiederhier#8517 Actually the multipart thing could even be used without encryption 01:40:41
@karmanyaah:malhotra.cckarmanyaahmHow about using the same format as webpush. There are already quite a few libraries for it, not sure about cli tools.01:40:41
@_discord_805503024041558048:t2bot.iobinwiederhier#8517 Because right now when you send a POST with JSON you cannot also send an attachment 01:41:25
@karmanyaah:malhotra.cckarmanyaahmRFC8188 and RFC 829101:41:30
@_discord_805503024041558048:t2bot.iobinwiederhier#8517 I'll look at this tomorrow thanks! 01:41:44
@_discord_805503024041558048:t2bot.iobinwiederhier#8517 Great timing 01:41:52
@_discord_805503024041558048:t2bot.iobinwiederhier#8517 Right after we agreed on something 01:41:59
@karmanyaah:malhotra.cckarmanyaahm😅 you don't have to01:42:26
@_discord_805503024041558048:t2bot.iobinwiederhier#8517 ;-) 01:45:23
@_discord_771884149190950932:t2bot.iowunter8 I guess it won't actually have HTTP headers, just the parameters that go into the headers. We won't need to rebuild the actual HTTP request on the client 02:02:05

There are no newer messages yet.


Back to Room List