Denys Smirnov
e18e4b502c
core: move zero iv allocation to a separate function
2018-09-19 02:44:26 +03:00
Denys Smirnov
1371f91098
core: check metadata encryption flag in alg13
2018-09-19 02:43:32 +03:00
Denys Smirnov
c7cfde7c1f
core: move test data, add docs and link to the specification
2018-09-17 17:36:31 +03:00
Denys Smirnov
c08a13c234
core: optimize allocations for hash used in R=6
2018-09-16 17:10:04 +03:00
Denys Smirnov
8f4f1804b0
core: implement decoding of AESv3; resolves #30
2018-09-16 04:13:24 +03:00
Denys Smirnov
6510d0a853
core: algorithms 2a and 13 (decode file key and validate permissions)
2018-09-16 02:48:08 +03:00
Denys Smirnov
b76c8a56c4
core: implement algorithm 11 and 12 (password check for R=5 and R=6)
2018-09-16 00:34:13 +03:00
Gunnsteinn Hall
ad47c116aa
Address core golint recommendations in crypt, io
2017-08-03 15:13:40 +00:00
Gunnsteinn Hall
7f83a4ea2f
Add bounds check in crypt, parser. Avoid division by zero.
2017-07-23 20:20:05 +00:00
Gunnsteinn Hall
3639b5c279
Add check for ID array length
2017-07-23 12:30:21 +00:00
Gunnsteinn Hall
71807ecfa4
Exposed a reader function to check access rights. Fixed incorrect bit name for AccessPermissions (LimitPrintQuality->FullPrintQuality). Fix in owner password authentication. Closes #51 .
2017-07-12 09:48:16 +00:00
Gunnsteinn Hall
10c3be8c95
Change PdfObjectDictionary from map to struct and introduce ordered keys. Syntax change. Fixes all around to accommodate changes. Also fixes in test cases. Closes #56 .
2017-07-08 21:04:13 +00:00
Gunnsteinn Hall
d25fa23fb0
Fix issue with unremoved AES decrypted padding bytes #44
2017-04-24 21:36:07 +00:00
Gunnsteinn Hall
90caacec66
Improved crypto handling for encrypt dicts with references
2017-03-29 15:54:50 +00:00
Gunnsteinn Hall
6516adddc4
Cleaning up logging, more debug -> trace log level
2017-03-02 18:06:32 +00:00
Gunnsteinn Hall
a0a9fa6289
Fix for invalid crypto lengths (given in bits rather than bytes) for compatibility
2016-12-02 22:32:13 +00:00
Gunnsteinn Hall
1564f8ab06
Updates and fixes from master merged in
2016-12-02 15:17:19 +00:00
Gunnsteinn Hall
f358b3e26f
Refactoring in progress
...
Currently compiles with tests, but not fully functional yet.
2016-09-09 15:02:52 +00:00
Gunnsteinn Hall
19fd98d667
Refactoring into core and model. (in process)
...
As the package was growing large, there is a need to clean up. Testing
to refactor into a core (basic pdf parsing and primitive objects) and a
higher level model package.
2016-09-08 17:53:45 +00:00