gpg -k works and displays the list of keys I expect. gpgsm -k returns nothing.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
All Stories
Sep 19 2018
I'll try to reproduce it.
JJworx, thanks but I don't think a log would help me currently. With Gpg4win-3.1.3 I'm down in my main test instance to have these crashes ~0.25% (so I need around 400 verify/decrypt operations).
Cureently with the same machine using the old DLL I'm able to work with no problems. I tried several times to switch back to the new DLL and the problem appears immediatly.
If you need some other log I can produce it, just direct me. I used the procedure to enable gpgol logs I found on the forums.
Strange, this happens when Kleopatra is unable to launch the gpg.exe / gpgsm.exe binaries. But in the log I can see that gpgconf is found and scdaemon / gpg-agent seem to work. So your installation is apparently fine.
Thank you for the report. I can't reproduce this behavior of course :-/ and from a first glance I also don't see any problem in your log. The last line logged says "GpgOL code is done, handing it back to Outlook".
Thanks for your report. Also thanks for trying the beta already. I think I know why this happens. Will be fixed!
@a_p3rson : Yes. I agree that I think that cepxuo meant something differently then you.
Could you say, on which platforms exactly it should work?
Yes, due it uses adwaita-qt theme.
Yes, I can start it on the command line and it works, but gives a warning.
Sep 18 2018
On reviewing the bug report I realized I had included the wrong section of the Kleopatra log. I cleared the log file and ran Kleopatra again to get the correct log entry for the version of gpg4win in use. Here it is:
I think the point of my request was originally missed. I will take a screen
capture of the pinentry workflow during authentication and signing tasks -
in my opinion, they should be the same. However, during signing, the window
gets display focus (Windows switches it to the active window), whereas
during authentication it does not (and has to be alt-tabbed/switched to for
pin entry).
Andre explained that we don't do that anymore on purpose. Duck and read the discussion related to this if you are intereested. A related thing is that no-grab does not work on all platforms because it was designed for standard X but nowdays toolkits have their own ideas what is right and what is wrong.
no-grab does only work on certain platforms. Thus this is no bug.
pinentry-qt giving Gtk- warnings? Very strange. Please give an example. You can start pinentry on the command line like
if you start gpg-agent in that deprecated way it sees the envvars. it will even see them if it is as suggested started on-demand by gpg. However, things are different when a gpg-agent is already running; in that case only the listed envvars are conveyed to the pinentry.
It's white due to https://dev.gnupg.org/T4144
Moreover, pinentry-qt doesn't ignore env if it runned from gpg-agent. So you are wrong about technical reason.
for comparison pinentry-qt doesn't ignore env:
"partially" means it doesn't allow to input elsewhere, but in case of focus loose input will go nowhere
At least it MUST NOT grub input with no-grab option. But it doesn't allow to input elsewhere in any case.
I don't know about gpg-agent, but pinentry-gnome3 ignores $GTK_THEME (and $GDK_SCALE) even if I run it directly:
$GTK_THEME=Adwaita:dark GDK_SCALE=2 /usr/bin/pinentry-gnome3 OK Pleased to meet you GETPIN
We need a way to replicate your problem, a few questions first:
I would call that a feature because it makes sure that the Pinentry always shows up the same regardless of an application selects a different theme.
We know that. And pinentry-gtk does like that.
It's possibe to do via gtk3 directly:
https://developer.gnome.org/gtk3/stable/gtk3-General.html#gtk-device-grab-add
Yes. It's up to GCR library in GNOME.
Sep 17 2018
By grabbing I mean that it's not possible to input elsewhere. Same as ssh-askpass does.
By grabbing I mean that it's not possible to input elsewhere. Same as ssh-askpass does.
I confirm this bug!
@werner Given you filed it as low priority and documentation - could you give feedback on whether that is expected behaviour or not?
Sep 16 2018
Sep 15 2018
Sep 14 2018
Perhaps it happens because I'm asking for "Lesebestätigungen" along all mails? But still the icons for signing should not be gone!
I also have these seldom freezings. Any log / tracker I could activate that would help you?
Thanks a lot.
By this report, I was able to fix more memory leaks.
Sep 13 2018
Sep 12 2018
sorry, i haven't had time to test gpgme with those changes myself. i hope someone can do so.
The background of my earlier comment was that I didn't tested GPGME in this regard.
if gpgme doesn't rely on the return value, but instead on parsing the --status-fd for errors, then there will still be an ERROR printed:
Removed the global trust model flag.
Okay. So for GPGME should we add --no-keyring if --override-session-key is also enabled? I think this would be better than relying on the fact that gpgme ignores the returned error code.
I've uploaded a Gpg4win installer with this fix (3.1.4-beta3) to https://files.gpg4win.org/Beta/current/
To avoid a traumatic change to Gpg4win I do not want to change the default trust-model globally. Changing it on demand will provide the freedom to "port" each application using GnuPG to the new trust-model independently.
Changes are included to master branch of gnupg.