Skip to content

Commit 200e1a9

Browse files
mprorockTallTed
andauthored
Grammatical corrections
Co-authored-by: Ted Thibodeau Jr <[email protected]>
1 parent e92c23d commit 200e1a9

File tree

1 file changed

+24
-22
lines changed

1 file changed

+24
-22
lines changed

index.html

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -271,22 +271,22 @@ <h2>
271271
</h2>
272272
<p>
273273
Due to the way most web servers present content, it is likely that a
274-
particular did:web document will be served with a media type of
275-
<pre>application/json</pre>. If a document is retrieved and it is named
276-
<pre>did.json</pre> a few processing rules should apply:
274+
particular `did:web` document will be served with a media type of
275+
`application/json`. If a document is retrieved and it is named
276+
`did.json`, a few processing rules should apply:
277277
<ul>
278278
<li>
279279
If an
280-
<pre>@context</pre> is present at the root of the json document,
280+
`@context` is present at the root of the JSON document,
281281
the document should be processed according to the JSON-LD rules.
282-
If this is not possible, or if the document failes processing, the
283-
document should be rejected from consideration as a did:web doc.
282+
If this is not possible, or if the document fails processing, the
283+
document should be rejected from consideration as a `did:web` doc.
284284
</li>
285285
<li>
286286
If an
287-
<pre>@context</pre> is present at the root of the json document,
288-
and is passes JSON-LD processing, and it contains the context
289-
<pre>https://www.w3.org/ns/did/v1</pre>, it may be further processed
287+
`@context` is present at the root of the JSON document,
288+
and it passes JSON-LD processing, and it contains the context
289+
`https://www.w3.org/ns/did/v1`, it may be further processed
290290
as a
291291
DID document as specified by section
292292
<a href="https://www.w3.org/TR/did-core/#consumption-0">6.3.2</a> of
@@ -295,18 +295,18 @@ <h2>
295295
</li>
296296
<li>
297297
If no
298-
<pre>@context</pre> is present, it should be processed via normal
298+
`@context` is present, it should be processed via normal
299299
JSON rules for DID processing as specified in section
300300
<a href="https://www.w3.org/TR/did-core/#consumption">6.2.2</a> of the
301301
[[did-core]] specification.
302302
</li>
303303
</ul>
304304
</p>
305305
<p>
306-
Within a did:web document absolute did URLs must be used whenever
307-
present.
306+
Whenever a DID URL is present within a `did:web` document, it must
307+
be an absolute URL.
308308
<p class="note">
309-
This includes inside of embedded key material and other metadata, and
309+
This includes URLs inside of embedded key material and other metadata, and
310310
prevents
311311
key confusion attacks.
312312
</p>
@@ -558,25 +558,27 @@ <h3>
558558
Guidance from <a
559559
href="https://csrc.nist.gov/publications/detail/sp/800-52/rev-2/final">
560560
NIST SP 800-52 Rev. 2
561-
</a> or superceding, MUST be followed for delivery of a did web
561+
</a> or superceding, MUST be followed for delivery of a `did:web`
562562
document.
563563
</p>
564564

565565
<p>
566-
It is additionally recommended to adhere to OWASP's Transport Layer
567-
Protection Cheat Sheet [[OWASP-TRANSPORT]] latest recommendations for
568-
hardening TLS configurations.
566+
It is additionally recommended to adhere to the latest recommendations
567+
from OWASP's Transport Layer Protection Cheat Sheet [[OWASP-TRANSPORT]]
568+
for hardening TLS configurations.
569569
</p>
570570

571571
<p>
572572
Consult <a href="https://csrc.nist.gov/publications/detail/sp/800-57-part-1/rev-5/final">
573573
NIST SP 800-57
574-
</a> for guidance on cryptoperiod, which is the time span during which a specific key is authorized for use or in which the keys for a given system or application may remain in effect.
574+
</a> for guidance on cryptoperiod, which is the time span during which
575+
a specific key is authorized for use or in which the keys for a given
576+
system or application may remain in effect.
575577
</p>
576578

577579
<p>
578-
At least SHA256 MUST be used in TLS configuration, but SHA384,
579-
POLY1305 or stronger is recommended, depending on the needs of your
580+
TLS configuration MUST use at least SHA256, and SHOULD use SHA384,
581+
POLY1305, or stronger, depending on the needs of your
580582
operating environment.
581583
</p>
582584

@@ -586,11 +588,11 @@ <h3>
586588
</p>
587589

588590
<p>
589-
At time of this writing, at least TLS 1.2 should be configured to use
591+
As of this writing, TLS 1.2 or higher SHOULD be configured to use
590592
only strong ciphers suites and to use sufficiently large key sizes.
591593
As recommendations may be volatile these days, only the very latest
592594
recommendations should be used. However, as a rule of thumb,
593-
the following set of suites is a reasonable starting place:
595+
the following set of suites is a reasonable starting point:
594596
</p>
595597

596598
<ul>

0 commit comments

Comments
 (0)