← Back to team overview

touch-packages team mailing list archive

[Bug 1383289] Re: Dropping a key into the list of keys fails

 

I updated the software-properties packages to 0.92.37.5 from trusty-
proposed.

The bug is fixed!
I opened my own PGP key (I already have the VLC's key) in gedit and dragged everything into the authentication list. I was asked for polkit authorization and then the key was successfully added.

** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to software-properties in
Ubuntu.
https://bugs.launchpad.net/bugs/1383289

Title:
  Dropping a key into the list of keys fails

Status in software-properties package in Ubuntu:
  Fix Released
Status in software-properties source package in Trusty:
  Fix Committed

Bug description:
  [Impact]

  Dragging a key into Software & Updates' authentication tab does
  nothing.

  [Test Case]

  1. Download a PGP key for a Debian repository (for example, the VideoLAN
     team's key: download.videolan.org/pub/debian/videolan-apt.asc)
  2. Open "Software & Updates" from the Dash, then select the Authentication
     tab.
  3. Open the PGP key file you downloaded with a text editor.
  4. Select all of the text (Ctrl+A) and drag it into the list in the
     Authentication tab of Software & Updates.

     If the bug is fixed: admin authentication is requested. Authenticate,
     and then the key should be listed.
     If not: nothing happens, or an error is displayed.

  [Regression Potential]

  This feature isn't working, so I suppose there is not regression
  potential.

  [Original Report]

  When I drag a key text/file and drop it into the list of keys in the
  "Authentication" list, it fails silently (sometimes an apport bug
  report appears), throwing an exception:

  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 759, in on_auth_drag_data_received
      keydata = selection.data.strip()
  AttributeError: 'SelectionData' object has no attribute 'data'

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: software-properties-gtk 0.92.37.1
  ProcVersionSignature: Ubuntu 3.13.0-37.64-generic 3.13.11.7
  Uname: Linux 3.13.0-37-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.5
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Mon Oct 20 14:01:10 2014
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2014-10-13 (6 days ago)
  InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
  PackageArchitecture: all
  SourcePackage: software-properties
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1383289/+subscriptions


References