/rtmp/md5
text/x-diff
Filename: /rtmp/md5
Type: text/x-diff
Part: 0
Patch
Same data as JSON:
GET /api/v1/attachments/:id/patch
the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes.
API reference →
Format: unified
| File | + | − |
|---|---|---|
| doc/src/sgml/protocol.sgml | 0 | 0 |
diff --git a/doc/src/sgml/protocol.sgml b/doc/src/sgml/protocol.sgml
new file mode 100644
index 19c9686..4fda518
*** a/doc/src/sgml/protocol.sgml
--- b/doc/src/sgml/protocol.sgml
***************
*** 293,302 ****
<listitem>
<para>
The frontend must now send a PasswordMessage containing the
! password encrypted via MD5, using the 4-character salt
! specified in the AuthenticationMD5Password message. If
! this is the correct password, the server responds with an
! AuthenticationOk, otherwise it responds with an ErrorResponse.
</para>
</listitem>
</varlistentry>
--- 293,307 ----
<listitem>
<para>
The frontend must now send a PasswordMessage containing the
! password (with username) encrypted via MD5, then encrypted
! again using the 4-byte random salt specified in the
! AuthenticationMD5Password message. If this is the correct
! password, the server responds with an AuthenticationOk,
! otherwise it responds with an ErrorResponse. The actual
! PasswordMessage can be computed in SQL as <literal>concat('md5',
! md5(concat(md5(concat(password, username)), random-salt)))</>.
! (Keep in mind the <function>md5()</> function returns its
! result as a hex string.)
</para>
</listitem>
</varlistentry>