Page MenuHome GnuPG
Feed Advanced Search

Dec 13 2017

Djlok0 added a comment to T2927: The GPGME library returned an unexpected error at gpafiledecryptop.c:534..

Ah man. So let me ask you for clarification in case I am not understanding this right. You're saying I encrypted the message with someone else's public key?

Dec 13 2017, 3:40 PM · Bug Report, gpa
aheinecke added a comment to T3616: Gpg4Win 3.0.2 hangs if replying to an encrypted message in Outlook 2010.

I could somewhat reproduce this problem when I disconnected the connection to Exchange from my Outlook and then tried to respond to an exchange mail. Although for me Outlook did not Hang and an error message (with a General Error) showed up.

Dec 13 2017, 2:39 PM · Info Needed, Bug Report, gpg4win
hs added a comment to T3537: GpgOL - Outlook shows empty email body for encrypted email.


The registry setting used above.

Dec 13 2017, 1:50 PM · gpgol, Bug Report, gpg4win
hs added a comment to T3537: GpgOL - Outlook shows empty email body for encrypted email.


What I did:

  • fresh install of Gpg4Win 3.0.2
  • reboot
  • openening Outlook 2010 with only one plugin (GpgOL)
  • sending an encrypted email to myself
  • trying to open that email (no content)
Dec 13 2017, 1:45 PM · gpgol, Bug Report, gpg4win
xianghongai added a comment to T1249: renaming '...\pubring.tmp' to '...\pubring.gpg failed: Permission denied during key creation.
  1. exit gnupg software;
  2. ctrl+shift+esc: end the process that starts with the 'GnuPG's ...' character~;
  3. windows + r : %appdata%, delete ‘gnupg’ directory;
Dec 13 2017, 11:01 AM · Bug Report, gnupg
aheinecke triaged T3616: Gpg4Win 3.0.2 hangs if replying to an encrypted message in Outlook 2010 as High priority.

Thanks for the report and the log.
I see the problem. In your case of a reply outlook does not give us the SMTP address for the recipient but an Exchange DN

Dec 13 2017, 10:39 AM · Info Needed, Bug Report, gpg4win
hs added a comment to T3537: GpgOL - Outlook shows empty email body for encrypted email.

@aheinecke Because it was mentioned in another comment, I've tried to restart Outlook with the GpgOl plugin enabled, only. Same result. But the fact that I could see the message just after arrival, but not in a second approach may point in a direction that incoming messages are processed by an server-based filter changing potentially vulnerable email content (as embedded links).
I could try to log the complete process of sending an email to myself, decrypting once and failing in a second trail. This would actually increase the size of the log file.

Dec 13 2017, 9:33 AM · gpgol, Bug Report, gpg4win
aheinecke added a comment to T3537: GpgOL - Outlook shows empty email body for encrypted email.

@hs Your log is interesting but I don't yet understand it. We see a "Load" event for an encrypted mail, create our internal data modelling. But later there is a mismatch between the reference Outlook gives us and our internal reference (Failed to find mail in map).
Out of the blue there might be something I could do in that case but it's still somewhat unclear to me why this state occurs.

Dec 13 2017, 8:11 AM · gpgol, Bug Report, gpg4win
aheinecke renamed T2146: Gpg4win does not kill all gpg-agents on update from Gpg4win uninstaller shows gpg-connect-agent cmd window to Gpg4win does not kill all gpg-agents on update.
Dec 13 2017, 8:02 AM · Bug Report, gpg4win
gniibe added a comment to T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.

Looking an example code of http://g10code.com/docs/openpgp-card-v21-free-source.zip (Note that this is just an example code), 6A88 can be occurred for PSO:DECIPHER when:

Dec 13 2017, 1:22 AM · Info Needed, scd, Bug Report

Dec 12 2017

werner added a comment to T2927: The GPGME library returned an unexpected error at gpafiledecryptop.c:534..

Well, I meant to do this on the command line (cmd.exe). Replace INFILE with the name of the encrypted file and OUTFILE is the name of the file which will receive the decrypted data. You can't do that in the clipboard.

