summaryrefslogtreecommitdiffstats
path: root/DeDRM_plugin/adobekey.py
diff options
context:
space:
mode:
authorApprentice Harper <[email protected]>2020-09-27 11:54:49 +0100
committerApprentice Harper <[email protected]>2020-09-27 11:54:49 +0100
commitde50a02af92ef2bdd142dfb0bfb8e288ebf3bb67 (patch)
treed6544ffc055553a997020166694142f53a913e08 /DeDRM_plugin/adobekey.py
parent6920f79a263516a566646f3075a3c94e99cf3c37 (diff)
More generic 3.0 changes, to be tested.
Diffstat (limited to 'DeDRM_plugin/adobekey.py')
-rw-r--r--DeDRM_plugin/adobekey.py24
1 files changed, 3 insertions, 21 deletions
diff --git a/DeDRM_plugin/adobekey.py b/DeDRM_plugin/adobekey.py
index 5a329dc..e462d3d 100644
--- a/DeDRM_plugin/adobekey.py
+++ b/DeDRM_plugin/adobekey.py
@@ -1,30 +1,12 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# adobekey.pyw, version 6.0
-# Copyright © 2009-2010 i♥cabbages
+# Copyright © 2009-2020 i♥cabbages, Apprentice Harper et al.
# Released under the terms of the GNU General Public Licence, version 3
# <http://www.gnu.org/licenses/>
-# Modified 2010–2016 by several people
-
-# Windows users: Before running this program, you must first install Python.
-# We recommend ActiveState Python 2.7.X for Windows (x86) from
-# http://www.activestate.com/activepython/downloads.
-# You must also install PyCrypto from
-# http://www.voidspace.org.uk/python/modules.shtml#pycrypto
-# (make certain to install the version for Python 2.7).
-# Then save this script file as adobekey.pyw and double-click on it to run it.
-# It will create a file named adobekey_1.der in in the same directory as the script.
-# This is your Adobe Digital Editions user key.
-#
-# Mac OS X users: Save this script file as adobekey.pyw. You can run this
-# program from the command line (python adobekey.pyw) or by double-clicking
-# it when it has been associated with PythonLauncher. It will create a file
-# named adobekey_1.der in the same directory as the script.
-# This is your Adobe Digital Editions user key.
-
# Revision history:
# 1 - Initial release, for Adobe Digital Editions 1.7
# 2 - Better algorithm for finding pLK; improved error handling
@@ -46,7 +28,7 @@
# 5.8 - Added getkey interface for Windows DeDRM application
# 5.9 - moved unicode_argv call inside main for Windows DeDRM compatibility
# 6.0 - Work if TkInter is missing
-# 7.0 - Python 3 compatible for calibre 5
+# 7.0 - Python 3 for calibre 5
"""
Retrieve Adobe ADEPT user key.