Commit Graph

110 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
34216d1b6e Check for target user before trying to decrypt a file 2023-01-05 21:26:05 +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
f65e8cd9eb Check for target user before trying to decrypt a file 2022-12-21 21:06:03 +01:00
24bae89095 Factorize decryptADEPTKey() for ePub and PDF 2022-12-21 20:58:49 +01:00
afab1c0012 Fix over encrypted RSA key decryption algorithm 2022-12-21 20:15:11 +01:00
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
6e3958f09e Compute over encrypted key also for PDF files 2022-09-04 09:25:06 +02:00
2dbd4cc343 Update version 2022-08-29 15:19:23 +02: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
7084fb7025 Add fromHex() static function to ByteArray 2022-08-29 11:56:47 +02:00
7f5b787cb9 Add launcher util for AppImage 2022-08-29 11:56:47 +02:00
086e9b0610 Update version 2022-08-29 11:56:47 +02:00
600535d52c Utils: Migration to OpenSSL3 2022-08-29 11:56:47 +02:00
57c3a58994 Add STATIC_NONCE option for build (developper mode) 2022-08-10 21:34:30 +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
3c73b8ccb3 Update .gitignore
Patch from Nguyễn Gia Phong
2022-07-03 09:22:06 +02:00
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
7666d2a241 Update README 2022-06-12 15:03:14 +02:00
201ec69b11 Add scripts/update_lib.sh 2022-06-12 15:03:14 +02:00
5e018ddbd8 Update version 2022-06-08 12:24:38 +02:00
81563056e0 Update README 2022-06-08 12:24:38 +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
3d4e6e3918 Look for <loan> element in <permissions> node in addition to <loanToken> one 2022-06-05 13:51:57 +02:00
7b6b1471fe Update version 2022-04-23 17:51:19 +02:00
4f9b2de5a5 Remove use of tempnam function and fix bug (bad check of rename return) 2022-04-23 17:41:54 +02:00
f568b5d3a8 Update README.md 2022-04-03 09:47:47 +02:00
8c413b4f34 Update .gitignore 2022-04-03 09:39:46 +02:00
8fe8ba2808 Add adept_loan_mgt util 2022-04-03 09:39:46 +02:00
570ad83747 Manage loan tokens 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
9556fe862f Optimization : Add signature node into signNode() instead of returing it and be added after 2022-04-03 09:28:19 +02:00
2f2e4e193e Add resume option to acsmdownloader 2022-03-23 21:05:56 +01:00
5d3112bc38 Fix bug in anonymous activation (need to set login method as "anonymous") 2022-03-19 15:19:27 +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
432eb6f6cb Add uPDFParser as dependency in Makefile 2022-03-12 22:59:27 +01:00
85b65f8d61 Pad ADEPT_LICENSE before trying to decode it 2022-03-03 21:07:25 +01:00
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
16a13eed89 Update version & README 2022-02-22 21:26:19 +01:00