Commit Graph

122 Commits

Author SHA1 Message Date
c259cbd5a3 Add missing libgen.h in utils for basename() call 2023-03-28 20:32:05 +02:00
46afe771c7 Remove old pugixml include in utils Makefile 2023-01-15 09:51:00 +01:00
cad2189fc2 Typo fix 2023-01-14 18:21:06 +01:00
50bc16079f Fix static build 2023-01-14 12:56:06 +01:00
1213b34250 Fix ADEPT path creation within adept_activate 2023-01-11 19:57:47 +01:00
a66dcb959c Work on Makefile 2023-01-11 19:57:47 +01:00
84b01a5de3 Use system version of pugixml, not a checkouted one 2023-01-08 21:15:33 +01:00
be78d24236 Add man pages for utils 2023-01-08 21:05:22 +01:00
8aec5be244 Update Makefile to be more GNU/Linux style 2023-01-08 21:05:04 +01:00
3a0ab4b438 Update --help for utils and README.md 2023-01-08 21:04:23 +01:00
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
fc839e671a Manage ACSM files that contains server internal error 2023-01-06 21:17:57 +01:00
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