Bug#678682: ubuntu-dev-tools: requestsync fails to authenticate: IV must be 16 bytes longs

June 23rd, 2012 - 01:50 pm ET by Stephen Kitt | Report spam
Package: ubuntu-dev-tools
Version: 0.143
Severity: normal

Dear Maintainer,

I'm trying to request a sync of my mail-notification package, using
requestsync. After entering my keyring password authentication fails
as follows:

% requestsync -s mail-notification
Please input your password for the keyring
Traceback (most recent call last):
File "/usr/bin/requestsync", line 366, in <module>
main()
File "/usr/bin/requestsync", line 167, in main
Launchpad.login(service=options.lpinstance, api_version='devel')
File "/usr/lib/python2.7/dist-packages/ubuntutools/lp/lpapicache.py", line 66, in login
version=api_version)
File "/usr/lib/python2.7/dist-packages/launchpadlib/launchpad.py", line 539, in login_with
credential_save_failed, version)
File "/usr/lib/python2.7/dist-packages/launchpadlib/launchpad.py", line 342, in _authorize_token_and_login
authorization_engine.unique_consumer_id)
File "/usr/lib/python2.7/dist-packages/launchpadlib/credentials.py", line 282, in load
return self.do_load(unique_key)
File "/usr/lib/python2.7/dist-packages/launchpadlib/credentials.py", line 336, in do_load
'launchpadlib', unique_key)
File "/usr/lib/python2.7/dist-packages/keyring/core.py", line 34, in get_password
return _keyring_backend.get_password(service_name, username)
File "/usr/lib/python2.7/dist-packages/keyring/backend.py", line 304, in get_password
password = self.decrypt(password_encrypted).decode('utf-8')
File "/usr/lib/python2.7/dist-packages/keyring/backend.py", line 462, in decrypt
crypter = self._init_crypter()
File "/usr/lib/python2.7/dist-packages/keyring/backend.py", line 451, in _init_crypter
return AES.new(password, AES.MODE_CFB)
File "/usr/lib/python2.7/dist-packages/Crypto/Cipher/AES.py", line 94, in new
return AESCipher(key, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/Crypto/Cipher/AES.py", line 59, in __init__
blockalgo.BlockAlgo.__init__(self, _AES, key, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/Crypto/Cipher/blockalgo.py", line 141, in __init__
self._cipher = factory.new(key, *args, **kwargs)
ValueError: IV must be 16 bytes long

Regards,

Stephen


Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable'), (200, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ubuntu-dev-tools depends on:
ii binutils 2.22-6.1
ii dctrl-tools 2.22.2
ii devscripts 2.11.8
ii diffstat 1.55-3
ii distro-info 0.10
ii dpkg-dev 1.16.3
ii lsb-release 4.1+Debian6
ii perl 5.14.2-11
ii python 2.7.3~rc2-1
ii python-apt 0.8.4
ii python-debian 0.1.21
ii python-distro-info 0.10
ii python-httplib2 0.7.4-2
ii python-launchpadlib 1.9.12-2
ii python-lazr.restfulclient 0.12.0-2
ii python2.6 2.6.7-4
ii python2.7 2.7.3~rc2-2.1
ii sudo 1.8.3p2-1.1

Versions of packages ubuntu-dev-tools recommends:
ii bzr 2.6.0~bzr6522-1
ii bzr-builddeb 2.8.4
ii ca-certificates 20120212
ii cowdancer 0.70
ii debian-archive-keyring 2012.4
ii debian-keyring 2012.06.01
ii debootstrap 1.0.40
ii dput 0.9.6.3
ii genisoimage 9:1.1.11-2
ii libwww-perl 6.04-1
ii lintian 2.5.9
ii patch 2.6.1-3
ii pbuilder 0.211
ii perl-modules 5.14.2-11
ii python-dns 2.3.6-1
ii python-gnupginterface 0.3.2-9.1
ii python-soappy 0.12.0-4
ii quilt 0.60-2
ii reportbug 6.4

Versions of packages ubuntu-dev-tools suggests:
ii ipython 0.12.1+dfsg-2
ii python 2.7.3~rc2-1
ii python-simplejson 2.5.2-1
pn qemu-user-static <none>




To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
email Follow the discussionReplies 1 replyReplies Make a reply

Similar topics

Replies

#1 Stefano Rivera
June 23rd, 2012 - 02:30 pm ET | Report spam
reassign 678682 python-keyring
forcemerge 675379 678682
thanks

I'm trying to request a sync of my mail-notification package, using
requestsync. After entering my keyring password authentication fails
as follows:



It's a known issue in python-keyring, first reported here:
https://bugs.launchpad.net/ubuntu/+...ug/1004845

SR

Stefano Rivera
http://tumbleweed.org.za/
H: +27 21 461 1230 C: +27 72 419 8559



To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
email Follow the discussion Replies Reply to this message
Help Create a new topicReplies Make a reply
Search Make your own search