Michael R Sweet
83bfb135c6
Add some more debug printfs, relocate extra newline detection after stream
...
token.
2023-12-15 12:57:31 -05:00
Michael R Sweet
2b92044504
Support per-object file IDs (Issue #42 )
2023-12-12 21:48:58 -05:00
Michael R Sweet
34dbf6c2fe
Documentation cleanup.
2023-12-05 13:49:58 -05:00
Michael R Sweet
0258384d53
Range check encrypted string length (Issue #52 )
2023-11-18 18:22:11 -05:00
Michael R Sweet
4804db38a5
Fix missing ivlen initializer for 40-bit RC4 (Issue #51 )
2023-11-15 08:43:07 -05:00
Michael R Sweet
44d20eba1b
Add stub code for AES-256 to force Coverity to re-analyze...
2021-12-15 07:35:55 -05:00
Michael R Sweet
1e33878506
Fix conversion of nul-containing strings to binary.
...
Move key length checks to a common place.
2021-11-02 09:12:43 -04:00
Michael R Sweet
af07f64bc3
Fix 'make test'.
2021-11-02 07:50:14 -04:00
Michael R Sweet
2f0d622873
Save work on resolving PDF loading issues with random PDFs using different encryption methods and line endings.
2021-11-01 21:30:46 -04:00
Michael R Sweet
6432187dea
Fix sporadic test suite failures caused by greedy whitespace removal in token
...
reader.
Update read code to handle signal/temporary failures.
Add some more useful debug messages for the encryption code.
Eliminate more warnings from Clang.
2021-10-31 11:12:54 -04:00
Michael R Sweet
9014ab7a20
Fix some minor Coverity-reported issues (added a check to suppress a warning,
...
removed an unnecessary check, and removed some dead code)
2021-10-31 07:04:17 -04:00
Michael R Sweet
fafe24bdb6
Fix Windows builds.
2021-10-26 07:12:41 -04:00
Michael R Sweet
038046e6d5
Save work on encrypted PDF reading.
2021-10-25 19:36:39 -04:00
Michael R Sweet
234c3a7381
Do some reorganization and start the implementation of decryption.
2021-10-24 10:59:25 -04:00
Michael R Sweet
208c3419ff
Fix AES-128 writing/encryption.
2021-10-23 20:09:02 -04:00
Michael R Sweet
dd56317635
Need object when reading/writing encrypted PDFs (to decrypt/encrypt strings),
...
RC4 writing is now working, AES-128 needs work, AES-256 hasn't been done yet.
2021-10-23 18:08:16 -04:00
Michael R Sweet
0caea44f32
Implement MakeReader/Writer functions.
2021-10-10 23:08:56 -04:00
Michael R Sweet
953de26f6b
Add random number generation support.
2021-10-09 23:05:39 -04:00
Michael R Sweet
2245c9d4f5
Move AES code to separate file, prep private API for making keys/contexts/callbacks for encryption.
2021-10-09 10:49:22 -04:00
Michael R Sweet
8aef2bfedd
Fix warnings, update Xcode project.
2021-10-08 14:08:07 -04:00
Michael R Sweet
7fe093f3bd
Save work on AES and RC4.
2021-10-04 21:13:01 -04:00