Dec 12 2017, 7:30 PM · Bug Report, gpa
Djlok0 added a comment to T2927: The GPGME library returned an unexpected error at gpafiledecryptop.c:534..

I included two pictures of what is going on. The first picture is what I get from trying to decrypt the line that you gave me. The second picture is the original issue I was having. I do appreciate your help

Dec 12 2017, 6:30 PM · Bug Report, gpa
werner added a comment to T3612: libgcrypt 1.8.1 fails 2 of 28 testson Red Hat Enterprise Linux 7.4 x86_64.

It all depends on your system. This is why this is an _option_.

Dec 12 2017, 6:19 PM · Bug Report
werner updated subscribers of T2927: The GPGME library returned an unexpected error at gpafiledecryptop.c:534..
Dec 12 2017, 6:18 PM · Bug Report, gpa
werner added a comment to T2927: The GPGME library returned an unexpected error at gpafiledecryptop.c:534..

Can you please try to decrypt this message on the command line:

Dec 12 2017, 6:17 PM · Bug Report, gpa
Djlok0 reopened T2927: The GPGME library returned an unexpected error at gpafiledecryptop.c:534. as "Open".

I also have had this problem. I just opened up my laptop for the first time in years. I was trying to decrypt text I encrypted years ago but I get that same error stated in the original post. Now I just remind you, this was encrypted years ago. In the encrypted message, after it says "begin pgp message," it says "version: GnuPg v2.0.20 (MingW32)" i am not sure if that matters, but that is all i have to give on my end other than i am currently using gpa 0.9.10 GnuPG 2.2.3

Dec 12 2017, 6:09 PM · Bug Report, gpa
hs renamed T3616: Gpg4Win 3.0.2 hangs if replying to an encrypted message in Outlook 2010 from Gpg4Win 3.0.2 hangs is replying to an encrypted message in Outlook 2010 to Gpg4Win 3.0.2 hangs if replying to an encrypted message in Outlook 2010.
Dec 12 2017, 4:44 PM · Info Needed, Bug Report, gpg4win
hs created T3616: Gpg4Win 3.0.2 hangs if replying to an encrypted message in Outlook 2010.
Dec 12 2017, 4:35 PM · Info Needed, Bug Report, gpg4win
blastwave added a comment to T3612: libgcrypt 1.8.1 fails 2 of 28 testson Red Hat Enterprise Linux 7.4 x86_64.

Perhaps as a last word on this it may be reasonable to remove that strange "--enable-hmac-binary-check" as it does cause problems.

Dec 12 2017, 4:05 PM · Bug Report
hs added a comment to T3537: GpgOL - Outlook shows empty email body for encrypted email.

Just installed Gpg4Win 3.0.2.
Had a very similar effect with Windows 7 / Outlook 2010:

  • Sending an encrypted e-mail to myself.
  • E-mail will be decypted once after receiving.
  • After that, e-mail is shown as "unsecure" and with empty message body (both in preview and own window).
  • E-mail in "Sent" folder still decryptable with right content.

I've added gpgol.log for opening Outlook again after receiving the e-mail (with empy body, now).

Dec 12 2017, 3:45 PM · gpgol, Bug Report, gpg4win
aheinecke closed T3507: GPA fails in the keylisting wth "Object too short" as Resolved.

Please reopen or comment if that problem still happens if you move away the gnupg home directory.

Dec 12 2017, 1:53 PM · Info Needed, gpg4win, gpa, Bug Report
aheinecke closed T3603: Kleopatra: Sorting in Keylist is broken as Resolved.
Dec 12 2017, 12:51 PM · Bug Report, kleopatra
aheinecke added a parent task for T3603: Kleopatra: Sorting in Keylist is broken: T3607: Gpg4win 3.0.3.
Dec 12 2017, 12:51 PM · Bug Report, kleopatra
aheinecke added a comment to T3603: Kleopatra: Sorting in Keylist is broken.

Case Insensitive Sorting is fixed with:
https://commits.kde.org/kleopatra/856aad228a81f542f821209ae2c796d9b7160263

