Page MenuHome GnuPG
Feed Advanced Search

Jun 7 2019

werner lowered the priority of T4563: gpg-agent fails to sign request of PKISSH from High to Normal.
Jun 7 2019, 6:32 PM · Feature Request, gpgagent
ikrabbe triaged T4563: gpg-agent fails to sign request of PKISSH as High priority.

This is a high prio error, I guess, because it breaks a very useable part of gnupg, that is really hard to maintain. If it is not stable to sign keys with the gpg-agent, it is very hard to use that. Many might switch back to the ssh-agent.

Jun 7 2019, 2:12 PM · Feature Request, gpgagent
ikrabbe changed the status of T4563: gpg-agent fails to sign request of PKISSH from Open to Testing.

Please check if this patch works for you and please check where this flag actually comes from and what it does say!

Jun 7 2019, 2:09 PM · Feature Request, gpgagent
ikrabbe created T4563: gpg-agent fails to sign request of PKISSH.
Jun 7 2019, 2:05 PM · Feature Request, gpgagent

Jun 6 2019

slandden updated the task description for T4541: C implementation of AES is vulnerable to side-channel attacks.
Jun 6 2019, 6:40 PM · side-channel, libgcrypt, Bug Report
gniibe closed T1977: abort in gpgparsemail as Resolved.

Fixed in master.

Jun 6 2019, 2:36 AM · Bug Report
gniibe claimed T1977: abort in gpgparsemail.
Jun 6 2019, 2:36 AM · Bug Report

Jun 5 2019

dkg added a comment to T3464: successful decryption with session key reports failure if public key is unknown.

any feedback on this proposed patch?

Jun 5 2019, 3:56 AM · gpgme, Bug Report

Jun 4 2019

Xanatos added a comment to T4554: gpgtar invalid octal number.

I did forget to mention that the key I'm using is 4096 bit long

Jun 4 2019, 4:34 PM · gpgtar, Bug Report, gpg4win
Xanatos added a comment to T4554: gpgtar invalid octal number.

I was creating a tar archive with 7-Zip on my Windows 10 machine. After the creating was completed I was encrypting the archive like so:

Jun 4 2019, 4:27 PM · gpgtar, Bug Report, gpg4win
aheinecke added a comment to T4554: gpgtar invalid octal number.

Just to clarify, you were able to decrypt and extract it without error? Which tool did you use to extract the tar archive?

Jun 4 2019, 3:58 PM · gpgtar, Bug Report, gpg4win
werner closed T4456: gpgme repeatedly segfaults claws-mail after update to 1.13.0 as Resolved.
Jun 4 2019, 11:06 AM · gpgme (gpgme 1.23.x), Bug Report
werner closed T4327: Exception handling for very large or invalid number in function parse_number(...) in the file cJSON.c:176 as Wontfix.

The solution conflicts the the fix suggested and implemented for T4330.

Jun 4 2019, 11:02 AM · gpgme, Bug Report
werner closed T4328: Missing case distinction for value "NaN" and "Inf" of IEEE floating point variable in function print_number(...) in the file cJSON.c:176 as Resolved.

Fixed similar to the suggestion but NaN and INF are detected earlier.

Jun 4 2019, 10:58 AM · gpgme, Bug Report
werner closed T4330: Exception handling for very large or invalid number in function parse_number(...) in the file cJSON.c:184 as Resolved.
Jun 4 2019, 10:43 AM · gpgme, Bug Report
werner removed a project from T4379: Invalid crypto engine importing a certificate: gpgme.
Jun 4 2019, 10:17 AM · S/MIME, Bug Report
werner moved T4456: gpgme repeatedly segfaults claws-mail after update to 1.13.0 from Backlog to QA for next release on the gpgme board.
Jun 4 2019, 10:15 AM · gpgme (gpgme 1.23.x), Bug Report
Xanatos added a comment to T4554: gpgtar invalid octal number.

I did encrypt the file myself with the version mentioned above.

Jun 4 2019, 8:58 AM · gpgtar, Bug Report, gpg4win
gniibe added a comment to T3383: scdaemon option 'card-timeout' does not have any effect.

I see the regression of gpgconf. I wonder if it's better to fix gpgconf side, too.

Jun 4 2019, 8:46 AM · Documentation, scd, Bug Report
werner reopened T3383: scdaemon option 'card-timeout' does not have any effect as "Open".

I see a regression with your fix. This option is even controllable with gpgconf at the basic level. It would be better to make it a dummy option.

Jun 4 2019, 7:45 AM · Documentation, scd, Bug Report
gniibe closed T2747: gpg crashes when it receives a SIGTERM while it's cleaning up as Resolved.

Fixed in master. Closing.

Jun 4 2019, 6:43 AM · gnupg, Bug Report
gniibe closed T4137: IPC syntax error when `gpg` starts `gpg-agent` without `$TERM` variable as Resolved.

Fixed in master (to be 2.3).

Jun 4 2019, 4:37 AM · gnupg, Bug Report
gniibe closed T4478: Please fix DeryptionError typo in gpgme python bindings as Resolved.

I tried to apply&push, since we changed the file a bit, I needed to apply it manually.
Anyway, it's done.
Closing.

Jun 4 2019, 3:42 AM · Python, Bug Report, gpgme
gniibe closed T3383: scdaemon option 'card-timeout' does not have any effect as Resolved.
Jun 4 2019, 3:01 AM · Documentation, scd, Bug Report
gniibe added projects to T3383: scdaemon option 'card-timeout' does not have any effect: scd, Documentation.

I meant, 'card-timeout' was not intended for controlling caching PIN on card. It was for "DISCONNECT" command support.
I'm going to remove questionable documentation.
Closing.

Jun 4 2019, 2:56 AM · Documentation, scd, Bug Report
gniibe closed T2011: gnupg should notify cancellation of its operation to gpg-agent to kill pinentry as Resolved.
Jun 4 2019, 2:38 AM · Bug Report, gpgagent
gniibe closed T2003: Cherry ST-2000U USB card reader keypad not working on Windows as Resolved.
Jun 4 2019, 2:36 AM · Info Needed, gpg4win, Bug Report
maiden_taiwan closed T4542: gpg-agent loses characters when prompting for a GPG passphrase over SSH in Emacs as Resolved.

No worries -- you led me in the direction of a solution when you mentioned loopback mode. I appreciate your time and your help!

Jun 4 2019, 2:34 AM · Emacs, Documentation, pinentry, Bug Report
gniibe closed T2903: "gpg --card-status" does not add any entries to the private key ring as Resolved.
Jun 4 2019, 2:30 AM · Info Needed, Bug Report, gnupg
gniibe closed T2298: Unblocking a smartcard PIN not possible in 2.1 as Resolved.
Jun 4 2019, 2:29 AM · Info Needed, gnupg, scd, Bug Report
gniibe closed T1709: scm spr332 pinpad entry failure under Windows7 as Resolved.
Jun 4 2019, 2:27 AM · Info Needed, gpg4win, Bug Report
gniibe closed T1082: scd rewrites ~/.gnupg/reader_0.status with same content when SERIALNO is issued as Resolved.
Jun 4 2019, 2:25 AM · gnupg, Info Needed, gpg4win, Bug Report, scd
gniibe closed T3465: --pinentry-mode loopback with --delete-secret-keys as Resolved.
Jun 4 2019, 2:24 AM · gnupg, Bug Report
gniibe closed T4166: Improve description of PIN retry counter in the card howto as Resolved.

Thank you for your fix suggestion. I think your change is good. I applied and pushed.

Jun 4 2019, 2:12 AM · Documentation, Bug Report
gniibe added projects to T4542: gpg-agent loses characters when prompting for a GPG passphrase over SSH in Emacs: Documentation, Emacs.

Sorry, I responded in a mode of "tracking a bug to fix soonish". I should have changed my mode into showing HOWTO.
Thanks for sharing useful link.

Jun 4 2019, 2:07 AM · Emacs, Documentation, pinentry, Bug Report
gniibe closed T4546: make check error on gnupg-2.2.15 and gpgme-1.13.0 as Resolved.
Jun 4 2019, 1:52 AM · Not A Bug, gnupg, gpgme, Bug Report

Jun 3 2019

maiden_taiwan added a comment to T4542: gpg-agent loses characters when prompting for a GPG passphrase over SSH in Emacs.

I found these instructions for pinentry loopback in Emacs, and they worked!

