Commit Graph

58 Commits

Author SHA1 Message Date
9648157bf7 Remove README_package.md 2022-02-22 20:58:34 +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
7d161133c3 Check for key size before files decryption 2022-02-22 20:58:26 +01:00
7d93817e49 Add PKCS8 error 2022-02-22 20:58:14 +01:00
ef62fb921a Update version 2022-01-04 20:25:18 +01:00
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
f33891ef1c Rework ByteArray::resize() to keep buffer data 2021-12-23 21:11:18 +01:00
9f62cf3447 Merge branch 'master' of soutade.fr:libgourou 2021-12-18 17:46:56 +01:00
36553cdd2c Add support for anonymous accounts 2021-12-18 17:43:47 +01:00
ad6da2f8ab Update .gitignore 2021-12-18 17:42:53 +01:00
b8a4ca222e Add adept_remove util 2021-12-18 17:42:23 +01:00
f0ff97f7d7 Add support of DRM removal for PDF 2021-12-18 17:40:24 +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
a79bdd1e21 Fix copy/paste error 2021-12-08 20:30:02 +01:00
55ab41613e Update inflate/deflate with right flag (Z_FINISH, no Z_SYNC_FLUSH) 2021-11-29 15:38:56 +01:00
8129ec4423 Update version 2021-11-29 09:31:18 +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
fd8ce841eb Fix a nasty bug : fulfill reply data must be copied, not just referenced 2021-11-26 20:01:49 +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
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
89a5408c2d Update README_package.md 2021-11-03 13:54:44 +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
33ea9e7d65 Raise an exception if no EBX_HANDLER is found in PDF 2021-09-28 15:01:04 +02:00
dc15fc7197 Remove implicit handle of final \0 in ByteArray 2021-09-28 14:58:41 +02:00
47a38b1ebc Update README 2021-09-09 21:00:43 +02:00
d8333531d2 Update README_package.md 2021-08-26 08:15:18 +02:00
cb4a26289e Fix a bug in utils : bad management of mandatory files 2021-08-26 08:13:02 +02:00
fb812964e0 Bad repo URL & make command for uPDFParser library 2021-08-25 22:02:48 +02:00
8a2b22ca9b Update Makefile and README.md 2021-08-25 21:54:52 +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
8bc346d139 Add fetchLicenseServiceCertificate() because not all signing certificates (to be included into rights.xml) are the same than the one fetched at authentication 2021-08-21 20:46:09 +02:00
7f5a4900e0 Typo fix 2021-08-21 20:37:07 +02:00
d8f882a277 Fix a bug : gmtime() should used in place of localtime() to keep date in UTC and not local timezone 2021-08-12 21:11:40 +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
b5eb0efd31 Force ACSM files to be parsed using UTF8 locale 2021-07-17 09:34:03 +02:00
20b4e69c3e Rename too generic "activate" util in "adept_activate" 2021-07-16 20:44:40 +02:00
878e4e7453 ACSM data mut be unescaped before parsing
Add a copy constructor to Exception
Start an authentication when E_ADEPT_DISTRIBUTOR_AUTH error is received during fulfill
Don't download external libraries if it already exists
2021-07-16 20:38:32 +02:00
1eebc88913 Update README.md 2021-07-12 21:26:53 +02:00
460f452783 Fix an error in hashNode : a tag can define multiple xml namespaces 2021-07-12 14:23:18 +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