Merge lp:~silhusk/software-properties/lp1656100-remove-signing-keys into lp:software-properties
Proposed by
Carlo Vanini
Status: | Merged |
---|---|
Approved by: | Sebastien Bacher |
Approved revision: | 1060 |
Merged at revision: | 1059 |
Proposed branch: | lp:~silhusk/software-properties/lp1656100-remove-signing-keys |
Merge into: | lp:software-properties |
Diff against target: |
105 lines (+18/-9) 4 files modified
softwareproperties/SoftwareProperties.py (+0/-3) softwareproperties/dbus/SoftwarePropertiesDBus.py (+16/-4) softwareproperties/gtk/SoftwarePropertiesGtk.py (+1/-1) softwareproperties/qt/SoftwarePropertiesQt.py (+1/-1) |
To merge this branch: | bzr merge lp:~silhusk/software-properties/lp1656100-remove-signing-keys |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sebastien Bacher | Approve | ||
Review via email: mp+361160@code.launchpad.net |
Commit message
Fix removal of signing keys in the Authentication tab always failing.
Description of the change
When clicking on "Remove" we were using the first 8 characters of the display string as a 32 bit (short) key ID. But what we get is the first half of a 64 bit ID, which is not a short ID. This fix uses all the 16 characters in the display string.
Move calls to KeysModified() from class SoftwareProperties to SoftwarePropert
To post a comment you must log in.
Thank you for the work there, I'm not really familiar with that code but it has no dedicated maintainer so I'm trying to help with review, some comments/questions
* you wrote 'Remove calls to KeysModified which doesnt's exist and causes all actions on
keys to look like they failed.'
Where does it look like they failed? What actions are you talking about? (unsure why there is no error/traceback printed about those calls)
* shouldn't those calls be moved to the Dbus backend rather than removed, like it was done in http:// launchpadlibrar ian.net/ 91837493/ software- properties_ 0.82.3_ 0.82.4. diff.gz
* apt-key list is listing 8 digits keys, should we do the same on the UI? (but the parsing code doing [:8] takes the wrong half it seems, did that ever worked? [8:16] looks like what we want or just using :16 should be good enough?
(it doesn't help that "apt-key rm <garbage>" always returns "OK" (known as https:/ /bugs.debian. org/cgi- bin/bugreport. cgi?bug= 799342)