mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-05-02 07:04:09 +02:00
Compare commits
No commits in common. "0711a683bd9ad2b8e8207cbe7043b20d6fdc59b9" and "7fa012b67fbac9803e96d2a6fe3928c83a9bb2e3" have entirely different histories.
0711a683bd
...
7fa012b67f
|
|
@ -4,7 +4,9 @@ weight: 61
|
||||||
type: docs
|
type: docs
|
||||||
---
|
---
|
||||||
|
|
||||||
Matrix uses the Olm and Megolm cryptographic ratchets for [end-to-end encryption](../client-server-api/#end-to-end-encryption).
|
The Olm and Megolm cryptographic ratchets are not formally part
|
||||||
|
of the Matrix specification. In lack of a better place, their
|
||||||
|
specification is reproduced here, regardless.
|
||||||
|
|
||||||
- [Olm: A Cryptographic Ratchet](/olm-megolm/olm/)
|
- [Olm: A Cryptographic Ratchet](/olm-megolm/olm/)
|
||||||
- [Megolm group ratchet](/olm-megolm/megolm/)
|
- [Megolm group ratchet](/olm-megolm/megolm/)
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
|
||||||
# Download the KaTeX fonts and CSS, and copy them into `static`.
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
root=$(dirname "$0")/..
|
root=$(git rev-parse --show-toplevel)
|
||||||
|
|
||||||
# Check that the caller supplied a version.
|
# Check that the caller supplied a version.
|
||||||
version=$1
|
version=$1
|
||||||
|
|
@ -36,6 +35,6 @@ install -vm644 "$tmp_dir/katex/katex.min.css" "$root/static/css/katex.min.css"
|
||||||
|
|
||||||
# Remove any existing fonts and move the new ones into place.
|
# Remove any existing fonts and move the new ones into place.
|
||||||
rm -rvf "$root"/static/css/fonts/KaTeX*
|
rm -rvf "$root"/static/css/fonts/KaTeX*
|
||||||
while IFS= read -r -d '' file; do
|
while read -r file; do
|
||||||
install -vm644 "$file" "$root/static/css/fonts"
|
install -vm644 "$file" "$root/static/css/fonts"
|
||||||
done < <(find "$tmp_dir/katex/fonts" -maxdepth 1 -name "KaTeX*.woff2" -print0)
|
done < <(find "$tmp_dir/katex/fonts" -maxdepth 1 -name "KaTeX*.woff2")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue