Skip to content

Commit d965c0d

Browse files
committed
add security section to 'package'
1 parent ccbe5af commit d965c0d

File tree

1 file changed

+26
-3
lines changed

1 file changed

+26
-3
lines changed

specs/packaging/index.html

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,32 @@ <h2>common</h2>
162162
</section>
163163
</section>
164164

165+
<section>
166+
<h2>Security & Privacy Considerations</h2>
167+
168+
<section>
169+
<h2>Integrity & Trustworthiness</h2>
170+
<p>
171+
To ensure the integrity and trustworthiness, a MiniApp package should be protected by one or more digital signatures by the author (e.g. the MiniApp developer) and/or distributors (e.g. an application store).
172+
<li>A digital signature by the author ensures the origin of the MiniApp, so that an end user or a hosting platform can decide whether to install the MiniApp package according to the knowledge about the author (e.g. credits, blacklist, quality).</li>
173+
<li>A digital signature by a distributor ensures the integrity of the package and trustworthiness of the delivery channel, so that the end user can be protected from tampered software and can benefit from a healthier ecosystem. </li>
174+
</p>
175+
176+
<p>
177+
Proven technologies such as [[RFC5652]](i.e. PKCS#7) can be used as the solution of the digital signatures for MiniApp package. Further evaluation is expected regarding whether it needs to be standardized in detail (e.g. the content scope under protection, additional attributes of concern, file format of the signature block, procedures), or is left to the discretion of implementations.
178+
</p>
179+
</section>
180+
181+
<section>
182+
<h2>Encryption</h2>
183+
<p>
184+
There is no requirement to develop a standardized encryption mechanism for the MiniApp package. However, it doesn't preclude an implementation from deploying encryption mechanism for its own purpose.
185+
186+
</p>
187+
</section>
188+
189+
</section>
190+
165191
<section>
166192
<h2>IANA Considerations</h2>
167193
<p>
@@ -171,9 +197,6 @@ <h2>IANA Considerations</h2>
171197
A temporary solution could be <code>application/x-w3c-miniapp-pkg+zip</code> for the sake of any early implementation.
172198
</p>
173199
</p>
174-
175-
176-
177200
</section>
178201

179202
</body>

0 commit comments

Comments
 (0)