mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-04-03 17:54:14 +02:00
Compare commits
4 commits
7fa012b67f
...
0711a683bd
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0711a683bd | ||
|
|
3fe74be1bd | ||
|
|
4dc44c1021 | ||
|
|
9ca00d2119 |
|
|
@ -4,9 +4,7 @@ weight: 61
|
|||
type: docs
|
||||
---
|
||||
|
||||
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.
|
||||
Matrix uses the Olm and Megolm cryptographic ratchets for [end-to-end encryption](../client-server-api/#end-to-end-encryption).
|
||||
|
||||
- [Olm: A Cryptographic Ratchet](/olm-megolm/olm/)
|
||||
- [Megolm group ratchet](/olm-megolm/megolm/)
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
#
|
||||
# Download the KaTeX fonts and CSS, and copy them into `static`.
|
||||
set -e
|
||||
|
||||
root=$(git rev-parse --show-toplevel)
|
||||
root=$(dirname "$0")/..
|
||||
|
||||
# Check that the caller supplied a version.
|
||||
version=$1
|
||||
|
|
@ -35,6 +36,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.
|
||||
rm -rvf "$root"/static/css/fonts/KaTeX*
|
||||
while read -r file; do
|
||||
while IFS= read -r -d '' file; do
|
||||
install -vm644 "$file" "$root/static/css/fonts"
|
||||
done < <(find "$tmp_dir/katex/fonts" -maxdepth 1 -name "KaTeX*.woff2")
|
||||
done < <(find "$tmp_dir/katex/fonts" -maxdepth 1 -name "KaTeX*.woff2" -print0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue