Package: duplicity Version: 0.7.02-2 Severity: normal Dear Maintainer,
When I'm trying to run duplicity with the pydrive backend as described in the manpage, having installed pydrive according to the instructions and converted a Google Service account with the command " Download the .p12 key file of the account and convert it to the .pem format "openssl pkcs12 -in XXX.p12 -nodes -nocerts > pydriveprivatekey.pem", I get the following error: $ GOOGLE_DRIVE_ACCOUNT_KEY=pydriveprivatekey.pem duplicity --encrypt-key foo --use-agent /home/foo/ pydrive://my...@developer.gserviceaccount.com/foo/ Traceback (most recent call last): File "/usr/bin/duplicity", line 1526, in <module> with_tempdir(main) File "/usr/bin/duplicity", line 1520, in with_tempdir fn() File "/usr/bin/duplicity", line 1361, in main action = commandline.ProcessCommandLine(sys.argv[1:]) File "/usr/lib/python2.7/dist-packages/duplicity/commandline.py", line 1070, in ProcessCommandLine backup, local_pathname = set_backend(args[0], args[1]) File "/usr/lib/python2.7/dist-packages/duplicity/commandline.py", line 961, in set_backend globals.backend = backend.get_backend(bend) File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 223, in get_backend obj = get_backend_object(url_string) File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 209, in get_backend_object return factory(pu) File "/usr/lib/python2.7/dist-packages/duplicity/backends/pydrivebackend.py", line 53, in __init__ file_list = self.drive.ListFile({'q': "'Root' in parents"}).GetList() File "/usr/local/lib/python2.7/dist-packages/pydrive/apiattr.py", line 154, in GetList for x in self: File "/usr/local/lib/python2.7/dist-packages/pydrive/apiattr.py", line 138, in next result = self._GetList() File "/usr/local/lib/python2.7/dist-packages/pydrive/auth.py", line 53, in _decorated self.auth.Authorize() File "/usr/local/lib/python2.7/dist-packages/pydrive/auth.py", line 422, in Authorize self.service = build('drive', 'v2', http=self.http) File "/usr/local/lib/python2.7/dist-packages/oauth2client/util.py", line 137, in positional_wrapper return wrapped(*args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/googleapiclient/discovery.py", line 196, in build resp, content = http.request(requested_url) File "/usr/local/lib/python2.7/dist-packages/oauth2client/util.py", line 137, in positional_wrapper return wrapped(*args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/oauth2client/client.py", line 541, in new_request self._refresh(request_orig) File "/usr/local/lib/python2.7/dist-packages/oauth2client/client.py", line 769, in _refresh self._do_refresh_request(http_request) File "/usr/local/lib/python2.7/dist-packages/oauth2client/client.py", line 795, in _do_refresh_request body = self._generate_refresh_request_body() File "/usr/local/lib/python2.7/dist-packages/oauth2client/client.py", line 1425, in _generate_refresh_request_body assertion = self._generate_assertion() File "/usr/local/lib/python2.7/dist-packages/oauth2client/client.py", line 1554, in _generate_assertion private_key, self.private_key_password), payload) File "/usr/local/lib/python2.7/dist-packages/oauth2client/crypt.py", line 169, in from_string pkey = crypto.load_pkcs12(key, password).get_privatekey() File "/usr/lib/python2.7/dist-packages/OpenSSL/crypto.py", line 2216, in load_pkcs12 _raise_current_error() File "/usr/lib/python2.7/dist-packages/OpenSSL/_util.py", line 22, in exception_from_error_queue raise exceptionType(errors) Error: [('asn1 encoding routines', 'ASN1_D2I_READ_BIO', 'not enough data')] Regards Alexandre -- System Information: Debian Release: 8.1 APT prefers stable (only duplicity is testing) Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 Locale: (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages duplicity depends on: ii libc6 2.19-18 ii librsync1 0.9.7-10 ii python 2.7.9-1 ii python-lockfile 1:0.8-2 Versions of packages duplicity recommends: ii python-oauthlib 0.6.3-1 ii python-paramiko 1.15.1-1 ii python-urllib3 1.9.1-3 ii rsync 3.1.1-3 Versions of packages duplicity suggests: pn lftp <none> pn ncftp <none> pn python-boto <none> pn python-cloudfiles <none> ii python-gdata 2.0.18+dfsg1-2 pn python-swiftclient <none> pn tahoe-lafs <none> -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org