Page MenuHome GnuPG
Feed All Stories

May 16 2019

gniibe changed the status of T4301: Handling multiple subkeys on two SmartCards from Open to Testing.
May 16 2019, 1:58 AM · Restricted Project, gnupg, scd, Bug Report

May 15 2019

catenacyber accepted rG1cd2aca03b88: build: Update m4/iconv.m4..

Great :-)
This was a change (fixing file descriptor leaks in iconv.m4) that I needed to do for building fuzzing
https://github.com/google/oss-fuzz/blob/master/projects/gnupg/fuzzgnupg.diff#L178

May 15 2019, 5:40 PM
Blubberbub added a comment to T4456: gpgme repeatedly segfaults claws-mail after update to 1.13.0.

I patched version 1.13.0 with that commit and installed the patched version on Monday. It appears to have fixed the problem.

May 15 2019, 4:19 PM · gpgme (gpgme 1.23.x), Bug Report
JW-D created T4517: de-mail and GPG with Smart Card no decryption.
May 15 2019, 4:18 PM · Bug Report, gpg4win
aheinecke added a comment to T4515: GpgOL 2.3.3 - Attachment Problem (Encryption).

Or a better tl;dr; When you send mails without "inline" option everything is fine and standardized. The problem is that the old version of GpgOL that your college uses is too stupid to handle this ;-)

May 15 2019, 2:40 PM · Feature Request, gpg4win, gpgol
aheinecke added a comment to T4515: GpgOL 2.3.3 - Attachment Problem (Encryption).

Yes your colleague should or basically needs to upgrade. 2.2.3 is very outdated. There are security issues that were fixed by then etc.

May 15 2019, 2:38 PM · Feature Request, gpg4win, gpgol
AlexD added a comment to T4515: GpgOL 2.3.3 - Attachment Problem (Encryption).

Hi,

What client does your colleague use so that you have to use PGP/Inline?

That format where the attachment is it's own PGP Encrypted file is very problematic. You basically have mutliple signature and encryption states. An attacker can easily remove or add attachments to the message. The attachment name is leaked. etc. Also see: https://wiki.gnupg.org/PgpPartitioned

Our opinion is that if you really _have_ to use PGP/Inline that you must do so manually using Kleopatra's notepad and Encrypted files.

I am a bit unsure if I just close this as "Wontfix" or move it to Wishlist. I think for now I go with Wishlist but do not expect that feature soon. At least until maybe some really important use case comes up.

Anyway, thanks for your feedback. It is always valuable to know what users would like to have.

Best Regards,
Andre

May 15 2019, 10:26 AM · Feature Request, gpg4win, gpgol
gniibe added a comment to T4301: Handling multiple subkeys on two SmartCards.

It's complicated to have a good solution, because we need to change assumption (serial number identifies keys).

May 15 2019, 10:20 AM · Restricted Project, gnupg, scd, Bug Report
gniibe committed rG1091f22511e1: agent: Support scdaemon operation using KEYGRIP. (authored by gniibe).
agent: Support scdaemon operation using KEYGRIP.
May 15 2019, 10:15 AM
gniibe committed rG01730529f208: scd: Don't put newline at the end of status. (authored by gniibe).
scd: Don't put newline at the end of status.
May 15 2019, 10:15 AM
werner closed T3972: 100% CPU usage endles loop of gpg --list-keys as Resolved.
May 15 2019, 9:41 AM · gnupg (gpg22)
werner edited projects for T4436: gpgsm refuses to encrypt with failure to check CRL, added: gnupg; removed gnupg (gpg22), Bug Report.

Will give you more detailed info about your certificate. For even more details use --dump-chain instead of --list-chain.

