-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathabout.hbs
More file actions
133 lines (94 loc) · 4.61 KB
/
about.hbs
File metadata and controls
133 lines (94 loc) · 4.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
# Third-Party Licences
This file lists the licences of all third-party dependencies used by Trelis,
including inlined code and protocol designs that influenced this project.
Generated: {{timestamp}}
---
## Inlined and Adapted Code
The following projects have been inlined, adapted, or substantially influenced
the implementation of Trelis. These are not external crate dependencies but
are credited here for their contributions.
### ML-DSA Implementation (MIT)
The `mldsa_core` module is derived from the RustCrypto ML-DSA implementation.
The code has been modified to support pluggable hash functions (SHAKE and BLAKE3).
- **Source**: https://github.com/RustCrypto/signatures/tree/master/ml-dsa
- **Licence**: MIT
- **Copyright**: Copyright (c) 2024-2025 RustCrypto Developers
### Memory Protection (MIT)
The `memlock` module is derived from dryoc's protected memory implementation.
The code has been adapted for Trelis's memory protection requirements.
- **Source**: https://github.com/brndnmtthws/dryoc/blob/main/src/protected.rs
- **Licence**: MIT
- **Copyright**: Copyright (c) 2024 Brenden Matthews
### MIT Licence Text (applies to above)
```
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
```
---
## Protocol Designs and Academic References
The following protocols and academic works have influenced the design of Trelis.
No code was directly copied, but the protocol structures are derived from or
inspired by these works.
### CoCoA: Concurrent Continuous Group Key Agreement
The `trelis-cocoa` crate implements a server-assisted variant of the CoCoA
protocol for group key agreement.
- **Paper**: "CoCoA: Concurrent Continuous Group Key Agreement"
- **Authors**: Joël Alwen, Benedikt Auerbach, Miguel Cueto Noval,
Karen Klein, Guillermo Pascual-Perez, Krzysztof Pietrzak
- **Published**: EUROCRYPT 2022
- **Link**: https://eprint.iacr.org/2022/251
### X3DH: Extended Triple Diffie-Hellman
The `trelis-x3dh-pq` crate extends the X3DH protocol with post-quantum security.
- **Specification**: "The X3DH Key Agreement Protocol"
- **Author**: Moxie Marlinspike, Trevor Perrin (Open Whisper Systems)
- **Version**: Revision 1, 2016-11-04
- **Link**: https://signal.org/docs/specifications/x3dh/
### Signal Double Ratchet (Design Influence)
The `trelis-ratchet` crate uses a per-message KEM ratchet design that differs
from Signal's double ratchet, but was informed by Signal's security analysis.
- **Specification**: "The Double Ratchet Algorithm"
- **Author**: Trevor Perrin, Moxie Marlinspike (Open Whisper Systems)
- **Version**: Revision 1, 2016-11-20
- **Link**: https://signal.org/docs/specifications/doubleratchet/
---
## Cargo Dependency Licence Summary
| Licence | Crates |
|---------|--------|
{{#each licenses}}
| {{name}} | {{#each used_by}}{{crate.name}}{{#unless @last}}, {{/unless}}{{/each}} |
{{/each}}
---
## Crate Details
{{#each licenses}}
### {{name}}
{{#each used_by}}
- **{{crate.name}}** ({{crate.version}}){{#if crate.repository}} - [source]({{crate.repository}}){{/if}}
{{/each}}
{{/each}}
---
## Full Licence Texts
For the full text of each licence:
- **Apache-2.0**: https://www.apache.org/licenses/LICENSE-2.0
- **MIT**: https://opensource.org/licenses/MIT
- **BSD-2-Clause**: https://opensource.org/licenses/BSD-2-Clause
- **BSD-3-Clause**: https://opensource.org/licenses/BSD-3-Clause
- **ISC**: https://opensource.org/licenses/ISC
- **Zlib**: https://opensource.org/licenses/Zlib
- **CC0-1.0**: https://creativecommons.org/publicdomain/zero/1.0/
- **MPL-2.0**: https://www.mozilla.org/en-US/MPL/2.0/
- **Unicode-DFS-2016**: https://www.unicode.org/license.html
- **BSL-1.0**: https://www.boost.org/LICENSE_1_0.txt
- **OpenSSL**: https://www.openssl.org/source/license.html