Project

General

Profile

Feature #13602

Feature #11746: OpenPGP Applet: get rid of libgtk3-simplelist-perl

OpenPGP Applet: rewrite key selection interface

Added by nodens about 2 years ago. Updated over 1 year ago.

Status:
Duplicate
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
08/08/2017
Due date:
% Done:

0%

Feature Branch:
Type of work:
Code
Blueprint:
Starter:
Affected tool:
OpenPGP Applet

Description

The public key selection interface in OpenPGP Applet currently uses Gtk3::SimpleList.

The problem is, since it's a simple list we can't display the ids as subentries, and we use a tooltip for that.
Also, it's buggy since the port to Gtk3 (#12190).

By using the complete Gtk::Treeview implementation, we could:
  • fix the bug
  • display the ids as subentries of each public key
  • add a search box

Ideally, we would mimic Seahorse's interface. The first implementation doesn't have to be as neat, though.


Related issues

Related to Tails - Bug #12190: OpenPGP applet public key list includes 21 empty key lines Duplicate 01/30/2017
Related to Tails - Bug #14808: OpenPGP Applet should display key creation time instead of key ID Duplicate 10/07/2017

History

#1 Updated by nodens about 2 years ago

  • Related to Bug #12190: OpenPGP applet public key list includes 21 empty key lines added

#2 Updated by intrigeri about 2 years ago

IMO at this point we should take a step back and check if the cost/benefit is worth it, compared to delegating public key encryption to seahorse-tool.

#3 Updated by nodens almost 2 years ago

  • Parent task set to #11746

#4 Updated by nodens almost 2 years ago

  • Related to Bug #14808: OpenPGP Applet should display key creation time instead of key ID added

#5 Updated by nodens almost 2 years ago

intrigeri wrote:

IMO at this point we should take a step back and check if the cost/benefit is worth it, compared to delegating public key encryption to seahorse-tool.

We could (delegate pubkey encryption to seahorse-tool), but there are a few issues in my book:
  • we have to use a temporary file, seahorse-tool doesn't read from stdin or write to stdout. Files are encrypted as <filename.pgp>,
  • encryption creates only binary format file, there is no way to armor it,
  • decryption is the same: it takes the file and write a new file, named <encryptedfile minus the last 4 chars>. Without checking if there is an existing file of the same name, by the way
  • on my laptop, with my (admitedly long) public keyring, it takes 20-30 seconds to display the key selection interface (less than 5 seconds currently with openpgp-applet)
  • we don't have any way to see alternate identities or fingerprint in the seahorse-tool key-

While we may work around some of those issues, I feel it would be best to rewrite the key selection interface as depicted in the issue description (and I'm willing to work on it).

#6 Updated by u over 1 year ago

@nodens: do you want to set yourself a target version for this?

#7 Updated by nodens over 1 year ago

  • Status changed from Confirmed to Resolved

Hi,

OpenPGP applet is moving to its new home on https://salsa.debian.org/openpgp-applet-team/openpgp-applet

This issue has been duplicated upstream: https://salsa.debian.org/openpgp-applet-team/openpgp-applet/issues/8

I'm closing this one. Feel free to comment on the upstream link!

You will need an account on Salsa. If you don't have one already, you can create one on https://signup.salsa.debian.org/.

Cheers!

#8 Updated by intrigeri over 1 year ago

  • Status changed from Resolved to Duplicate

Also available in: Atom PDF