NoDRM
5492dcdbf4
More FileOpen fixes
2023-12-21 11:57:39 +01:00
NoDRM
737d5e7f1e
Bunch of updates for the FileOpen script
2023-12-03 10:45:09 +01:00
NoDRM
ef67dbd204
Fix more Py2/Py3 stuff
2023-08-06 15:49:52 +02:00
NoDRM
53996cf49c
More Python2 fixes
2023-08-03 20:45:06 +02:00
NoDRM
e82d2b5c9c
Fix PDF decryption for 256-bit AES with V=5
2023-08-02 18:13:42 +02:00
NoDRM
7f6dd84389
Fix PDF decryption of ancient 40-bit RC4 with R=2
2023-08-02 16:55:41 +02:00
NoDRM
a711954323
PDF: Ignore invalid objid in non-strict mode, fixes #233
2022-12-29 19:52:08 +01:00
NoDRM
901a6c091d
Fix exception in error logging in ineptpdf
2022-12-23 10:42:25 +01:00
NoDRM
06648eeb1c
Add support for empty arrays (<>) in PDF objects. Fixes #183 .
2022-10-17 17:13:41 +02:00
NoDRM
eb45c71fd9
Cleanup
2022-09-10 11:44:55 +02:00
NoDRM
88b0966961
Fix tons of PDF-related issues
2022-08-07 15:58:01 +02:00
NoDRM
a0bb84fbfc
Move unicode_argv to its own file
2022-08-06 20:19:18 +02:00
NoDRM
de23b5c221
Move SafeUnbuffered to own Python file
2022-08-06 20:09:30 +02:00
NoDRM
41df9ecda0
Fix PDF corruption in Calibre 4 ( #104 )
2022-08-06 15:29:45 +02:00
NoDRM
c15135b12f
Fix RSA.import_key ( fixes #101 )
...
Apparently "import_key" only exists in newer versions (as an alias to
"importKey"). "importKey" works in all versions ...
2022-07-16 09:54:00 +02:00
NoDRM
fed8bb716b
Add some Python2 compat code I forgot to add earlier
2022-07-13 17:31:57 +02:00
NoDRM
7eb8f07a33
Bugfix for Nook PDFs?
2022-03-19 16:02:33 +01:00
NoDRM
b283777c0a
Add back unpad to fix Python2 support
2022-03-19 10:14:45 +01:00
NoDRM
227bda1ea6
Try to fix V3 PDF files
2022-03-18 17:29:19 +01:00
a980e066a01
c5aebcca01
Add support for "hardened" Adobe DRM
...
What took the most time was not reverse-engineering
the scheme, but actually finding books using it...
Closes #20 , #25 , #45
2022-03-18 15:45:39 +00:00
a980e066a01
a1dd63ae5f
Remove OpenSSL support; only support PyCryptodome
...
This allows us to clean up the code a lot.
On Windows, it isn't installed by default and
most of the time not be found at all.
On M1 Macs, the kernel will kill the process instead.
Closes #33 .
2022-03-18 15:45:39 +00:00
NoDRM
80f511ade9
Correct user pass padding, fix PDFStream export
2021-12-27 14:23:26 +01:00
NoDRM
fbe9b5ea89
Ton of PDF DeDRM updates
...
- Support "Standard" and "Adobe.APS" encryptions
- Support decrypting with owner password instead of user password
- New function to return encryption filter name
- Support for V=5, R=5 and R=6 PDF files
- Support for AES256-encrypted PDF files
- Disable broken cross-reference streams in output
2021-12-27 10:45:12 +01:00
NoDRM
9c41716e5e
Add B&N PDF DeDRM (untested), match UUID for Adobe PDFs
2021-11-16 11:48:53 +01:00
NoDRM
90910ab106
Add back Python2 support (ADEPT)
2021-11-16 11:09:03 +01:00
NoDRM
88dd1350c0
Add useful error message for the new, uncracked ADEPT DRM
2021-11-15 19:51:36 +01:00
NoDRM
cc17d9cc59
Improve key detection for PDFs, too
2021-11-15 13:38:39 +01:00
NoDRM
969fe52e13
Improve key detection
2021-11-15 11:59:56 +01:00
NoDRM
8e10b090a2
More PDF fixes
2021-11-15 08:40:18 +01:00
Olaf Fricke
007a8e8a15
Issue 1635: Decypting PDF ebboks fixed
2021-11-15 08:39:02 +01:00
Aldo Bleeker
21a7b13524
Fix for Python 3
2021-02-14 12:50:55 +01:00
Aldo Bleeker
33b9630ca5
Fix for broken book keys
2021-01-28 13:06:59 +01:00
Apprentice Harper
a7974f0f14
Update ineptpdf.py
...
integer division, and version
2021-01-03 16:11:02 +00:00
Apprentice Harper
ed412bee35
Updated to inept.pdf for PC
...
Contributed changes for PC compatibility. Thanks, Aldo.
Update main version to 7.0.2
2021-01-03 16:01:14 +00:00
Apprentice Harper
6cee615f26
Update ineptpdf.py
...
Fix handling of metadata
2021-01-03 15:35:17 +00:00
Apprentice Harper
c4581b4d72
Version to 7.0.1, ineptpdf fixes
...
ineptpdf should now decrypt at least some Adobe PDFs
2020-12-30 12:14:04 +00:00
Apprentice Harper
781268e17e
More general changes, and get mobidedrm and kindlekey to work on Mac.
2020-10-14 16:23:49 +01:00
Apprentice Harper
de50a02af9
More generic 3.0 changes, to be tested.
2020-09-27 11:54:49 +01:00
Apprentice Harper
afa4ac5716
Starting on Version 7.0 using the work done by others. Completely untested. I will be testing things, but I thought I'd get this base version up for others to give pull requests.
...
THIS IS ON THE MASTER BRANCH. The Master branch will be Python 3.0 from now on. While Python 2.7 support will not be deliberately broken, all efforts should now focus on Python 3.0 compatibility.
I can see a lot of work has been done. There's more to do. I've bumped the version number of everything I came across to the next major number for Python 3.0 compatibility indication.
Thanks everyone. I hope to update here at least once a week until we have a stable 7.0 release for calibre 5.0
2020-09-26 21:22:47 +01:00
Apprentice Harper
0859f197fc
Update init file, update versions in files, update comments in files
2020-06-18 07:42:41 +01:00
Apprentice Harper
92bf51bc8f
Remove stand-alone apps. Only support the two plugins.
2020-02-16 10:12:25 +00:00