Python Forum
Show GPG keys in pyqt5 window
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Show GPG keys in pyqt5 window
#1
G'day mates! I'm working on RumpelstilskN and I've exhausted my admittedly meager pyqt5 knowledge. I need a way for all the GPG keys on the system to be listed in a window, much like enigmail does:
   
I also would like a way to interact with the keys in the list; so for example if I double click one then XYZ will happen.
But I can't figure out how to code this. Wall

My thought currently is to do something along the lines of "gpg2 --list-keys" and then export the result into a Qt window, but this has two shortcomings:
(a) It will include lots of useless information. I'd like a clean look much like enigmail (though granted, I'm not looking to make an enigmail clone).
(b) This wouldn't allow me to interact graphically with the keys.

So any ideas/pointers? I'd appreciate any help!


I'm only looking to write this for a Linux base right now, and I'm using python 3.

Thanks!
Fred
OS: Arch
Editor: Atom with Material Syntax UI and the Termination terminal plugin

Micah 6:8
Reply
#2
I'm not clear on your question(s). Is this a GUI question independent of GPG keys, and a question about how to cleanup the result of gpg --list-keys, or are they more coupled than they appear? What code have you tried?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Interaction between Matplotlib window, Python prompt and TKinter window NorbertMoussy 3 343 Mar-17-2024, 09:37 AM
Last Post: deanhystad
  [PyQt] PyQt5 window closing when trying to display a graph bianca 4 1,621 Aug-12-2023, 03:25 PM
Last Post: bianca
  [Tkinter] How to show text in window? wxnerd 4 3,659 Jun-20-2020, 04:16 PM
Last Post: wxnerd
  tkinter window and turtle window error 1885 3 6,624 Nov-02-2019, 12:18 PM
Last Post: 1885
  Huge code problems (buttons(PyQt5),PyQt5 Threads, Windows etc) ZenWoR 0 2,785 Apr-06-2019, 11:15 PM
Last Post: ZenWoR
  How to show graph as a slideshow in PyQt5 using matplotlib binsha 0 3,875 Mar-08-2019, 03:58 AM
Last Post: binsha
  [PYQT5] Crashing when using .hide() and .show() aking76 0 7,269 Sep-18-2018, 02:09 PM
Last Post: aking76
  [PyQt] Can't show PyQt5 mediaPlayer in window DecaK 1 5,337 Sep-15-2018, 09:54 AM
Last Post: Axel_Erfurt
  [Tkinter] Is there any way to bind keys to a gui window in tkinter? Nwb 1 3,135 Jun-21-2018, 06:04 PM
Last Post: Larz60+
  update a variable in parent window after closing its toplevel window gray 5 8,976 Mar-20-2017, 10:35 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020