May 15 2019, 9:39 AM · gnupg, S/MIME
werner added a parent task for T4334: gpg "showphoto" not creating temp file on Windows 10: T4509: Release GnuPG 2.2.16.
May 15 2019, 9:25 AM · gpg4win, Windows, gnupg (gpg22), Bug Report
werner added a subtask for T4509: Release GnuPG 2.2.16: T4334: gpg "showphoto" not creating temp file on Windows 10.
May 15 2019, 9:25 AM · Release Info, gnupg (gpg22)
werner added a parent task for T4497: gpgconf should report clearer errors when it knows that a given daemon's config file is bad: T4509: Release GnuPG 2.2.16.
May 15 2019, 9:24 AM · gnupg (gpg22)
werner added a subtask for T4509: Release GnuPG 2.2.16: T4497: gpgconf should report clearer errors when it knows that a given daemon's config file is bad.
May 15 2019, 9:24 AM · Release Info, gnupg (gpg22)
werner merged T4248: gpg-agent: Rare unresponsiveness after importing a secret S/MIME cert on Windows into T4505: SM, W32: GPGSM hangs up the GnuPG System.
May 15 2019, 9:22 AM · Restricted Project, gpgol, S/MIME, gpg4win, Windows
werner merged task T4248: gpg-agent: Rare unresponsiveness after importing a secret S/MIME cert on Windows into T4505: SM, W32: GPGSM hangs up the GnuPG System.
May 15 2019, 9:22 AM · S/MIME, gnupg (gpg22), gpgagent, gpg4win
werner closed T4466: Clean up --keyserver documentation in gpg(1) as Resolved.

Thanks

May 15 2019, 9:20 AM · Keyserver, gnupg (gpg22), dirmngr, Documentation
werner committed rG0d669a360c6e: doc: Do not mention gpg's deprecated --keyserver option. (authored by werner).
doc: Do not mention gpg's deprecated --keyserver option.
May 15 2019, 9:20 AM
werner committed rG42adb56e660a: doc: Do not mention gpg's deprecated --keyserver option. (authored by werner).
doc: Do not mention gpg's deprecated --keyserver option.
May 15 2019, 9:19 AM
werner claimed T4466: Clean up --keyserver documentation in gpg(1).
May 15 2019, 9:06 AM · Keyserver, gnupg (gpg22), dirmngr, Documentation
werner closed T4490: --export-secret-keys fails with unusually-created secret key as Resolved.

Applied to master and 2.2. Thanks.

May 15 2019, 9:04 AM · ssh, gnupg (gpg22)
werner committed rG9c704d9d4633: gpg: enable OpenPGP export of cleartext keys with comments (authored by dkg).
gpg: enable OpenPGP export of cleartext keys with comments
May 15 2019, 9:03 AM
werner committed rG392e59a3d487: gpg: enable OpenPGP export of cleartext keys with comments (authored by dkg).
gpg: enable OpenPGP export of cleartext keys with comments
May 15 2019, 9:03 AM
werner closed T4508: gnupg1: digest-preference not honoured, a subtask of T4509: Release GnuPG 2.2.16, as Resolved.
May 15 2019, 8:55 AM · Release Info, gnupg (gpg22)
werner closed T4508: gnupg1: digest-preference not honoured as Resolved.
May 15 2019, 8:55 AM · gnupg (gpg22), Bug Report
werner closed T4496: gpgconf --launch ignores --homedir arguments as Resolved.

Right, that was missing. Fixed for master and 2.2. Noet that for kill and reload we added this already in 2016.

May 15 2019, 8:54 AM · Bug Report, gnupg (gpg22)
werner committed rG31e26037bd72: gpgconf: Support --homedir for --launch. (authored by werner).
gpgconf: Support --homedir for --launch.
May 15 2019, 8:53 AM
werner committed rGa4be077abdbf: gpgconf: Support --homedir for --launch. (authored by werner).
gpgconf: Support --homedir for --launch.
May 15 2019, 8:53 AM
werner committed rG6e041b7b356c: sm: Add a couple of debug calls to the keydb module. (authored by werner).
sm: Add a couple of debug calls to the keydb module.
May 15 2019, 8:53 AM
gniibe committed rG62c29af63203: scd: Fix return value for KEYINFO command. (authored by gniibe).
scd: Fix return value for KEYINFO command.
May 15 2019, 8:46 AM
aheinecke lowered the priority of T4515: GpgOL 2.3.3 - Attachment Problem (Encryption) from High to Wishlist.

What client does your colleague use so that you have to use PGP/Inline?

May 15 2019, 8:33 AM · Feature Request, gpg4win, gpgol
werner triaged T4497: gpgconf should report clearer errors when it knows that a given daemon's config file is bad as Normal priority.
May 15 2019, 8:32 AM · gnupg (gpg22)
werner raised a concern with rC0df498e81fd3: use https instead of cleartext http where possible.