Jun 3 2019, 5:43 PM · Emacs, Documentation, pinentry, Bug Report
maiden_taiwan added a comment to T4542: gpg-agent loses characters when prompting for a GPG passphrase over SSH in Emacs.

When you can configure it properly, there is a way to workaround it.

Jun 3 2019, 5:28 PM · Emacs, Documentation, pinentry, Bug Report
werner added a comment to T4555: GpgSM: BER Error / Invalid radix64 character 2d skipped if newline is missing at EOF.

A newline is required by the PEM standard.

Jun 3 2019, 4:37 PM · Bug Report, S/MIME
aheinecke triaged T4554: gpgtar invalid octal number as Normal priority.

Maybe the file was encrypted with a version of gpg4win-3.1.5? We had a serious bug there that sometimes files were corrupted. See: T4332

Jun 3 2019, 4:20 PM · gpgtar, Bug Report, gpg4win
aheinecke created T4555: GpgSM: BER Error / Invalid radix64 character 2d skipped if newline is missing at EOF.
Jun 3 2019, 4:18 PM · Bug Report, S/MIME
Xanatos created T4554: gpgtar invalid octal number.
Jun 3 2019, 4:15 PM · gpgtar, Bug Report, gpg4win
gniibe closed T4243: Test failure in libgcrypt-1.8.4 as Invalid.

This is problem of your setup of your build environment. Closing.

Jun 3 2019, 6:53 AM · Documentation, Tests, libgcrypt, Bug Report
gniibe closed T4031: gpg-check-pattern.1 in Debian generates warnings from test-groff as Resolved.

I added the section in tools.texi. Closing.

Jun 3 2019, 5:00 AM · Debian, gnupg, Bug Report
gniibe added a comment to T4542: gpg-agent loses characters when prompting for a GPG passphrase over SSH in Emacs.

For (1): it is broken out-of-the-box, that would be true. When you can configure it properly, there is a way to workaround it. Well, I admit, it's not yet perfect.

Jun 3 2019, 2:59 AM · Emacs, Documentation, pinentry, Bug Report
maiden_taiwan added a comment to T4542: gpg-agent loses characters when prompting for a GPG passphrase over SSH in Emacs.

Thank you for that analysis. I don't understand some of the parts (because I don't know anything about pinentry), but I do have some questions.

Jun 3 2019, 2:40 AM · Emacs, Documentation, pinentry, Bug Report
gniibe claimed T4542: gpg-agent loses characters when prompting for a GPG passphrase over SSH in Emacs.

Thanks for your report. The symptom you have could be only solved by using pinentry loopback mode, or using some special pinentry for CLI, I suppose. pinentry-tty is not sufficient for this usage.

Jun 3 2019, 1:55 AM · Emacs, Documentation, pinentry, Bug Report

May 31 2019

maiden_taiwan added a comment to T4542: gpg-agent loses characters when prompting for a GPG passphrase over SSH in Emacs.

Please let me know if I can run any other tests to help debug this issue. I'm happy to help.

May 31 2019, 8:05 PM · Emacs, Documentation, pinentry, Bug Report
werner triaged T4547: improve error message ("Not enabled") when using Tor network and standard resolver as Normal priority.
May 31 2019, 9:19 AM · dirmngr, gnupg (gpg22), Bug Report
werner triaged T4548: gpgme should not ship gpgme-glib.pc if it is not built against glib as Low priority.
May 31 2019, 9:17 AM · Bug Report, gpgme
gniibe added a comment to T4546: make check error on gnupg-2.2.15 and gpgme-1.13.0.

FYI, pEp annoyance was addressed and handled here: https://bugs.debian.org/891882
By this patch: https://sources.debian.org/src/enigmail/2:2.0.11+ds1-1/debian/patches/0002-Avoid-auto-download-of-pEpEngine-Closes-891882.patch/

May 31 2019, 7:57 AM · Not A Bug, gnupg, gpgme, Bug Report

May 30 2019

ideaantenna added a comment to T4546: make check error on gnupg-2.2.15 and gpgme-1.13.0.

Thank you for your response.

May 30 2019, 9:44 PM · Not A Bug, gnupg, gpgme, Bug Report
slandden updated the task description for T4541: C implementation of AES is vulnerable to side-channel attacks.
May 30 2019, 3:46 PM · side-channel, libgcrypt, Bug Report
gniibe claimed T4546: make check error on gnupg-2.2.15 and gpgme-1.13.0.