Dec 12 2017, 12:51 PM · Bug Report, kleopatra
yourealwaysbe added a comment to T3606: failed to build S-Exp (off=0): Cannot allocate memory.

Great, many thanks.

Dec 12 2017, 11:15 AM · libgcrypt, Bug Report
HateSys added a comment to T3613: Kleopatra not starting.

no i have not any software that interfieres.

Dec 12 2017, 9:19 AM · kleopatra, Bug Report, gpg4win
aheinecke triaged T3613: Kleopatra not starting as Normal priority.

Strange, do you have any unusual Group Policies or some "Security Software" that might interfere with the running of GPA / Kleopatra (they open a local socket).

Dec 12 2017, 9:18 AM · kleopatra, Bug Report, gpg4win
werner triaged T3606: failed to build S-Exp (off=0): Cannot allocate memory as Normal priority.
Dec 12 2017, 9:11 AM · libgcrypt, Bug Report
werner added a comment to T3606: failed to build S-Exp (off=0): Cannot allocate memory.

The fatal bug you reported can happen if the process is running out of secure memory. In general it should return an error but there is one place where we assumed the allocation would always succeed. This has meanwhile changed in the repo and will go into 1.8.2 However, this is not the real problem you have but just a wrong error behaviour.

Dec 12 2017, 9:11 AM · libgcrypt, Bug Report
werner closed T3612: libgcrypt 1.8.1 fails 2 of 28 testson Red Hat Enterprise Linux 7.4 x86_64 as Resolved.
Dec 12 2017, 9:04 AM · Bug Report
aheinecke added a comment to T3419: GpgOL 2.0.1 doesn't recognize plain PGP messages as encrypted.

I can reproduce that problem and have opened T3614 for this.

Dec 12 2017, 7:29 AM · gpg4win, gpgol, Bug Report
cdeibert added a comment to T3419: GpgOL 2.0.1 doesn't recognize plain PGP messages as encrypted.

Hi, first of all I want to report back that with beta15 that the following issues did NOT arise anymore, fantastic!

Dec 12 2017, 7:14 AM · gpg4win, gpgol, Bug Report
gniibe closed T3027: gpg-agent crash on macOS Sierra triggerd by ssh as Resolved.

Please open another report, not reusing similar. I don't think it's same bug.
Please note that GnuPG's ssh is not fast enough (intentionally), its rate is usually ten connections per second.

Dec 12 2017, 12:12 AM · Bug Report, gpgagent, gnupg

Dec 11 2017

sundbp reopened T3027: gpg-agent crash on macOS Sierra triggerd by ssh as "Open".
Dec 11 2017, 11:49 PM · Bug Report, gpgagent, gnupg
sundbp added a comment to T3027: gpg-agent crash on macOS Sierra triggerd by ssh.

I'm seeing something quite similar - same setup, osx and it only shows when using ansible. I'm on gnupg 2.2.3, also saw same using "GPG Suite 2017.2".

Dec 11 2017, 11:48 PM · Bug Report, gpgagent, gnupg
HateSys added a comment to T3613: Kleopatra not starting.

gpa not starting as well

Dec 11 2017, 11:45 PM · kleopatra, Bug Report, gpg4win
gniibe added a comment to T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.

Thanks a lot. Please note that there is a bit of possibility the messages which cause failure are one of attack vectors. (While most likely case is they are generated by broken implementation.)

Dec 11 2017, 11:34 PM · Info Needed, scd, Bug Report
HateSys created T3613: Kleopatra not starting.
Dec 11 2017, 11:31 PM · kleopatra, Bug Report, gpg4win
dirk added a comment to T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.

Im mean GnuPG fails for messages from a particular sender, while it works for messages from other senders.

Dec 11 2017, 10:57 PM · Info Needed, scd, Bug Report
cosimo193 added a comment to T3523: GpgOL - Outlook running out of resorces.

I only installed 3.0.2 this morning so this hasn't had much of a chance to happen.