No, that is excessive. If the license blurb will ever be change this can be done but not just because of changing a single letter.

May 15 2019, 8:09 AM
werner added a comment to rC0df498e81fd3: use https instead of cleartext http where possible.

Sorry, I will revert this.

May 15 2019, 8:04 AM
werner added a comment to T4506: OpenPGP Key Certification Forgeries.

Attacks always get better and thus mitigation based on uncommon jpeg UATs would help only for a short time.
Maybe having a SHA-1 warning in 2.2 is also needed.

May 15 2019, 8:02 AM · gnupg (gpg22)
gniibe committed rPTH575573b5b63e: Limit exposing rwlock API on GNU/Linux. (authored by gniibe).
Limit exposing rwlock API on GNU/Linux.
May 15 2019, 7:20 AM
gniibe added a comment to T4506: OpenPGP Key Certification Forgeries.

Sorry, I have read the short paper wrongly. I misunderstood as if a forged key could be made using existing key.

May 15 2019, 4:45 AM · gnupg (gpg22)
gniibe changed the status of T4491: Compile error in nPth's t-fork.c on Solaris 11.3 i86pc from Open to Testing.

While I think that building with GCC 4 on Solaris 11/12 is minor issue, requirement of newer POSIX API (on GNU/Linux) would be a bit serious issue.
I pushed my change to fix this.

May 15 2019, 3:12 AM · npth, Bug Report

May 14 2019

dkg committed rC0df498e81fd3: use https instead of cleartext http where possible (authored by dkg).
use https instead of cleartext http where possible
May 14 2019, 10:43 PM
dkg added a comment to T4516: use https: links internally where possible instead of http:// in libgcrypt source.

