Commit e34dbbfa18ab4753f9637920719e683ba3037fcf
1 parent
04118ca4
Spell check
Showing
5 changed files
with
9 additions
and
5 deletions
TODO
| ... | ... | @@ -39,6 +39,8 @@ Soon: Break ground on "Document-level work" |
| 39 | 39 | Output JSON v2 |
| 40 | 40 | ============== |
| 41 | 41 | |
| 42 | +Remember typo: search for "Typo" In QPDFJob::doJSONEncrypt. | |
| 43 | + | |
| 42 | 44 | Output JSON v2 will contain enough information to completely recreate |
| 43 | 45 | a PDF file. In other words, qpdf will have full, bidirectional, |
| 44 | 46 | lossless json serialization/deserialization of PDF. | ... | ... |
cSpell.json
| ... | ... | @@ -267,7 +267,6 @@ |
| 267 | 267 | "mkinstalldirs", |
| 268 | 268 | "mklink", |
| 269 | 269 | "moddate", |
| 270 | - "moddifyannotations", | |
| 271 | 270 | "monoseq", |
| 272 | 271 | "msvc", |
| 273 | 272 | "msvcrt", |
| ... | ... | @@ -507,6 +506,7 @@ |
| 507 | 506 | "unconflicting", |
| 508 | 507 | "underlaying", |
| 509 | 508 | "unencrypted", |
| 509 | + "unexport", | |
| 510 | 510 | "unfilterable", |
| 511 | 511 | "unparse", |
| 512 | 512 | "unpickling", | ... | ... |
include/qpdf/DLL.h
| ... | ... | @@ -63,7 +63,7 @@ for a more in-depth discussion. |
| 63 | 63 | |
| 64 | 64 | * A class's runtime type information is need if the class is going to |
| 65 | 65 | be used as an exception, inherited from, or tested with |
| 66 | - dynamic_claass. To do these things across a shared object boundary, | |
| 66 | + dynamic_class. To do these things across a shared object boundary, | |
| 67 | 67 | runtime type information must be exported. |
| 68 | 68 | |
| 69 | 69 | * On Windows: | ... | ... |
libqpdf/QPDFJob.cc
| ... | ... | @@ -1335,6 +1335,8 @@ QPDFJob::doJSONEncrypt(QPDF& pdf, JSON& j) |
| 1335 | 1335 | "modifyassembly", JSON::makeBool(pdf.allowModifyAssembly())); |
| 1336 | 1336 | j_capabilities.addDictionaryMember( |
| 1337 | 1337 | "modifyforms", JSON::makeBool(pdf.allowModifyForm())); |
| 1338 | + // Typo will be fixed for json v2 | |
| 1339 | + /* cSpell:ignore moddifyannotations */ | |
| 1338 | 1340 | j_capabilities.addDictionaryMember( |
| 1339 | 1341 | "moddifyannotations", JSON::makeBool(pdf.allowModifyAnnotation())); |
| 1340 | 1342 | j_capabilities.addDictionaryMember( | ... | ... |
manual/weak-crypto.rst
| ... | ... | @@ -32,7 +32,7 @@ hash or two documents with the same hash. |
| 32 | 32 | |
| 33 | 33 | When we say that an encryption algorithm is weak, we either mean that |
| 34 | 34 | a mathematical flaw has been discovered that makes it inherently |
| 35 | -crackable or that it is sufficiently simple that modern computer | |
| 35 | +insecure or that it is sufficiently simple that modern computer | |
| 36 | 36 | technology makes it possible to use "brute force" to crack. For |
| 37 | 37 | example, when 40-bit keys were originally introduced, it wasn't |
| 38 | 38 | practical to consider trying all possible keys, but today such a thing |
| ... | ... | @@ -50,7 +50,7 @@ other words, you can't use a weak hash as a digital signature. There |
| 50 | 50 | is no harm, however, in using a weak hash as a way to sort or index |
| 51 | 51 | documents as long as hash collisions are tolerated. It is also common |
| 52 | 52 | to use weak hashes as checksums, which are often used a check that a |
| 53 | -file wasn't damanged in transit or storage, though for true integrity, | |
| 53 | +file wasn't damaged in transit or storage, though for true integrity, | |
| 54 | 54 | a strong hash would be better. |
| 55 | 55 | |
| 56 | 56 | Note that qpdf must always retain support for weak cryptographic |
| ... | ... | @@ -138,7 +138,7 @@ MD5 is used in the following non-security-sensitive ways: |
| 138 | 138 | |
| 139 | 139 | It is therefore not possible completely avoid the use of MD5 with |
| 140 | 140 | qpdf, but as long as you are using 256-bit encryption, it is not used |
| 141 | -in a securty-sensitive fashion. | |
| 141 | +in a security-sensitive fashion. | |
| 142 | 142 | |
| 143 | 143 | .. _breaking-crypto-api: |
| 144 | 144 | ... | ... |