Dec 11 2017, 3:08 PM · gpgol, Bug Report, gpg4win
yourealwaysbe added a comment to T3606: failed to build S-Exp (off=0): Cannot allocate memory.

Version 1.8.1. The full output is

Dec 11 2017, 2:59 PM · libgcrypt, Bug Report
blastwave added a comment to T3612: libgcrypt 1.8.1 fails 2 of 28 testson Red Hat Enterprise Linux 7.4 x86_64.

OKay, mail lists. I didn't see that option but I will subscribe to the gnupg-users list and keep quiet. However in the mean while I can tell you that the removal of the configure options "--enable-large-data-tests --enable-hmac-binary-check --disable-O-flag-munging --disable-optimization " results in perfect test reports. Thank you.

Dec 11 2017, 2:49 PM · Bug Report
blastwave added a comment to T3612: libgcrypt 1.8.1 fails 2 of 28 testson Red Hat Enterprise Linux 7.4 x86_64.

Wow. Well thank you Werner becasue I have never seen the term used. It is precisely correct and yet the defacto style of the day seems to be "megabytes" but "mebibytes" is the correct term :

Dec 11 2017, 2:40 PM · Bug Report
werner added a comment to T3612: libgcrypt 1.8.1 fails 2 of 28 testson Red Hat Enterprise Linux 7.4 x86_64.

mebibytes is not a spelling error but the correct unit (abrev is MiB).

Dec 11 2017, 2:32 PM · Bug Report
werner updated the task description for T3612: libgcrypt 1.8.1 fails 2 of 28 testson Red Hat Enterprise Linux 7.4 x86_64.
Dec 11 2017, 2:28 PM · Bug Report
werner added a comment to T3612: libgcrypt 1.8.1 fails 2 of 28 testson Red Hat Enterprise Linux 7.4 x86_64.

Your comments in the output were hard to find. Thus my comment to explain the bug.
You are using non default options and in particular the hmac binary check. The latter was written a couple of years ago for an older Redhat version and it might well be broken in the meantime.

Dec 11 2017, 2:26 PM · Bug Report
blastwave added a comment to T3612: libgcrypt 1.8.1 fails 2 of 28 testson Red Hat Enterprise Linux 7.4 x86_64.

Minor spelling typo :

Dec 11 2017, 2:21 PM · Bug Report
blastwave added a comment to T3612: libgcrypt 1.8.1 fails 2 of 28 testson Red Hat Enterprise Linux 7.4 x86_64.
Seems pretty clear. The OS is in the title as Red Hat Enterprise Linux 7.4 on x86_64 and the "bug" is 
simply that the software fails its own testsuite wherein the final output clearly says "Please report to
http://bugs.gnupg.org".
Dec 11 2017, 2:11 PM · Bug Report
werner added a project to T3606: failed to build S-Exp (off=0): Cannot allocate memory: libgcrypt.

Which libgcrypt version are you using (gpg --version shows it)

Dec 11 2017, 2:08 PM · libgcrypt, Bug Report
blastwave updated the task description for T3612: libgcrypt 1.8.1 fails 2 of 28 testson Red Hat Enterprise Linux 7.4 x86_64.
Dec 11 2017, 2:06 PM · Bug Report
werner added a comment to T3612: libgcrypt 1.8.1 fails 2 of 28 testson Red Hat Enterprise Linux 7.4 x86_64.

I see hundreds of lines output but can't easily detect what you question or bug is. Please strip your report down to something we can triage more easy. Also what OS etc. Thanks.

Dec 11 2017, 2:05 PM · Bug Report
blastwave created T3612: libgcrypt 1.8.1 fails 2 of 28 testson Red Hat Enterprise Linux 7.4 x86_64.
Dec 11 2017, 2:01 PM · Bug Report
aheinecke closed T1096: As attachment forwarded crypto email can't decrypt/verify by GpgOL as Resolved.

T2854 is a duplicate of this but contains more up to date information. So I'm closing this issue.

Dec 11 2017, 1:43 PM · Bug Report, gpgol
aheinecke added a comment to T3523: GpgOL - Outlook running out of resorces.

Does this still happen with gpg4win-3.0.2?

