Commit Graph

132 Commits (master)
 

Author SHA1 Message Date
Florian Bach 64aaca3fbe Update oscrypto again 4 months ago
Florian Bach cbc4c7e873 Fix broken tests 8 months ago
Florian Bach acca75c03c Update oscrypto fork 8 months ago
Florian Bach a519a4ab09
Update FUNDING.yml 11 months ago
Florian Bach 7eb50b9306 Add CI for older Python3 versions 12 months ago
Florian Bach d767857f16 Fix standalone scripts 12 months ago
Florian Bach 53c1d76224 Fix books not being added to loan list 12 months ago
Florian Bach a7013047d2 Add more CI testing 12 months ago
Florian Bach f5e19f4391 Bunch of fixes
Fix #48
Fix SingleInstance in Calibre 4
Make plugin run in Calibre 3.48
12 months ago
Florian Bach 6a53617fde Try to get rid of failing CI 12 months ago
Florian Bach 999354dde9 Try to fix parallel fulfillment issues 12 months ago
Florian Bach ff2d9cf2a7 Add copyright note to all files 1 year ago
Florian Bach a9519fbd20 Fix loan list for nameless books 1 year ago
Florian Bach 93d732f0d6 Update tests 1 year ago
Florian Bach 91a0154d23 Update bug_report.yml 1 year ago
Florian Bach c508280319 Try to support PDFs with weird spacing in Encrypt blob
Some PDFs apparently use nonstandard spacing in the /Encrypt
blob which my parser didn't like. Hopefully this fixes it?
Related to #44
1 year ago
Florian Bach 4dfc7af7b8 Add setting to choose between parallel or sequencial fulfillment 2 years ago
Florian Bach 3bd4d28936 Fix GUI extension with non-English Calibre 2 years ago
Florian Bach f641a1e72d Bunch of cleanup 2 years ago
Florian Bach 7a31e54024 Fix deprecation warnings in CI 2 years ago
Florian Bach b05e631418 Experimental code to hopefully fix #37 2 years ago
Florian Bach 6c6a313849 More helpful error message if the license cert wasn't downloaded 2 years ago
Florian Bach 97a6b51cec Add test case for XML nodes >32k 2 years ago
Florian Bach 294f600ebd Some cleanup 2 years ago
Florian Bach 8b7e680362 Add more error checking to migration code 2 years ago
Florian Bach 7e9153e294 Fix Python2 bugs in GUI code 2 years ago
Florian Bach 69329fe09a Fix CI for the migration plugin 2 years ago
Florian Bach 81da7bd6f9 Fix all the bugs added with the last commit 2 years ago
Florian Bach 6c94e7237d Fix for loan list issue mentioned in #31 2 years ago
Florian Bach 79be3e3d87 BETA: Migration code from DeACSM to ACSM Input
Do not use this version yet unless you have a backup of your account data
2 years ago
Florian Bach 2bb0d0334f Unstable BETA v0.0.17 2 years ago
Florian Bach d6b87d7413 Force-exit during plugin migration 2 years ago
Florian Bach 2904e187c4 Add GUI, rename to "ACSM Input" 2 years ago
Florian Bach 9be0d5e55d Ensure loan record is rewritten during re-fulfillment 2 years ago
Florian Bach c6b9e5c59b Update loanID generation code
Should fix #31. Apparently I implemented the loanID code
wrong, that sometimes caused book returns to fail (or even
worse, return the wrong book) if you had multiple active
loans from the same distributor.
Also adds a test case to catch this bug should it ever
occur again.
2 years ago
Florian Bach 396f0cfad0 Add debugging and readme note for LoanReturn on ACS6 servers 2 years ago
Florian Bach 4448963fff Fix random issue with submodule loading 2 years ago
Florian Bach e65985be7f Prepare release v0.0.16 2 years ago
Florian Bach 0dcc2a93b6 Fix small bug with eReader authorizations 2 years ago
Florian Bach 55bea99913 Fix eReader auth in Calibre 6 2 years ago
Florian Bach bf4b6367bf Remove test for Wine registry code 2 years ago
melvyn2 8e53929d94 Fix buffer allocation/zeroing bugs, use clearer variable names 2 years ago
melvyn2 2b989f21e9 Read wide-string username before decoding to ascii string for entropy 2 years ago
melvyn2 2894faac2a Read regkey username before using GetUserName fallback
If the user has changed their username after the authorization key has been created, then GetUserName will return the new username which can't decrypt the key. The username at the time of authorization should be stored at `HKEY_CURRENT_USER\Software\\Adobe\\Adept\\Device`, which we first attempt to read before falling back if it doesn't exist.
2 years ago
melvyn2 0cb13b9d38 Move all win32 logic to wine executable
Actions like reading the registry and serial number were being done in python even though the final decryption was done in wine. This commit moves all windows logic except architecture detection into the exe ran under wine to simplify the architecture.
2 years ago
melvyn2 61a03fe988 Fix Wine extraction script for python 2/3 2 years ago
Florian Bach 53cbe88c8b Update some error messages 2 years ago
Florian Bach 76f67a2048 Temporarily switch to oscrypto fork for OpenSSL 3 support.
The latest version of oscrypto does not yet support
OpenSSL 3, which is used in Ubuntu 22.04, Fedora 36
and a bunch of other newer Linux distributions.

When https://github.com/wbond/oscrypto/pull/61 is
merged and included in a new release, this change
will be reverted.
2 years ago
Florian Bach 03d4d3e099 Fix millisecond part in nonce calculation (fixes #27) 2 years ago
Florian Bach b5978dc7c4 Fix AV false-positives by packing executables 2 years ago