-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Listing the names through EntryCompletion #23
base: master
Are you sure you want to change the base?
Conversation
Sort-of-fixes issue #17 |
I would love to know why is the hacking with STDERRs needed and why it can't just work, maybe you as the original author will know |
I'm intrigued and excited to take a look at this! So glad you didn't just keep it to yourself. :) I'm heading out of town in the next couple hours though, so it's gonna have to wait a bit. :( |
How does it look like? (I am in no hurry of course but I will be glad if other can use it too :) ) |
My opinion is that the list-keys is just too quick and finishes before all the STDERR redirection happens, but I am not sure at all |
@Runn1ng Just a quick FYI to let you know that when I execute |
Oh. Well, I am just now learning python and only now I really learned the subprocesses module so pardon :) |
@Runn1ng : I'd really like to look at this more, but I have to ask you to take a look at your code again Karel. It literally doesn't work at all on my system. Is it possible your local copy is synced with github? |
Hm. All right, I will check it out again
|
I have to confirm, I cloned it again into a new directory and it starts and I have no idea what is wrong. I unfortunately have only pc currently
|
Tried it on a totally different and independent computer (where I Not saying it is not some error, I just can't detect it
|
I see I see. Can you tell me what version of gnupg, python, gtk2? On Sat, Jan 3, 2015, 23:07 Karel Bílek notifications@github.com wrote:
|
GnuPG:
python:
gtk2.... I hope this is the right way to find out
On the other computer:
First computer is Ubuntu, second computer is Gentoo |
going through my ancient PRs on github. I no longer have any idea how Python or GPG works. :D should I close this? |
Instead of just a key id we can list all known public keys and extract names and email from them. Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
Instead of just a key id we can list all known public keys and extract names and email from them. Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
I have added the name listing with asymmetric crypto
I had to remove status listing and STDERR listing on the right for key listing, since if I didn't do that, the program hanged indefinitely and it never showed the STDERR again correctly; it has probably something to do with threads/processes. Well, anyway, now it works, even when it's a bit hacked.
It uses GtkEntryCompletion - that means you have to write at least one character in order to see the possibilities (but you can then delete it and see all of them; it's a bit weird); and it is searched only from the start (so no smart matching etc).
It should not break anything