Dec 11 2017, 1:05 PM · gpgol, Bug Report, gpg4win
yourealwaysbe created T3606: failed to build S-Exp (off=0): Cannot allocate memory.
Dec 11 2017, 1:04 PM · libgcrypt, Bug Report
aheinecke closed T3441: GpgOL is displayed in Menu Ribbon, but doesn't work as intended, a subtask of T3442: S/MIME - Encrypt Option produces broken Mails in Sent Folder and leads to crash of GpgOL, as Resolved.
Dec 11 2017, 1:04 PM · gpg4win, gpgol, Bug Report
aheinecke closed T3441: GpgOL is displayed in Menu Ribbon, but doesn't work as intended as Resolved.

Gpg4win 3.0.2 is released which contains even more fixes for GpgOL -> Resolving this. Please let us know if you still have Problems that are not tracked here.

Dec 11 2017, 1:04 PM · gpgol, Bug Report
aheinecke closed T3260: agent problem during upgrade as Resolved.

This works now. There is a problem still if the agent is not running with the default homedir or under other users. But this is handled in T2146

Dec 11 2017, 1:03 PM · gpg4win, Bug Report
aheinecke closed T2183: gpg-agent not terminated when upgrading from gpg4win 2.2.6 -> 2.3.0 as Resolved.

This works now. There is a problem still if the agent is not running with the default homedir or under other users. But this is handled in T2146

Dec 11 2017, 1:02 PM · Bug Report, gpg4win
aheinecke reassigned T2146: Gpg4win does not kill all gpg-agents on update from aheinecke to werner.

@werner This is sometimes still an issue. E.g. if the agent is started with a different homedir. Is it ok to just use TerminateProcess on any gpg-agent?

Dec 11 2017, 1:01 PM · Bug Report, gpg4win
aheinecke created T3604: Kleopatra: Default column sizes / Window size for Keylist still wrong.
Dec 11 2017, 12:49 PM · gpg4win, Bug Report, kleopatra
aheinecke created T3603: Kleopatra: Sorting in Keylist is broken.
Dec 11 2017, 12:47 PM · Bug Report, kleopatra
aheinecke closed T3598: Directory used for decrypted file as Resolved.

I'm changing this issue to resolved as I opened T3601 and T3602 for the problems mentioned in this issue. As it is better to have them separated.

Dec 11 2017, 12:05 PM · Bug Report, gpg4win
aheinecke created T3602: Kleopatra: Using tmp directory to buffer decrypted file should be configurable.
Dec 11 2017, 12:03 PM · Bug Report, gpg4win, kleopatra
aheinecke triaged T3598: Directory used for decrypted file as Normal priority.

I thought about (2) when implementing the new "decrypt" action in Kleopatra but we did not give it high priority as we were unsure if this is a real world problem.

Dec 11 2017, 11:56 AM · Bug Report, gpg4win
aheinecke closed T3599: Qt5core.dll 5.8.0.0 in Gpg4Win-3.0.2 is virus free??? as Resolved.

