soutade
|
9a75213b49
|
Fix misuse of DESTDIR and PREFIX in Makefile
|
2023-08-08 20:13:03 +02:00 |
|
soutade
|
e06d20a392
|
DRM removal: Forgot to decrypt HexaString objects
|
2023-08-05 14:43:48 +02:00 |
|
soutade
|
a0f6324999
|
Try to fix GCC 13 compilation errors
|
2023-05-03 21:15:31 +02:00 |
|
soutade
|
c259cbd5a3
|
Add missing libgen.h in utils for basename() call
|
2023-03-28 20:32:05 +02:00 |
|
soutade
|
46afe771c7
|
Remove old pugixml include in utils Makefile
|
2023-01-15 09:51:00 +01:00 |
|
soutade
|
cad2189fc2
|
Typo fix
|
2023-01-14 18:21:06 +01:00 |
|
soutade
|
50bc16079f
|
Fix static build
|
2023-01-14 12:56:06 +01:00 |
|
soutade
|
1213b34250
|
Fix ADEPT path creation within adept_activate
|
2023-01-11 19:57:47 +01:00 |
|
soutade
|
a66dcb959c
|
Work on Makefile
|
2023-01-11 19:57:47 +01:00 |
|
soutade
|
84b01a5de3
|
Use system version of pugixml, not a checkouted one
|
2023-01-08 21:15:33 +01:00 |
|
soutade
|
be78d24236
|
Add man pages for utils
|
2023-01-08 21:05:22 +01:00 |
|
soutade
|
8aec5be244
|
Update Makefile to be more GNU/Linux style
|
2023-01-08 21:05:04 +01:00 |
|
soutade
|
3a0ab4b438
|
Update --help for utils and README.md
|
2023-01-08 21:04:23 +01:00 |
|
soutade
|
891ed05926
|
We can now specify directly file path for acsmdownloader and adept_remove (-f stille keeped for compatibility)
|
2023-01-08 20:58:41 +01:00 |
|
soutade
|
fc839e671a
|
Manage ACSM files that contains server internal error
|
2023-01-06 21:17:57 +01:00 |
|
soutade
|
ab5afa5003
|
Add new default ADEPT directories : /home/<user>/.config/adept and $ADEPT_DIR environment variable
|
2023-01-05 21:29:55 +01:00 |
|
soutade
|
937c27fc23
|
Fix some warnings
|
2023-01-05 21:27:50 +01:00 |
|
soutade
|
34216d1b6e
|
Check for target user before trying to decrypt a file
|
2023-01-05 21:26:05 +01:00 |
|
soutade
|
c41dd46ca7
|
Check for potential write error (or not buffer fully consumed)
|
2022-12-23 17:51:51 +01:00 |
|
soutade
|
e4bd73c03d
|
Add global option -D to utils, allowing to specify .adept directory instead of every single files. WARNING : -D has been changed by -d in adept_loan_mgt !
|
2022-12-21 21:23:42 +01:00 |
|
soutade
|
f65e8cd9eb
|
Check for target user before trying to decrypt a file
|
2022-12-21 21:06:03 +01:00 |
|
soutade
|
24bae89095
|
Factorize decryptADEPTKey() for ePub and PDF
|
2022-12-21 20:58:49 +01:00 |
|
soutade
|
afab1c0012
|
Fix over encrypted RSA key decryption algorithm
|
2022-12-21 20:15:11 +01:00 |
|
soutade
|
7878f91cdd
|
Add support for MacOS and old compilers (not supporting C++11). Main patch is from Samuel Marks.
|
2022-11-21 17:56:29 +01:00 |
|
soutade
|
6e3958f09e
|
Compute over encrypted key also for PDF files
|
2022-09-04 09:25:06 +02:00 |
|
soutade
|
2dbd4cc343
|
Update version
|
2022-08-29 15:19:23 +02:00 |
|
soutade
|
e28dc39a68
|
Make DRMProcessorClient API more consistent
|
2022-08-29 15:19:23 +02:00 |
|
soutade
|
7b8c7acbad
|
Compute first pass for encryptedKey if keyType attribute is set
|
2022-08-29 11:57:33 +02:00 |
|
soutade
|
56b3231f92
|
Add dumpBuffer() in libgourou_common
|
2022-08-29 11:56:47 +02:00 |
|
soutade
|
7084fb7025
|
Add fromHex() static function to ByteArray
|
2022-08-29 11:56:47 +02:00 |
|
soutade
|
7f5b787cb9
|
Add launcher util for AppImage
|
2022-08-29 11:56:47 +02:00 |
|
soutade
|
086e9b0610
|
Update version
|
2022-08-29 11:56:47 +02:00 |
|
soutade
|
600535d52c
|
Utils: Migration to OpenSSL3
|
2022-08-29 11:56:47 +02:00 |
|
soutade
|
57c3a58994
|
Add STATIC_NONCE option for build (developper mode)
|
2022-08-10 21:34:30 +02:00 |
|
soutade
|
210b265693
|
Forward DEBUG flag in Makefile
|
2022-08-10 21:34:30 +02:00 |
|
soutade
|
33bb983283
|
Change log levels names to avoid collisions
|
2022-08-10 21:34:30 +02:00 |
|
soutade
|
3c73b8ccb3
|
Update .gitignore
Patch from Nguyễn Gia Phong
|
2022-07-03 09:22:06 +02:00 |
|
soutade
|
4acf401031
|
Don't clone base64 repository at first build, use a static version of Base64.h (not modified since many years)
Patch from Nguyễn Gia Phong
|
2022-07-03 09:20:05 +02:00 |
|
soutade
|
7666d2a241
|
Update README
|
2022-06-12 15:03:14 +02:00 |
|
soutade
|
201ec69b11
|
Add scripts/update_lib.sh
|
2022-06-12 15:03:14 +02:00 |
|
soutade
|
5e018ddbd8
|
Update version
|
2022-06-08 12:24:38 +02:00 |
|
soutade
|
81563056e0
|
Update README
|
2022-06-08 12:24:38 +02:00 |
|
soutade
|
22880c71c6
|
Update Makefile to support separated OpenSSL3 compilation
|
2022-06-08 12:24:38 +02:00 |
|
soutade
|
4f288f4e24
|
Add support for OpenSSL 3
|
2022-06-05 15:29:20 +02:00 |
|
soutade
|
3d4e6e3918
|
Look for <loan> element in <permissions> node in addition to <loanToken> one
|
2022-06-05 13:51:57 +02:00 |
|
soutade
|
7b6b1471fe
|
Update version
|
2022-04-23 17:51:19 +02:00 |
|
soutade
|
4f9b2de5a5
|
Remove use of tempnam function and fix bug (bad check of rename return)
|
2022-04-23 17:41:54 +02:00 |
|
soutade
|
f568b5d3a8
|
Update README.md
|
2022-04-03 09:47:47 +02:00 |
|
soutade
|
8c413b4f34
|
Update .gitignore
|
2022-04-03 09:39:46 +02:00 |
|
soutade
|
8fe8ba2808
|
Add adept_loan_mgt util
|
2022-04-03 09:39:46 +02:00 |
|
soutade
|
570ad83747
|
Manage loan tokens
|
2022-04-03 09:39:46 +02:00 |
|
soutade
|
2e7e352e35
|
Utils: use trim functions from libgourou_common.h (avoid code duplication)
|
2022-04-03 09:29:40 +02:00 |
|
soutade
|
9556fe862f
|
Optimization : Add signature node into signNode() instead of returing it and be added after
|
2022-04-03 09:28:19 +02:00 |
|
soutade
|
2f2e4e193e
|
Add resume option to acsmdownloader
|
2022-03-23 21:05:56 +01:00 |
|
soutade
|
5d3112bc38
|
Fix bug in anonymous activation (need to set login method as "anonymous")
|
2022-03-19 15:19:27 +01:00 |
|
soutade
|
e149af9e17
|
Handle HTTP request connexion fails and download resuming on lost connection during transfer
|
2022-03-17 21:56:17 +01:00 |
|
soutade
|
1221b2a95a
|
Add optional fd parameter to sendHTTPRequest() in order to directly write received data in a buffer and not in an intermediate buffer
|
2022-03-17 21:55:02 +01:00 |
|
soutade
|
2ce6142596
|
Remove QtCore and QtNetwork, replace them by libcurl + libc
|
2022-03-16 22:45:33 +01:00 |
|
soutade
|
0f475423c0
|
Add a private option into adept_remove to provide encryption key
|
2022-03-12 23:04:16 +01:00 |
|
soutade
|
9b946a62b4
|
ADEPT remove : Don't decrypt XRef stream if there is one
|
2022-03-12 23:02:55 +01:00 |
|
soutade
|
432eb6f6cb
|
Add uPDFParser as dependency in Makefile
|
2022-03-12 22:59:27 +01:00 |
|
soutade
|
85b65f8d61
|
Pad ADEPT_LICENSE before trying to decode it
|
2022-03-03 21:07:25 +01:00 |
|
soutade
|
25f5049ab9
|
PDF DRM removing : Try to parse all objects wether they're or not in xref table
|
2022-03-02 20:38:31 +01:00 |
|
soutade
|
16a13eed89
|
Update version & README
|
2022-02-22 21:26:19 +01:00 |
|
soutade
|
479869b7f2
|
Fix a use after free in adept_activate : pass string destroyed too early
|
2022-02-22 20:58:40 +01:00 |
|
soutade
|
41f1a1e980
|
Fix a bug in adept_activate : cannot ask for interactive password if output directory already exists
|
2022-02-22 20:58:36 +01:00 |
|
soutade
|
9648157bf7
|
Remove README_package.md
|
2022-02-22 20:58:34 +01:00 |
|
soutade
|
a97a915bc8
|
Rework HTTP request loop events (Thanks Milian) and display download progression
|
2022-02-22 20:58:32 +01:00 |
|
soutade
|
a623a3d796
|
Skip files with inflate errors during ePub decryption
|
2022-02-22 20:58:30 +01:00 |
|
soutade
|
7d161133c3
|
Check for key size before files decryption
|
2022-02-22 20:58:26 +01:00 |
|
soutade
|
7d93817e49
|
Add PKCS8 error
|
2022-02-22 20:58:14 +01:00 |
|
soutade
|
ef62fb921a
|
Update version
|
2022-01-04 20:25:18 +01:00 |
|
soutade
|
e4c05bd6b3
|
Send a warning when libgourou can't handle encryption algorithm during a DRM removal attempt (+ keep encryption.xml in output)
|
2021-12-23 21:12:03 +01:00 |
|
soutade
|
f33891ef1c
|
Rework ByteArray::resize() to keep buffer data
|
2021-12-23 21:11:18 +01:00 |
|
soutade
|
9f62cf3447
|
Merge branch 'master' of soutade.fr:libgourou
|
2021-12-18 17:46:56 +01:00 |
|
soutade
|
36553cdd2c
|
Add support for anonymous accounts
|
2021-12-18 17:43:47 +01:00 |
|
soutade
|
ad6da2f8ab
|
Update .gitignore
|
2021-12-18 17:42:53 +01:00 |
|
soutade
|
b8a4ca222e
|
Add adept_remove util
|
2021-12-18 17:42:23 +01:00 |
|
soutade
|
f0ff97f7d7
|
Add support of DRM removal for PDF
|
2021-12-18 17:40:24 +01:00 |
|
soutade
|
4fe846f78e
|
Fix error in inflate() implementation. Update zlib error messages
|
2021-12-18 17:39:01 +01:00 |
|
soutade
|
19aacf98a2
|
Make Encryption/Decryption method of DRMProcessorClient generic
|
2021-12-18 17:37:37 +01:00 |
|
soutade
|
a751327dab
|
Add DRM removal for ePub only
|
2021-12-18 17:34:19 +01:00 |
|
soutade
|
a79bdd1e21
|
Fix copy/paste error
|
2021-12-08 20:30:02 +01:00 |
|
soutade
|
55ab41613e
|
Update inflate/deflate with right flag (Z_FINISH, no Z_SYNC_FLUSH)
|
2021-11-29 15:38:56 +01:00 |
|
soutade
|
8129ec4423
|
Update version
|
2021-11-29 09:31:18 +01:00 |
|
soutade
|
9ab66ddba9
|
Bugfix : rework inflate/deflate that makes produce data
|
2021-11-29 08:40:12 +01:00 |
|
soutade
|
e5697378e9
|
Update version
|
2021-11-27 10:29:22 +01:00 |
|
soutade
|
fd8ce841eb
|
Fix a nasty bug : fulfill reply data must be copied, not just referenced
|
2021-11-26 20:01:49 +01:00 |
|
soutade
|
8413b844db
|
Forgot to add libgourou.a as a dependency in utils Makefile
|
2021-11-26 20:01:21 +01:00 |
|
soutade
|
dd6001805f
|
Remove invalid characters from filename before writing a file
|
2021-11-26 20:00:36 +01:00 |
|
soutade
|
1f6e0ecdc8
|
Check for application/pdf as a substring and not as a full string for Content-Type and metadata in order to determine downloaded file type
|
2021-11-26 19:59:57 +01:00 |
|
soutade
|
89a5408c2d
|
Update README_package.md
|
2021-11-03 13:54:44 +01:00 |
|
soutade
|
56e4fda760
|
Utils: Forgot to pass responseHeaders parameters when we have a redirection
|
2021-11-03 13:54:04 +01:00 |
|
soutade
|
59c801da08
|
Fix STATIC_BUILD errors
|
2021-09-28 18:14:41 +02:00 |
|
soutade
|
f01bf9e837
|
Fix a bug : export key doesn't supports output in a target file
|
2021-09-28 15:14:18 +02:00 |
|
soutade
|
c57aba8061
|
Fix an error in utils Makefile : forgot -lz in static build
|
2021-09-28 15:02:50 +02:00 |
|
soutade
|
33ea9e7d65
|
Raise an exception if no EBX_HANDLER is found in PDF
|
2021-09-28 15:01:04 +02:00 |
|
soutade
|
dc15fc7197
|
Remove implicit handle of final \0 in ByteArray
|
2021-09-28 14:58:41 +02:00 |
|
soutade
|
47a38b1ebc
|
Update README
|
2021-09-09 21:00:43 +02:00 |
|
soutade
|
d8333531d2
|
Update README_package.md
|
2021-08-26 08:15:18 +02:00 |
|