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
  Pyqt5 - Close a modal window Ninja2112 9 853 Apr-23-2025, 02:56 PM
Last Post: deanhystad
  Interaction between Matplotlib window, Python prompt and TKinter window NorbertMoussy 3 2,757 Mar-17-2024, 09:37 AM
Last Post: deanhystad
  [PyQt] PyQt5 window closing when trying to display a graph bianca 4 4,239 Aug-12-2023, 03:25 PM
Last Post: bianca
  [Tkinter] How to show text in window? wxnerd 4 6,292 Jun-20-2020, 04:16 PM
Last Post: wxnerd
  tkinter window and turtle window error 1885 3 8,388 Nov-02-2019, 12:18 PM
Last Post: 1885
  Huge code problems (buttons(PyQt5),PyQt5 Threads, Windows etc) ZenWoR 0 3,548 Apr-06-2019, 11:15 PM
Last Post: ZenWoR
  How to show graph as a slideshow in PyQt5 using matplotlib binsha 0 4,625 Mar-08-2019, 03:58 AM
Last Post: binsha
  [PYQT5] Crashing when using .hide() and .show() aking76 0 8,528 Sep-18-2018, 02:09 PM
Last Post: aking76
  [PyQt] Can't show PyQt5 mediaPlayer in window DecaK 1 6,326 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 4,022 Jun-21-2018, 06:04 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