Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Listing the names through EntryCompletion #23

wants to merge 1 commit into from

Conversation

karelbilek
Copy link

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

@karelbilek
Copy link
Author

Sort-of-fixes issue #17

@karelbilek
Copy link
Author

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

@ryran
Copy link
Owner

ryran commented Dec 23, 2014

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. :(

@karelbilek
Copy link
Author

How does it look like? (I am in no hurry of course but I will be glad if other can use it too :) )

@karelbilek
Copy link
Author

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

@ryran ryran self-assigned this Jan 2, 2015
@ryran
Copy link
Owner

ryran commented Jan 2, 2015

@Runn1ng Just a quick FYI to let you know that when I execute ./pyrite.py from your repo, it hangs. ... The GUI never shows up. I'll take a look at the code soon.

@karelbilek
Copy link
Author

Oh. Well, I am just now learning python and only now I really learned the subprocesses module so pardon :)

@ryran
Copy link
Owner

ryran commented Jan 3, 2015

@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?

@karelbilek
Copy link
Author

Hm. All right, I will check it out again
On Jan 3, 2015 5:23 AM, "Ryan Sawhill Aroha" notifications@github.com
wrote:

@Runn1ng https://github.com/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?


Reply to this email directly or view it on GitHub
#23 (comment).

@karelbilek
Copy link
Author

I have to confirm, I cloned it again into a new directory and it starts and
works. With the "auto fill".

I have no idea what is wrong. I unfortunately have only pc currently
available.... Hm, I can try one more PC as I think about it
On Jan 3, 2015 1:06 PM, "Karel Bílek" kb@karelbilek.com wrote:

Hm. All right, I will check it out again
On Jan 3, 2015 5:23 AM, "Ryan Sawhill Aroha" notifications@github.com
wrote:

@Runn1ng https://github.com/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?


Reply to this email directly or view it on GitHub
#23 (comment).

@karelbilek
Copy link
Author

Tried it on a totally different and independent computer (where I
separately cloned it from my repo) , still starts fine. (of course after
writing correct directory into modules/cfg.py)

Not saying it is not some error, I just can't detect it
On Jan 4, 2015 5:02 AM, "Karel Bílek" kb@karelbilek.com wrote:

I have to confirm, I cloned it again into a new directory and it starts
and works. With the "auto fill".

I have no idea what is wrong. I unfortunately have only pc currently
available.... Hm, I can try one more PC as I think about it
On Jan 3, 2015 1:06 PM, "Karel Bílek" kb@karelbilek.com wrote:

Hm. All right, I will check it out again
On Jan 3, 2015 5:23 AM, "Ryan Sawhill Aroha" notifications@github.com
wrote:

@Runn1ng https://github.com/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?


Reply to this email directly or view it on GitHub
#23 (comment).

@ryran
Copy link
Owner

ryran commented Jan 4, 2015

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:

Tried it on a totally different and independent computer (where I
separately cloned it from my repo) , still starts fine. (of course after
writing correct directory into modules/cfg.py)

Not saying it is not some error, I just can't detect it
On Jan 4, 2015 5:02 AM, "Karel Bílek" kb@karelbilek.com wrote:

I have to confirm, I cloned it again into a new directory and it starts
and works. With the "auto fill".

I have no idea what is wrong. I unfortunately have only pc currently
available.... Hm, I can try one more PC as I think about it
On Jan 3, 2015 1:06 PM, "Karel Bílek" kb@karelbilek.com wrote:

Hm. All right, I will check it out again
On Jan 3, 2015 5:23 AM, "Ryan Sawhill Aroha" notifications@github.com

wrote:

@Runn1ng https://github.com/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?


Reply to this email directly or view it on GitHub
#23 (comment).


Reply to this email directly or view it on GitHub
#23 (comment).

@karelbilek
Copy link
Author

GnuPG:

$ gpg2 --version
gpg (GnuPG) 2.0.22
libgcrypt 1.5.3
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA, ?, ?
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
        CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2

python:

$ python --version
Python 2.7.6

gtk2.... I hope this is the right way to find out

$ pkg-config --modversion gtk+-2.0
2.24.23

On the other computer:

$ gpg2 --version
gpg (GnuPG) 2.0.26
libgcrypt 1.6.1
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
        CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2

$ python --version
Python 2.7.9

$ pkg-config --modversion gtk+-2.0
2.24.25

First computer is Ubuntu, second computer is Gentoo

@karelbilek
Copy link
Author

going through my ancient PRs on github. I no longer have any idea how Python or GPG works. :D should I close this?

stokito pushed a commit to stokito/pyrite that referenced this pull request Oct 28, 2023
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>
stokito pushed a commit to stokito/pyrite that referenced this pull request Oct 29, 2023
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants