Commit Graph

214 Commits

Author SHA1 Message Date
Michael R Sweet
038046e6d5
Save work on encrypted PDF reading. 2021-10-25 19:36:39 -04:00
Michael R Sweet
45c5a00252
Update Windows DLL exports file. 2021-10-24 11:05:33 -04:00
Michael R Sweet
7e9c0afc23
Update summary text. 2021-10-24 11:03:19 -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
b7ecaeee07
Implement partial write buffering for AES. 2021-10-23 20:33:12 -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
3af39d5d1f
Update crypto callback to return the number of output bytes (to account for AES
expansion).
2021-10-23 14:37:25 -04:00
Michael R Sweet
19571d00f2
Fix AES cipher implementation.
Update test program to validate the key expansion using the FIPS-197 example.

Add password-protected RC4 test output.

Add no-password AES-128 test output.
2021-10-23 00:07:13 -04:00
Michael R Sweet
ea126c7e8d
Save work. 2021-10-15 10:40:42 -04:00
Michael R Sweet
493fbca31c
Save work on unit tests for crypto. RC4 and AES are having trouble for some reason... 2021-10-12 17:11:10 -04:00
Michael R Sweet
c24243a2bc
Refactor crypto callback to have separate input/output pointers. Add initial writing support. 2021-10-12 09:13:30 -04:00
Michael R Sweet
0caea44f32
Implement MakeReader/Writer functions. 2021-10-10 23:08:56 -04:00
Michael R Sweet
3de55421b5
New member names to specify type of value. 2021-10-10 22:40:42 -04:00
Michael R Sweet
61a7964d90
Implement pdfioFileSetPermissions. 2021-10-10 22:27:09 -04:00
Michael R Sweet
37e80d67b1
Use new random number function to generate file IDs. 2021-10-09 23:10:46 -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
27e4ce9f42
Update Xcode project to build the SHA-256 code. 2021-10-08 21:14:11 -04:00
Michael R Sweet
9c05f802fc
Add SHA-256 code from RFC 6234. 2021-10-08 18:55:25 -04:00
Michael R Sweet
8aef2bfedd
Fix warnings, update Xcode project. 2021-10-08 14:08:07 -04:00
Michael R Sweet
f425952f36
Tweak coverity Github Actions. 2021-10-08 13:49:48 -04:00
Michael R Sweet
0c6b8f49d2
Tweak coverity Github Actions. 2021-10-08 13:49:48 -04:00
Michael R Sweet
8ad699c93a
Tweak coverity Github Actions. 2021-10-08 13:49:48 -04:00
Michael R Sweet
a259c3a6b9
Tweak coverity Github Actions. 2021-10-08 13:49:48 -04:00
Michael R Sweet
0ec1dd936f
Tweak coverity Github Actions. 2021-10-08 13:49:48 -04:00
Michael R Sweet
1d63c6edd6
Add prototype coverity Github Actions integration. 2021-10-08 13:49:48 -04:00
Michael R Sweet
d5173d14da
Fix some Coverity-detected issues. 2021-10-08 13:49:48 -04:00
Michael R Sweet
1168fd974f
Fix pdfio_native.redist package name. 2021-10-08 13:49:48 -04:00
Michael R Sweet
5cff1ca13c
Bump NuGet versions. 2021-10-08 13:49:47 -04:00
Michael R Sweet
fd08ce1b1a
Add prototype coverity Github Actions integration. 2021-10-05 18:06:03 -04:00
Michael R Sweet
7fe093f3bd
Save work on AES and RC4. 2021-10-04 21:13:01 -04:00
Michael R Sweet
bb91fb4b13
Tweak macOS build command. 2021-09-27 10:23:32 -04:00
Michael R Sweet
76b2faee0e
Add EPUB book cover. 2021-09-27 10:02:10 -04:00
Michael R Sweet
2d90b1325b
Ignore new streamed output test file. 2021-09-27 08:57:15 -04:00
Michael R Sweet
6b9f4ba8c9
Fix Windows DLL exports file. 2021-09-27 08:38:04 -04:00
Michael R Sweet
43239eaf8a
Add placeholder password callback to support reading of encrypted PDF files in the future. 2021-09-27 08:37:14 -04:00
Michael R Sweet
ba9d03ecac
Update docos. 2021-09-27 08:11:53 -04:00
Michael R Sweet
7473bc3cd9
Add some supporting documentation files. 2021-09-27 07:42:19 -04:00
Michael R Sweet
d6746c08a4
Add pdfioFileCreateOutput API (Issue #21) 2021-09-27 07:41:50 -04:00
Michael R Sweet
9f1cadf78b
Add redistributable NuGet package for DLL. 2021-09-03 09:13:16 -04:00
Michael R Sweet
760871b8db Update NuGet package info. 2021-09-01 17:09:05 -04:00
Michael R Sweet
81d358a6c0
Add ZIP file production. 2021-08-30 16:44:48 -04:00
Michael R Sweet
c53ad2a447
Prep for first beta release. 2021-08-30 16:31:00 -04:00
Michael R Sweet
3594b9cfcb
Update README. 2021-08-30 11:24:03 -04:00
Michael R Sweet
320e2ec088
Update docos. 2021-08-30 11:22:35 -04:00
Michael R Sweet
b07e595579
Bump NuGet package version. 2021-08-30 11:19:37 -04:00
Michael R Sweet
b2db43afcb
Show an error when opening an encrypted PDF file. 2021-08-30 11:18:23 -04:00
Michael R Sweet
6aa5585eb4
Fix some compressed stream bugs. 2021-08-30 10:55:45 -04:00
Michael R Sweet
6f726602c6
Clean up object stream support. 2021-08-29 18:35:23 -04:00