forked from soutade/libgourou
Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
d3c90f03bb | |||
469d378f9a | |||
|
98b531a232 | ||
956bad3068 | |||
d9a920b062 | |||
204500117d |
15
README.md
15
README.md
|
@ -7,7 +7,7 @@ libgourou is a free implementation of Adobe's ADEPT protocol used to add DRM on
|
||||||
Architecture
|
Architecture
|
||||||
------------
|
------------
|
||||||
|
|
||||||
Like RMSDK, libgourou has a client/server scheme. All platform-specific functions (crypto, network...) have to be implemented in a client class (that derives from DRMProcessorClient) while server implements ADEPT protocol.
|
Like RMSDK, libgourou has a client/server scheme. All platform specific functions (crypto, network...) have to be implemented in a client class (that derives from DRMProcessorClient) while server implements ADEPT protocol.
|
||||||
A reference implementation using cURL, OpenSSL and libzip is provided (in _utils_ directory).
|
A reference implementation using cURL, OpenSSL and libzip is provided (in _utils_ directory).
|
||||||
|
|
||||||
Main functions to use from gourou::DRMProcessor are:
|
Main functions to use from gourou::DRMProcessor are:
|
||||||
|
@ -25,9 +25,9 @@ You can import configuration from (at least):
|
||||||
|
|
||||||
Or create a new one. Be careful: there is a limited number of devices that can be created by one account.
|
Or create a new one. Be careful: there is a limited number of devices that can be created by one account.
|
||||||
|
|
||||||
ePub files are encrypted using a shared key: one account / multiple devices, so you can create and register a device into your computer and read downloaded (and encrypted) ePub file with your eReader configured using the same AdobeID account.
|
ePub are encrypted using a shared key: one account / multiple devices, so you can create and register a device into your computer and read downloaded (and encrypted) ePub file with your eReader configured using the same AdobeID account.
|
||||||
|
|
||||||
For those who want to remove DRM without adept_remove, you can export your private key and import it within [Calibre](https://calibre-ebook.com/) and its DeDRM plugin.
|
For those who want to remove DRM without adept_remove, you can export your private key and import it within [Calibre](https://calibre-ebook.com/) an its DeDRM plugin.
|
||||||
|
|
||||||
|
|
||||||
Dependencies
|
Dependencies
|
||||||
|
@ -46,12 +46,14 @@ _internals_:
|
||||||
For utils:
|
For utils:
|
||||||
|
|
||||||
* libcurl
|
* libcurl
|
||||||
* OpenSSL
|
* openssl
|
||||||
* libzip
|
* libzip
|
||||||
* libpugixml
|
* libpugixml
|
||||||
|
|
||||||
|
|
||||||
Internal libraries are automatically fetched and statically compiled during the first run.
|
External & utils dependencies has to be installed by your package manager (_apt_ for example).
|
||||||
|
Use _-dev_ flavours to get needed headers.
|
||||||
|
Internal libraries are automatically fetched and statically compiled during the first compilation.
|
||||||
When you update libgourou's repository, **don't forget to update internal libraries** with:
|
When you update libgourou's repository, **don't forget to update internal libraries** with:
|
||||||
|
|
||||||
make update_lib
|
make update_lib
|
||||||
|
@ -88,7 +90,7 @@ First, add libgourou.so to your LD_LIBRARY_PATH
|
||||||
|
|
||||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD
|
||||||
|
|
||||||
You can optionally specify your .adept directory
|
You can optionaly specify your .adept directory
|
||||||
|
|
||||||
export ADEPT_DIR=/home/XXX
|
export ADEPT_DIR=/home/XXX
|
||||||
|
|
||||||
|
@ -164,3 +166,4 @@ Donators
|
||||||
* _Berwyn H_
|
* _Berwyn H_
|
||||||
* _bwitt_
|
* _bwitt_
|
||||||
* _Ismail_
|
* _Ismail_
|
||||||
|
* _Radon_
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
#define ACS_SERVER "http://adeactivate.adobe.com/adept"
|
#define ACS_SERVER "http://adeactivate.adobe.com/adept"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define LIBGOUROU_VERSION "0.8.6"
|
#define LIBGOUROU_VERSION "0.8.7"
|
||||||
|
|
||||||
namespace gourou
|
namespace gourou
|
||||||
{
|
{
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# uPDFParser
|
# uPDFParser
|
||||||
if [ ! -d lib/updfparser ] ; then
|
if [ ! -d lib/updfparser ] ; then
|
||||||
git clone git://soutade.fr/updfparser.git lib/updfparser
|
git clone git://soutade.fr/soutade/updfparser.git lib/updfparser
|
||||||
pushd lib/updfparser
|
pushd lib/updfparser
|
||||||
make BUILD_STATIC=1 BUILD_SHARED=0
|
make BUILD_STATIC=1 BUILD_SHARED=0
|
||||||
popd
|
popd
|
||||||
|
|
Loading…
Reference in New Issue
Block a user