For GnuPG, the error is: you don't have run-able libntbtls.so in your environment (because of your wrong configuration, perhaps) but you have it to link.
For GPGME, the error is: your linked libgpg-error.so.0 and the one which runs are different (because of your wrong configuration, perhaps).

May 30 2019, 4:25 AM · Not A Bug, gnupg, gpgme, Bug Report
dkg added a comment to T3464: successful decryption with session key reports failure if public key is unknown.

I've pushed fa0a5ffd4997c2ca38a1dd2d89459b6b1f18ad99 to the branch dkg/fix-T3464, which i think solves the problem i was seeing without reintroducing any new problems.

May 30 2019, 1:58 AM · gpgme, Bug Report
dkg created T4548: gpgme should not ship gpgme-glib.pc if it is not built against glib.
May 30 2019, 12:26 AM · Bug Report, gpgme
dkg added a comment to T3464: successful decryption with session key reports failure if public key is unknown.

I can confirm that this is actually a problem now :( gpgme_op_decrypt_verify returns a status with GPG_ERR_MISSING_KEY set when a session-key is used.

May 30 2019, 12:20 AM · gpgme, Bug Report

May 29 2019

ostroffjh created T4547: improve error message ("Not enabled") when using Tor network and standard resolver.
May 29 2019, 11:17 PM · dirmngr, gnupg (gpg22), Bug Report
dkg added a comment to T4545: gpg ships gpgscm but not any of the necessary *.scm files.

we've never shipped a binary gpgscm in any debian package. I was just reviewing the differences between what we ship and what upstream ships, and i noticed this discrepancy.

May 29 2019, 7:36 PM · Bug Report
ideaantenna removed projects from T4546: make check error on gnupg-2.2.15 and gpgme-1.13.0: Enigmail, gpgagent.
May 29 2019, 7:00 PM · Not A Bug, gnupg, gpgme, Bug Report
ideaantenna updated the task description for T4546: make check error on gnupg-2.2.15 and gpgme-1.13.0.
May 29 2019, 6:55 PM · Not A Bug, gnupg, gpgme, Bug Report
ideaantenna added projects to T4546: make check error on gnupg-2.2.15 and gpgme-1.13.0: gpgme, gnupg.
May 29 2019, 6:52 PM · Not A Bug, gnupg, gpgme, Bug Report
ideaantenna updated the task description for T4546: make check error on gnupg-2.2.15 and gpgme-1.13.0.
May 29 2019, 6:39 PM · Not A Bug, gnupg, gpgme, Bug Report
ideaantenna updated the task description for T4546: make check error on gnupg-2.2.15 and gpgme-1.13.0.
May 29 2019, 6:35 PM · Not A Bug, gnupg, gpgme, Bug Report
ideaantenna created T4546: make check error on gnupg-2.2.15 and gpgme-1.13.0.
May 29 2019, 6:30 PM · Not A Bug, gnupg, gpgme, Bug Report
matheusmoreira added a comment to T3465: --pinentry-mode loopback with --delete-secret-keys.

I also experienced this issue while testing my --delete-secret-key patches. Passing --pinentry-program /usr/bin/pinentry-tty to the gpg-agent worked around it.

May 29 2019, 10:16 AM · gnupg, Bug Report
werner added a comment to T4536: dirmngr fails to find OCSP signer certificate when responder is identified with key ID.

Thanks, the mentioned OpenSSL option should be helpful.

May 29 2019, 9:19 AM · S/MIME, gnupg (gpg22), Bug Report
misterzed88 added a comment to T4536: dirmngr fails to find OCSP signer certificate when responder is identified with key ID.

A high level test description is:

  1. Configure both gpgsm and dirmngr to use OCSP.
  2. Import the responder signer certificate with gpgsm --import.
  3. Use a certificate with OCSP responder extension present, or configure a default OCSP responder in dirmngr.
  4. Configure your OCSP responder to identify itself with key ID (and not subject name)
  5. Attempt to sign or verify with gpgsm.
  6. You should get an error, with dirmngr logs showing that the responder signer certificate could not be found.
May 29 2019, 9:11 AM · S/MIME, gnupg (gpg22), Bug Report
misterzed88 added a comment to T4535: gpgsm --sign prints misleading error message when using default key.

Thank you for a quick fix (despite this being a minor problem).

May 29 2019, 8:51 AM · gnupg (gpg22), S/MIME, Bug Report
werner added a project to T4541: C implementation of AES is vulnerable to side-channel attacks: side-channel.
May 29 2019, 8:29 AM · side-channel, libgcrypt, Bug Report
werner triaged T4541: C implementation of AES is vulnerable to side-channel attacks as Normal priority.

Thanks for taking the time to describe this attack vector. We will need to study this closer to balance such a change with other side effects of this.

May 29 2019, 8:27 AM · side-channel, libgcrypt, Bug Report
werner closed T4545: gpg ships gpgscm but not any of the necessary *.scm files as Wontfix.

gpgscm will anyway be moved to libgpg-error and then installed as part of that package. Given that we install it for quite some time with gnupg, I won't remove it unless we can be sure that it has been installed by libgpg-error. Feel free to remove it from Debian, though,

May 29 2019, 8:19 AM · Bug Report
gniibe claimed T3465: --pinentry-mode loopback with --delete-secret-keys.

I wrote a patch in a topic branch: rG108c22c9c50a: g10,agent: Support CONFIRM for --delete-key.
I think that gpg-agent side,

  • agent/call-pinentry.c: This part is good
  • agent/command.c: I wonder if use of status for passing the information of prompt is good or not

Perhaps, we need an improvement in

  • g10/call-agent.c: how to ask user, by cpr_* function with no keyword is good?
  • Currently, only using DESC
  • Only applying to DELETE_KEY command
  • Can be applied also to:
    • PKSIGN
    • PKDECRYPT
May 29 2019, 5:30 AM · gnupg, Bug Report
gniibe closed T4461: Memory leak in read_block as Resolved.
May 29 2019, 3:08 AM · Bug Report
dkg created T4545: gpg ships gpgscm but not any of the necessary *.scm files.
May 29 2019, 2:41 AM · Bug Report

May 28 2019

slandden reopened T4541: C implementation of AES is vulnerable to side-channel attacks as "Open".
May 28 2019, 8:14 PM · side-channel, libgcrypt, Bug Report
slandden closed T4541: C implementation of AES is vulnerable to side-channel attacks as Invalid.

I do not have a PoC (or much interest in making one, I have too many more important things to do), but I believe this to be correct, based heavily on PPC knowledge of Nicolas König <koenigni@student.ethz.ch> . This attack also applies to AMD, Intel, and ARM.

May 28 2019, 8:12 PM · side-channel, libgcrypt, Bug Report
maiden_taiwan added a comment to T4542: gpg-agent loses characters when prompting for a GPG passphrase over SSH in Emacs.

I should add that using gpg on the command line works fine over SSH. The problem occurs only inside Emacs over SSH.

May 28 2019, 5:22 PM · Emacs, Documentation, pinentry, Bug Report
maiden_taiwan added a comment to T4542: gpg-agent loses characters when prompting for a GPG passphrase over SSH in Emacs.

Ah, I added the --verbose option and got this output (sanitized by me):

May 28 2019, 5:19 PM · Emacs, Documentation, pinentry, Bug Report
werner added a comment to T4542: gpg-agent loses characters when prompting for a GPG passphrase over SSH in Emacs.

Sorry, I forgot to mention it. You need to add -v to the command line.

May 28 2019, 5:14 PM · Emacs, Documentation, pinentry, Bug Report
maiden_taiwan added a comment to T4542: gpg-agent loses characters when prompting for a GPG passphrase over SSH in Emacs.

Thank you, werner. Could you please tell me an exact GPG command to do this signing, and tell me where the output line should appear? I tried this command on the command line:

May 28 2019, 5:10 PM · Emacs, Documentation, pinentry, Bug Report
werner closed T4462: GnuPG: Segfaults trying to encrypt / locate by mbox for specific keys as Resolved.
May 28 2019, 5:08 PM · Bug Report, gnupg
werner edited projects for T4542: gpg-agent loses characters when prompting for a GPG passphrase over SSH in Emacs, added: pinentry; removed gpgagent.

Which pinentry are you using in in what mode? Please do a sign operation and watch out for a line similar to:

May 28 2019, 4:30 PM · Emacs, Documentation, pinentry, Bug Report
aheinecke added a comment to T4525: GpgOL: Error when moving opened S/MIME Mails with attachments on Exchange.

My understanding of this issue and the fix for it is that Outlook with exchange detects that our mails are S/MIME mails. As the attachments are modified by us outlook wants to save the changes on move. This fails because it can't do the crypto. Leading to the error. This also happens when such a mail is closed.

May 28 2019, 3:16 PM · g10code, gpg4win, Bug Report, gpgol
maiden_taiwan added a comment to T4542: gpg-agent loses characters when prompting for a GPG passphrase over SSH in Emacs.

I also tried adding this to my gpg-agent.conf file:

May 28 2019, 2:05 PM · Emacs, Documentation, pinentry, Bug Report
maiden_taiwan added a comment to T4542: gpg-agent loses characters when prompting for a GPG passphrase over SSH in Emacs.

Oh, in case it wasn't clear, the idea that another application (GNU emacs) is receiving keystrokes meant for the gpg-agent prompt is probably a security risk....

May 28 2019, 2:01 PM · Emacs, Documentation, pinentry, Bug Report
maiden_taiwan created T4542: gpg-agent loses characters when prompting for a GPG passphrase over SSH in Emacs.
May 28 2019, 2:00 PM · Emacs, Documentation, pinentry, Bug Report
werner added a comment to T4536: dirmngr fails to find OCSP signer certificate when responder is identified with key ID.

Do you have any test cases? Note that T3966 is due to missing support for SHA-256.

May 28 2019, 12:36 PM · S/MIME, gnupg (gpg22), Bug Report
werner added a project to T4541: C implementation of AES is vulnerable to side-channel attacks: libgcrypt.

Can you please give more details and tell whether this is powerpc specific.

May 28 2019, 12:34 PM · side-channel, libgcrypt, Bug Report
aheinecke added a comment to T4526: GpgOL: Forwarding a mail with attachment as crypto mail removes attachment.

The code had the assumption that a content-id
could only exist on an attachment for HTML mails as it otherwise
does not make sense.

May 28 2019, 10:31 AM · Bug Report, gpgol, gpg4win

May 27 2019

slandden created T4541: C implementation of AES is vulnerable to side-channel attacks.
May 27 2019, 9:10 PM · side-channel, libgcrypt, Bug Report
werner triaged T4536: dirmngr fails to find OCSP signer certificate when responder is identified with key ID as Normal priority.
May 27 2019, 3:57 PM · S/MIME, gnupg (gpg22), Bug Report
werner closed T4535: gpgsm --sign prints misleading error message when using default key as Resolved.

Thanks to your very good analysis, this was easy to fix.

May 27 2019, 3:49 PM · gnupg (gpg22), S/MIME, Bug Report
werner triaged T4535: gpgsm --sign prints misleading error message when using default key as Low priority.
May 27 2019, 3:29 PM · gnupg (gpg22), S/MIME, Bug Report
matheusmoreira added a comment to T4457: Improve deletion of secret subkeys (don't delete primary key when subkey deletion is requested).

@werner Thank you for resolving this issue.

May 27 2019, 1:04 PM · patch, Bug Report, gnupg
werner closed T4457: Improve deletion of secret subkeys (don't delete primary key when subkey deletion is requested) as Resolved.

See the man page on how to delete subkeys or just the primary secret key with --delete-key.

May 27 2019, 12:57 PM · patch, Bug Report, gnupg
gniibe closed T3343: show-unusable-subkeys claims "expired: never" when primary key is expired as Resolved.
May 27 2019, 10:11 AM · gnupg, Bug Report
aheinecke added a comment to T4526: GpgOL: Forwarding a mail with attachment as crypto mail removes attachment.

I was able to reproduce this when I forwarded the mail after opening it in a new window. Somehow that appears to influence it.

May 27 2019, 10:00 AM · Bug Report, gpgol, gpg4win
gniibe closed T4397: GPG Error - version >= 1.25... no as Invalid.

I think that when using GNU autoconf's configure, you should have the ${prefix}/bin in your PATH.

May 27 2019, 4:44 AM · gpgrt, Bug Report

May 23 2019

misterzed88 created T4536: dirmngr fails to find OCSP signer certificate when responder is identified with key ID.
May 23 2019, 11:18 AM · S/MIME, gnupg (gpg22), Bug Report