sadly this happens with nearly every release that some Anti Virus software reports false positives ( https://wiki.gnupg.org/Gpg4win/AntiVirusSoftware )

Dec 11 2017, 11:54 AM · Bug Report
gniibe added a comment to T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.

Do you mean, GnuPG fails for a particular message, while it works for other messages?
Or do you mean, GnuPG fails for messages from a particular sender, while it works for messages from other senders?

Dec 11 2017, 2:17 AM · Info Needed, scd, Bug Report

Dec 10 2017

dirk added a comment to T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.

The new reader arrived. Works find for every message - except obviously this one sender.
See reader https://pcsclite.alioth.debian.org/ccid/supported.html#0x04E60x5116 ti should support large APDU. Same error messages
I think we are on the wrong error track here. It is not the reader. I now tested 4.

Dec 10 2017, 10:03 AM · Info Needed, scd, Bug Report

Dec 9 2017

Enrique_spain created T3599: Qt5core.dll 5.8.0.0 in Gpg4Win-3.0.2 is virus free???.
Dec 9 2017, 3:14 PM · Bug Report

Dec 8 2017

aheinecke added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

There is now also Gpg4win-3.0.2 with that gnupg version available.

Dec 8 2017, 2:18 PM · Windows, libassuan, gpgagent, Bug Report
Kelbom68 added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

I've been running gnupg-w32-2.2.3_20171207.exe for about as long as it's been available and no hanging whatsoever. Thanks a lot!

Dec 8 2017, 4:07 AM · Windows, libassuan, gpgagent, Bug Report
gniibe added a comment to T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.

Thank you for your cooperation.

Dec 8 2017, 2:14 AM · Info Needed, scd, Bug Report

Dec 7 2017

dirk added a comment to T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.

I still have trouble beliving it is the reader. Since I tried now 3.
As well I have a 4096 bit key and everybody has been encrypting this with my key. Therefore it does not make sense to me.

Dec 7 2017, 9:36 PM · Info Needed, scd, Bug Report
werner changed the status of T3378: gpg-agent.exe hanging after left to idle for a while from Open to Testing.

All commited. I created a new installer gnupg-w32-2.2.3_20171207.exe which comes with the new libassuan 2.5.1 and the two required patches for gnupg.

Dec 7 2017, 6:07 PM · Windows, libassuan, gpgagent, Bug Report
aheinecke closed T1649: kleopatra fails to sign keys when local sig already exists as Resolved.

Fixed at last.

Dec 7 2017, 4:27 PM · Bug Report, gpg4win
aheinecke added a comment to T2854: GpgOL: Mail forwarded as attachment not decrypted.

I looked into it. The problem is that attachments are opened as "Read Only" so we can't change the message class or handle it ourself. Once opened there is no apparent way to change the message to read only. Only if the message containing the attachment is marked as modifyable:

Dec 7 2017, 9:13 AM · Bug Report, gpgol
aheinecke closed T3427: Enigmail users see only attached gpgolXXX.dat file when signed or encrypted by GpgOL as Resolved.

I tried to reproduce this with current GpgOL and it just worked. Even if I connected Enigmail to Exchange (Outlook.com).

Dec 7 2017, 8:20 AM · Info Needed, gpgol, gpg4win, Enigmail, Bug Report
gniibe added a comment to T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.

For Gemalto USB Shell Token V2, libccid has known issue: https://ludovicrousseau.blogspot.jp/2017/03/gemalto-idbridge-k30-k50-ct30-and-zero.html
I don't know about ACR 38U.

Dec 7 2017, 12:07 AM · Info Needed, scd, Bug Report

Dec 6 2017

aseibert88 added a comment to T3381: dirmngr won't start on Windows 10 with admin level account.

I experience this same behavior, standard shell. Both with admin, windows live based account and local, non-admin account.

Dec 6 2017, 9:02 PM · libassuan, Restricted Project, gpg4win, dirmngr, Windows, Bug Report
dirk added a comment to T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.

Here two other Reader example - same message - same problem:
Reader: Gemalto USB Shell Token V2 (00483E73) 00 00
Reader: ACS ACR 38U-CCID 00 00

Dec 6 2017, 8:54 PM · Info Needed, scd, Bug Report
aheinecke closed T2985: CRLs are not automatically loaded, when trying to send a mail to S/MIME recipient as Resolved.

I just tested with intevation's CA on Windows and it works. It also worked with our test.ca in the base test before the 3.0.1 release. I think this is resolved.

Dec 6 2017, 2:29 PM · Bug Report, gpg4win
aheinecke closed T3462: After installing GPG4Win 3.0.0 Kleopatra.exe crashes and will not start. as Resolved.

We now check for an error of the gnupg-w32 installation (which should not happen normally) and show a Message Box on error.

Dec 6 2017, 2:22 PM · gpg4win, Bug Report
aheinecke added a comment to T3577: Kleopatra crashes while creating a key and aborting pinentry.

It's also fixed. There was a problem with the error handing. A canceled pinentry is communicated as an error with code operation canceled.

Dec 6 2017, 1:22 PM · kleopatra, gpg4win, Bug Report
JochenSaalfeld added a comment to T3577: Kleopatra crashes while creating a key and aborting pinentry.

So if the user had a "real" error it might have crashed instead of showing the error.

Dec 6 2017, 12:58 PM · kleopatra, gpg4win, Bug Report
aheinecke added a comment to T3577: Kleopatra crashes while creating a key and aborting pinentry.

As a note: The second crash might be related in that the crash could happen on any error. So if the user had a "real" error it might have crashed instead of showing the error.

Dec 6 2017, 12:56 PM · kleopatra, gpg4win, Bug Report
aheinecke closed T3577: Kleopatra crashes while creating a key and aborting pinentry as Resolved.

Indeed easily reproducible issue.

Dec 6 2017, 12:52 PM · kleopatra, gpg4win, Bug Report
JochenSaalfeld updated the task description for T3577: Kleopatra crashes while creating a key and aborting pinentry.
Dec 6 2017, 11:29 AM · kleopatra, gpg4win, Bug Report
JochenSaalfeld assigned T3577: Kleopatra crashes while creating a key and aborting pinentry to aheinecke.
Dec 6 2017, 11:28 AM · kleopatra, gpg4win, Bug Report
JochenSaalfeld created T3577: Kleopatra crashes while creating a key and aborting pinentry.
Dec 6 2017, 11:28 AM · kleopatra, gpg4win, Bug Report
gniibe added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

Thanks for testing.
I created another patch which can be applied independently: D457: Avoid crash using nPth

Dec 6 2017, 10:47 AM · Windows, libassuan, gpgagent, Bug Report
aheinecke added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

Looks good. With the libassuan-hang-test.diff and D455 D456 applied on current master branches it no longer hangs. It hung with only the libassuan-hang-test.diff.

Dec 6 2017, 10:37 AM · Windows, libassuan, gpgagent, Bug Report
gniibe added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

The patch above libassuan-hang-test.diff requires D455 and D456 applied.
I guess that without the patch for testing, current gpg-agent would just work fine, possibly. (no crash)

Dec 6 2017, 10:23 AM · Windows, libassuan, gpgagent, Bug Report
gniibe added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

For better reproducibility of hang, this is more better:


It's a patch to libassuan. The patch to gpg-agent is not the exact one. libassuan patch is the exact one.

Dec 6 2017, 7:54 AM · Windows, libassuan, gpgagent, Bug Report
aheinecke added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

I'm doing the test. I'm currently waiting on a hang with the test change applied.

Dec 6 2017, 7:43 AM · Windows, libassuan, gpgagent, Bug Report
raysatiro added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

If you can get the developers to make a try-build that is built securely then I'd guess most of us would be happy to try it. Not all of us have a build system for gpg.

Dec 6 2017, 7:28 AM · Windows, libassuan, gpgagent, Bug Report
gniibe added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

To reproduce this problem of nonce write->read race on Windows, and forgotten wrapping of read/write, please apply this patch for testing:


And then, please confirm that rG1524ba9656f0: agent: Set assuan system hooks before call of assuan_sock_init. can fix this, even with the patch for testing.

Dec 6 2017, 6:40 AM · Windows, libassuan, gpgagent, Bug Report
gniibe added projects to T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>: scd, Info Needed.

For Gemalto Shell Tokens: http://support.gemalto.com/index.php?id=tokens
There are three variants. Please describe detail.

Dec 6 2017, 1:39 AM · Info Needed, scd, Bug Report
gniibe added a comment to T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.

I checked a card reader: https://pcsclite.alioth.debian.org/ccid/readers/CardMan3121.txt

Dec 6 2017, 1:24 AM · Info Needed, scd, Bug Report
gniibe merged task T2285: decryption fails with "Missing item in object" even though private key is available into T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.
Dec 6 2017, 1:14 AM · Info Needed, Bug Report, gnupg, scd
gniibe merged T2285: decryption fails with "Missing item in object" even though private key is available into T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.
Dec 6 2017, 1:14 AM · Info Needed, scd, Bug Report