(hm, i'm pushing apparently successfully to playfair.gnupg.org:/git/libgcrypt.git but it is not showing up here. if you want to fetch this patch, you can also find it on the http-to-https branch at https://gitlab.com/dkg/libgcrypt.git

May 14 2019, 10:35 PM · libgcrypt
dkg created T4516: use https: links internally where possible instead of http:// in libgcrypt source.
May 14 2019, 10:30 PM · libgcrypt
werner added a comment to T4499: Asan finding in libgcrypt.

I would prefer not to fix that. I did some experiments on replacing all the runtime parsed ECC constants by static data. Adding the other constants will then be simple.

May 14 2019, 8:19 PM · libgcrypt
werner committed rG49b236af0ecb: kbx: Fix deadlock in gpgsm on Windows due to a sharing violation. (authored by werner).
kbx: Fix deadlock in gpgsm on Windows due to a sharing violation.
May 14 2019, 7:07 PM
jukivili added a comment to T4499: Asan finding in libgcrypt.

I've prepared patch for statically defining mpiutil contants, but I can leave it out and not push to master.

May 14 2019, 6:38 PM · libgcrypt
werner committed rG22e274f839f9: sm: Change keydb code to use the keybox locking. (authored by werner).
sm: Change keydb code to use the keybox locking.
May 14 2019, 4:52 PM
werner raised the priority of T4490: --export-secret-keys fails with unusually-created secret key from Normal to High.
May 14 2019, 4:39 PM · ssh, gnupg (gpg22)
dkg added a comment to T4511: dirmngr error logs claim that HTTP GET requests are percent-escaped, but they are not.

I think you are saying that dirmngr receives the query term as escaped data in the assuan connection from the dirmngr client (typically, gpg, which itself decides how to percent-escape what it feeds into libassuan).

May 14 2019, 4:10 PM · Bug Report, dirmngr
sdaoden added a comment to T4508: gnupg1: digest-preference not honoured.

Oh, ah. Ok. I do not read c't no more since about 2005. They are busy people and lead into the right direction.

May 14 2019, 3:29 PM · gnupg (gpg22), Bug Report
Laurent Montel <montel@kde.org> committed rKLEOPATRAc27a1e35c8ee: GIT_SILENT: time to update version (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: time to update version
May 14 2019, 1:37 PM
Laurent Montel <montel@kde.org> committed rLIBKLEO1789b39009ab: GIT_SILENT: time to update version (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: time to update version
May 14 2019, 1:20 PM
AlexD added a project to T4515: GpgOL 2.3.3 - Attachment Problem (Encryption): gnupg (gpg23).
May 14 2019, 12:42 PM · Feature Request, gpg4win, gpgol
AlexD changed the visibility for T4515: GpgOL 2.3.3 - Attachment Problem (Encryption).
May 14 2019, 12:26 PM · Feature Request, gpg4win, gpgol
AlexD updated the task description for T4515: GpgOL 2.3.3 - Attachment Problem (Encryption).
May 14 2019, 12:23 PM · Feature Request, gpg4win, gpgol
AlexD renamed T4515: GpgOL 2.3.3 - Attachment Problem (Encryption) from GpgOL 2.3.3 - Attachmet Problem (Encryption) to GpgOL 2.3.3 - Attachment Problem (Encryption).
May 14 2019, 12:22 PM · Feature Request, gpg4win, gpgol
AlexD changed the visibility for T4515: GpgOL 2.3.3 - Attachment Problem (Encryption).
May 14 2019, 12:21 PM · Feature Request, gpg4win, gpgol
werner renamed T4500: Option --use-embedded-filename does not work as expect from GnuPG Producing a Warning in Error(?) to Option --use-embedded-filename does not work as expect.
May 14 2019, 11:57 AM · gnupg (gpg22), Bug Report
werner triaged T4500: Option --use-embedded-filename does not work as expect as Normal priority.

There is actually a problem with --use-embedded-filename. Given that the option his highly dangerous to use we have not tested this for ages. We will see what you we can about it.

May 14 2019, 11:57 AM · gnupg (gpg22), Bug Report
aheinecke added a comment to T4505: SM, W32: GPGSM hangs up the GnuPG System.

The last lines that the process currently holding wrote in the log:

May 14 2019, 11:30 AM · Restricted Project, gpgol, S/MIME, gpg4win, Windows
aheinecke added a comment to T4505: SM, W32: GPGSM hangs up the GnuPG System.

To reproduce this issue I started Kleopatra with an empty GNUPGHOME and imported 10 S/MIME certs at once (which spawns a gpgsm process each) with enabled logging.

May 14 2019, 11:20 AM · Restricted Project, gpgol, S/MIME, gpg4win, Windows
werner triaged T4503: include extension for OpenPGP creation timestamp in X.509 output as Normal priority.

Thanks for the hint on the existing OID I already looked into that and planned to use one from the GnuPG arc, But an existing OID is better. I still need to figure useful workflows but something like this will be useful for smartcards..

May 14 2019, 10:42 AM · Feature Request, S/MIME
werner closed T4501: gpg --generate-key --batch from existing key (with Key-Grip:) fails on 64-bit big-endian architectures as Resolved.
May 14 2019, 10:35 AM · gnupg (gpg22), Bug Report
werner committed rG110932925ba8: agent: correct length for uri and comment on 64-bit big-endian platforms (authored by dkg).
agent: correct length for uri and comment on 64-bit big-endian platforms
May 14 2019, 10:34 AM
werner committed rG5651b2c460a7: agent: correct length for uri and comment on 64-bit big-endian platforms (authored by dkg).
agent: correct length for uri and comment on 64-bit big-endian platforms
May 14 2019, 10:34 AM
werner committed rG54e96c6fd262: agent: Replace most assert by log_assert. (authored by werner).
agent: Replace most assert by log_assert.
May 14 2019, 10:34 AM
werner added a comment to T4501: gpg --generate-key --batch from existing key (with Key-Grip:) fails on 64-bit big-endian architectures.

Good catch. Thanks for that work. I'll apply it to master and 2.2.

May 14 2019, 10:33 AM · gnupg (gpg22), Bug Report
werner triaged T4513: dirmngr should try the configured keyservers anyway even if they are all dead as Normal priority.
May 14 2019, 10:09 AM · Feature Request, Keyserver, dirmngr
werner closed T4507: show-only-fpr-mbox shows user-ids that are not valid as Resolved.
May 14 2019, 10:08 AM · Bug Report
werner committed rG49a679eb3596: doc: Minor edit for a gpg option. (authored by werner).
doc: Minor edit for a gpg option.
May 14 2019, 10:07 AM
werner committed rG3c2198e907c6: doc: Minor edit for a gpg option. (authored by werner).
doc: Minor edit for a gpg option.
May 14 2019, 10:07 AM
werner added a comment to T4507: show-only-fpr-mbox shows user-ids that are not valid.

Yes, that term is overloaded. The reason in this case is that we once replaced "trusted key" by "valid key". That term "valid" now conflicts with another older use of valid. Using "self-signed" here seems to be more confusing that just removing the (first) "valid".

May 14 2019, 10:04 AM · Bug Report
werner added a comment to T4511: dirmngr error logs claim that HTTP GET requests are percent-escaped, but they are not.

This is easy to explain: dirmngr receives already escaped data and that is what you see in the log. For proper parsing of the URI the escaping needs to be removed and only before sending the request the required escaping is applied. '@', '<', and '>' do not need to be escaped and thus you see them as they are.

May 14 2019, 9:59 AM · Bug Report, dirmngr
werner claimed T4511: dirmngr error logs claim that HTTP GET requests are percent-escaped, but they are not.
May 14 2019, 8:52 AM · Bug Report, dirmngr
werner triaged T4514: Batch mode/unattended key generation: support multiple subkeys as Normal priority.

I anyway plan to extend the --quick-gen-key parameters to allow the specification of several subkeys on the command line.

May 14 2019, 8:44 AM · gnupg24, gnupg (gpg23), Feature Request
werner closed T4512: gpg's --keyserver option should be more robustly deprecated as Resolved.

I removed this specialized error message. Thanks for reporting.

May 14 2019, 8:38 AM · gnupg24, gnupg (gpg23), Documentation, Keyserver, Bug Report
werner committed rG8d645f1d1f2b: gpg: Do not print a hint to use the deprecated --keyserver option. (authored by werner).
gpg: Do not print a hint to use the deprecated --keyserver option.
May 14 2019, 8:38 AM
gniibe added a comment to T4491: Compile error in nPth's t-fork.c on Solaris 11.3 i86pc.

While original npth-1.6 can be compiled with newer gcc (>= 5), we'd say please use CFLAGS+=-std=gnu99 with older gcc, as workaround.

May 14 2019, 8:08 AM · npth, Bug Report
gniibe added a comment to T4491: Compile error in nPth's t-fork.c on Solaris 11.3 i86pc.

I figured out:

  • Removing -D_POSIX_C_SOURCE=200112L works both of gcc 4.9 and gcc 5.5 on Solaris 11.3 (even with -std=c99).
  • Then, adding -D_XOPEN_SOURCE=500, gcc 4.9 works, but gcc 5.5 failed by another error (Compiler or options invalid for pre-UNIX 03 X/Open applications and pre-2001 POSIX applications)
    • I confirmed gcc 5.5 defaults to -std=gnu99
May 14 2019, 8:05 AM · npth, Bug Report
werner committed rG7102d9b798b0: gpg: Do not print a hint to use the deprecated --keyserver option. (authored by werner).
gpg: Do not print a hint to use the deprecated --keyserver option.
May 14 2019, 7:56 AM
dkg added a comment to T4514: Batch mode/unattended key generation: support multiple subkeys.

I think you'll be better off doing this with the simpler --quick-generate-key and --quick-add-key interfaces, rather than hacking on the domain-specific language used by --batch --generate-key.

May 14 2019, 7:55 AM · gnupg24, gnupg (gpg23), Feature Request
dkg updated the task description for T4512: gpg's --keyserver option should be more robustly deprecated.
May 14 2019, 7:42 AM · gnupg24, gnupg (gpg23), Documentation, Keyserver, Bug Report
dkg edited projects for T4466: Clean up --keyserver documentation in gpg(1), added: dirmngr, gnupg (gpg22), Keyserver; removed gnupg.
May 14 2019, 7:40 AM · Keyserver, gnupg (gpg22), dirmngr, Documentation
gniibe added a comment to T4491: Compile error in nPth's t-fork.c on Solaris 11.3 i86pc.

Thanks for your offer. I have an account for GCC Compiler Farm. I'm trying with gcc211 machine. will back soon.

May 14 2019, 7:39 AM · npth, Bug Report
JW added a comment to T4491: Compile error in nPth's t-fork.c on Solaris 11.3 i86pc.

In case of gcc 4.8 on Solaris, could you please try this patch (instead of configure patch) to see if it works?

May 14 2019, 7:35 AM · npth, Bug Report
gniibe added a comment to T4491: Compile error in nPth's t-fork.c on Solaris 11.3 i86pc.

It looks like somewhat complicated more. It seems that specifying _POSIX_C_SOURCE=200112L is not good on Solaris with old GCC. Perhaps, it would have no problem with newer gcc (or -std=gnu99 option).

May 14 2019, 7:30 AM · npth, Bug Report
dkg added a comment to T4490: --export-secret-keys fails with unusually-created secret key.

I think this patch should be backported to STABLE-BRANCH-2-2

May 14 2019, 6:35 AM · ssh, gnupg (gpg22)
dkg added a comment to T4501: gpg --generate-key --batch from existing key (with Key-Grip:) fails on 64-bit big-endian architectures.

I think this patch should be backported to STABLE-BRANCH-2-2

May 14 2019, 6:35 AM · gnupg (gpg22), Bug Report
dkg added a comment to T4501: gpg --generate-key --batch from existing key (with Key-Grip:) fails on 64-bit big-endian architectures.

I can confirm that this fix repairs the problem on debian's s390x.

May 14 2019, 6:15 AM · gnupg (gpg22), Bug Report
dkg added a comment to T4501: gpg --generate-key --batch from existing key (with Key-Grip:) fails on 64-bit big-endian architectures.

I've just pushed e4a158faacd67e15e87183fb48e8bd0cc70f90a8 to branch dkg/fix-T4501 as a proposed fix for this specific problem (it doesn't introduce anything in the test suite, or try to deal with any of the other %b problems).

May 14 2019, 6:15 AM · gnupg (gpg22), Bug Report
dkg committed rGe4a158faacd6: agent: correct length for uri and comment on 64-bit big-endian platforms (authored by dkg).
agent: correct length for uri and comment on 64-bit big-endian platforms
May 14 2019, 6:14 AM
dkg added a comment to T4501: gpg --generate-key --batch from existing key (with Key-Grip:) fails on 64-bit big-endian architectures.

OK, i think the reason this is happening is that agent_public_key_from_file (in agent/findkey.c) is screwing up a %b format string in gcry_sexp_build_array.

May 14 2019, 5:57 AM · gnupg (gpg22), Bug Report
ageis updated the task description for T4514: Batch mode/unattended key generation: support multiple subkeys.
May 14 2019, 5:32 AM · gnupg24, gnupg (gpg23), Feature Request
ageis updated the task description for T4514: Batch mode/unattended key generation: support multiple subkeys.
May 14 2019, 5:19 AM · gnupg24, gnupg (gpg23), Feature Request
ageis created T4514: Batch mode/unattended key generation: support multiple subkeys.
May 14 2019, 5:18 AM · gnupg24, gnupg (gpg23), Feature Request
gniibe claimed T4491: Compile error in nPth's t-fork.c on Solaris 11.3 i86pc.

IIUC, -std=c99 won't solve this issue. It is Solaris specific C99 issue.

May 14 2019, 5:13 AM · npth, Bug Report
dkg added a comment to T4501: gpg --generate-key --batch from existing key (with Key-Grip:) fails on 64-bit big-endian architectures.

Ok, the difference appears to be that on these 64-bit big-endian platforms, they're returning a zero-byte string for the associated comment. When this happens, gcry_sexp_canon_len returns 0 because of GPG_ERR_SEXP_ZERO_PREFIX. The same thing happens on x86_64 platforms when confronted with such an s-expression.

May 14 2019, 5:07 AM · gnupg (gpg22), Bug Report
JW added a comment to T4494: UBsan finding "armor.c:1159:11: runtime error: member access within null pointer...".

rG5b22d2c4008 tested good under Asan.

May 14 2019, 4:53 AM · gnupg
gniibe committed rEbdb9561a366f: tests: Fix a memory leak. (authored by gniibe).
tests: Fix a memory leak.
May 14 2019, 4:46 AM
gniibe claimed T4498: Asan findings in tests/t-logging.c.

Thanks for your report.
Let me handle issue by issue.

May 14 2019, 4:42 AM · gpgrt