UnifiedPush/specifications

Data should be bytearray not string

Closed this issue · 2 comments

Messages should be passed around as byte arrays not strings. Encoding encrypted bytes to UTF-8 results in garbage decoding.

This was recently discussed in #unifiedpush-devs:matrix.org with relation to binwiederhier/ntfy#101

The spec will probably have to be updated to change data types. This issue exists to keep track of progress regarding that.

Fixed with #22

DBus still needs to be done. Since it's 0.x spec, just changing the datatype ought to be fine. I'll open a PR soon