fix codespell complaints

This commit is contained in:
Heiko Schaefer 2023-12-09 02:07:05 +01:00
parent e35c334d48
commit 787af30af8
No known key found for this signature in database
GPG key ID: DAE9A9050FCCF1EB
4 changed files with 5 additions and 5 deletions

View file

@ -99,7 +99,7 @@ In both versions of SEIPD, the decryptor must have obtained a *session key* in a
### v1 SEIPD, based on MDC ### v1 SEIPD, based on MDC
The [version 1 SEIPD](https://www.ietf.org/archive/id/draft-ietf-openpgp-crypto-refresh-12.html#version-one-seipd) mechanism is supported by all modern OpenPGP version 4 implementations. It was introduced in [RFC 4880](https://www.rfc-editor.org/rfc/rfc4880.html#section-5.13) as a replacement for the *SED* (Symmetricaly Encrypted Data) packet. SEIPDv1 provides integrity protection of the ciphertext using a SHA-1 checksum of the plaintext as modification detection code. The [version 1 SEIPD](https://www.ietf.org/archive/id/draft-ietf-openpgp-crypto-refresh-12.html#version-one-seipd) mechanism is supported by all modern OpenPGP version 4 implementations. It was introduced in [RFC 4880](https://www.rfc-editor.org/rfc/rfc4880.html#section-5.13) as a replacement for the *SED* (Symmetrically Encrypted Data) packet. SEIPDv1 provides integrity protection of the ciphertext using a SHA-1 checksum of the plaintext as modification detection code.
Version 1 SEIPD can only be combined with [version 3 PKESK](https://www.ietf.org/archive/id/draft-ietf-openpgp-crypto-refresh-12.html#v3-pkesk) and/or [version 4 SKESK](https://www.ietf.org/archive/id/draft-ietf-openpgp-crypto-refresh-12.html#v4-skesk) packets. Version 1 SEIPD can only be combined with [version 3 PKESK](https://www.ietf.org/archive/id/draft-ietf-openpgp-crypto-refresh-12.html#v3-pkesk) and/or [version 4 SKESK](https://www.ietf.org/archive/id/draft-ietf-openpgp-crypto-refresh-12.html#v4-skesk) packets.

View file

@ -169,7 +169,7 @@ The result is split into the message key and first half of the IV.
In a first step, a message-key and half of an IV is derived from the session-key. In a first step, a message-key and half of an IV is derived from the session-key.
``` ```
Then, the contens of the SEIPDs encrypted data are split into chunks, which are processed sequentially. Each chunk is decrypted using AEAD with parameters from the SEIPD packet as *additional data*. Then, the contents of the SEIPDs encrypted data are split into chunks, which are processed sequentially. Each chunk is decrypted using AEAD with parameters from the SEIPD packet as *additional data*.
For each chunk, the chunk index starting at `0` is passed into the function as second half of the IV. For each chunk, the chunk index starting at `0` is passed into the function as second half of the IV.
All decrypted plaintext blocks are appended to form the result of the decryption process. All decrypted plaintext blocks are appended to form the result of the decryption process.

View file

@ -122,7 +122,7 @@
</Array> </Array>
</mxGeometry> </mxGeometry>
</mxCell> </mxCell>
<mxCell id="h-jzOOFD72CvbkbpJgZJ-27" value="Packet Type and Verison" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1"> <mxCell id="h-jzOOFD72CvbkbpJgZJ-27" value="Packet Type and Version" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="240" y="100" width="140" height="30" as="geometry" /> <mxGeometry x="240" y="100" width="140" height="30" as="geometry" />
</mxCell> </mxCell>
<mxCell id="h-jzOOFD72CvbkbpJgZJ-36" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="h-jzOOFD72CvbkbpJgZJ-30" target="h-jzOOFD72CvbkbpJgZJ-34"> <mxCell id="h-jzOOFD72CvbkbpJgZJ-36" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="h-jzOOFD72CvbkbpJgZJ-30" target="h-jzOOFD72CvbkbpJgZJ-34">
@ -154,7 +154,7 @@
</Array> </Array>
</mxGeometry> </mxGeometry>
</mxCell> </mxCell>
<mxCell id="h-jzOOFD72CvbkbpJgZJ-40" value="Packet Type and Verison" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1"> <mxCell id="h-jzOOFD72CvbkbpJgZJ-40" value="Packet Type and Version" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="240" y="400" width="140" height="30" as="geometry" /> <mxGeometry x="240" y="400" width="140" height="30" as="geometry" />
</mxCell> </mxCell>
<mxCell id="h-jzOOFD72CvbkbpJgZJ-45" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="h-jzOOFD72CvbkbpJgZJ-41" target="h-jzOOFD72CvbkbpJgZJ-37"> <mxCell id="h-jzOOFD72CvbkbpJgZJ-45" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="h-jzOOFD72CvbkbpJgZJ-41" target="h-jzOOFD72CvbkbpJgZJ-37">

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Before After
Before After