Commit Graph

54 Commits

Author SHA1 Message Date
ab5afa5003 Add new default ADEPT directories : /home/<user>/.config/adept and $ADEPT_DIR environment variable 2023-01-05 21:29:55 +01:00
937c27fc23 Fix some warnings 2023-01-05 21:27:50 +01:00
Berwyn
ffd2004cbb Correct 'any book loaned' message 2023-01-04 20:23:57 +01:00
c41dd46ca7 Check for potential write error (or not buffer fully consumed) 2022-12-23 17:51:51 +01:00
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
e28dc39a68 Make DRMProcessorClient API more consistent 2022-08-29 15:19:23 +02:00
7b8c7acbad Compute first pass for encryptedKey if keyType attribute is set 2022-08-29 11:57:33 +02:00
56b3231f92 Add dumpBuffer() in libgourou_common 2022-08-29 11:56:47 +02:00
7f5b787cb9 Add launcher util for AppImage 2022-08-29 11:56:47 +02:00
600535d52c Utils: Migration to OpenSSL3 2022-08-29 11:56:47 +02:00
210b265693 Forward DEBUG flag in Makefile 2022-08-10 21:34:30 +02:00
33bb983283 Change log levels names to avoid collisions 2022-08-10 21:34:30 +02:00
22880c71c6 Update Makefile to support separated OpenSSL3 compilation 2022-06-08 12:24:38 +02:00
4f288f4e24 Add support for OpenSSL 3 2022-06-05 15:29:20 +02:00
4f9b2de5a5 Remove use of tempnam function and fix bug (bad check of rename return) 2022-04-23 17:41:54 +02:00
8fe8ba2808 Add adept_loan_mgt util 2022-04-03 09:39:46 +02:00
2e7e352e35 Utils: use trim functions from libgourou_common.h (avoid code duplication) 2022-04-03 09:29:40 +02:00
2f2e4e193e Add resume option to acsmdownloader 2022-03-23 21:05:56 +01:00
e149af9e17 Handle HTTP request connexion fails and download resuming on lost connection during transfer 2022-03-17 21:56:17 +01:00
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
2ce6142596 Remove QtCore and QtNetwork, replace them by libcurl + libc 2022-03-16 22:45:33 +01:00
0f475423c0 Add a private option into adept_remove to provide encryption key 2022-03-12 23:04:16 +01:00
9b946a62b4 ADEPT remove : Don't decrypt XRef stream if there is one 2022-03-12 23:02:55 +01:00
479869b7f2 Fix a use after free in adept_activate : pass string destroyed too early 2022-02-22 20:58:40 +01:00
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
a97a915bc8 Rework HTTP request loop events (Thanks Milian) and display download progression 2022-02-22 20:58:32 +01:00
a623a3d796 Skip files with inflate errors during ePub decryption 2022-02-22 20:58:30 +01:00
7d93817e49 Add PKCS8 error 2022-02-22 20:58:14 +01:00
36553cdd2c Add support for anonymous accounts 2021-12-18 17:43:47 +01:00
b8a4ca222e Add adept_remove util 2021-12-18 17:42:23 +01:00
4fe846f78e Fix error in inflate() implementation. Update zlib error messages 2021-12-18 17:39:01 +01:00
19aacf98a2 Make Encryption/Decryption method of DRMProcessorClient generic 2021-12-18 17:37:37 +01:00
a751327dab Add DRM removal for ePub only 2021-12-18 17:34:19 +01:00
55ab41613e Update inflate/deflate with right flag (Z_FINISH, no Z_SYNC_FLUSH) 2021-11-29 15:38:56 +01:00
9ab66ddba9 Bugfix : rework inflate/deflate that makes produce data 2021-11-29 08:40:12 +01:00
e5697378e9 Update version 2021-11-27 10:29:22 +01:00
8413b844db Forgot to add libgourou.a as a dependency in utils Makefile 2021-11-26 20:01:21 +01:00
dd6001805f Remove invalid characters from filename before writing a file 2021-11-26 20:00:36 +01:00
56e4fda760 Utils: Forgot to pass responseHeaders parameters when we have a redirection 2021-11-03 13:54:04 +01:00
59c801da08 Fix STATIC_BUILD errors 2021-09-28 18:14:41 +02:00
f01bf9e837 Fix a bug : export key doesn't supports output in a target file 2021-09-28 15:14:18 +02:00
c57aba8061 Fix an error in utils Makefile : forgot -lz in static build 2021-09-28 15:02:50 +02:00
cb4a26289e Fix a bug in utils : bad management of mandatory files 2021-08-26 08:13:02 +02:00
2ac917619e Add "export private key" feature 2021-08-25 21:53:54 +02:00
3d9e343734 Add support for PDF (needs uPDFParser library) 2021-08-21 21:12:52 +02:00
bdaceba2e0 Fix bad utils return value on error. Build network errors with a message and not just an error code. 2021-07-29 21:14:48 +02:00
20b4e69c3e Rename too generic "activate" util in "adept_activate" 2021-07-16 20:44:40 +02:00
8881a58c95 Handle 'Location' header reply in drmprocessorclientimpl 2021-07-10 12:51:36 +02:00
0e90b89382 v0.2 Fix a lot of things :
* add common method signNode() and addNonde()
  * Try to auth to operator if not already set
  * Fix an error in ADEPT protocol : attributes must be hashed in alphabetical order, not in reverse one
  * Update DRMProcessorClient
2021-07-09 21:55:39 +02:00
7adc6a0fc1 Fix bug : -o option not handled in acsmdownloader 2021-07-08 12:59:56 +02:00