syncpackage: "ValueError: IV must be 16 bytes long"

Bug #1041504 reported by Martin-Éric Racine
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-dev-tools (Ubuntu)
New
Undecided
Unassigned

Bug Description

$ syncpackage upgrade-system
Please input your password for the keyring
Traceback (most recent call last):
  File "/usr/bin/syncpackage", line 750, in <module>
    main()
  File "/usr/bin/syncpackage", line 650, in main
    Launchpad.login(**kwargs)
  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

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: ubuntu-dev-tools 0.143
Uname: Linux 3.2.0-3-686-pae i686
NonfreeKernelModules: cpufreq_stats cpufreq_conservative cpufreq_powersave cpufreq_userspace parport_pc ppdev lp parport bnep rfcomm bluetooth binfmt_misc uinput ecryptfs dm_crypt dm_mod snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc arc4 snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq iwl4965 iwl_legacy joydev pcmcia mac80211 snd_seq_device snd_timer snd yenta_socket pcmcia_rsrc pcmcia_core cfg80211 soundcore iTCO_wdt iTCO_vendor_support i2c_i801 rng_core acpi_cpufreq mperf coretemp psmouse processor battery ac evdev dell_wmi sparse_keymap serio_raw ext4 crc16 jbd2 mbcache btrfs crc32c libcrc32c zlib_deflate usbhid hid sd_mod crc_t10dif ata_generic ata_piix dell_laptop libata i915 rfkill power_supply dcdbas scsi_mod sdhci_pci sdhci firewire_ohci firewire_core crc_itu_t mmc_core uhci_hcd ehci_hcd i2c_algo_bit drm_kms_helper drm tg3 thermal wmi usbcore button video libphy i2c_core thermal_sys usb_common
ApportVersion: 2.5.1-0ubuntu2
Architecture: i386
Date: Sat Aug 25 11:31:17 2012
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=fi_FI:en
 TERM=xterm
 PATH=(custom, user)
 LANG=fi_FI.UTF-8
 SHELL=/bin/bash
SourcePackage: ubuntu-dev-tools
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Martin-Éric Racine (q-funk) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.