Page MenuHome GnuPG
Feed All Stories

Jun 21 2019

werner committed rG0400a4eb1782: scd: Take the lock earlier in the function dispatchers. (authored by werner).
scd: Take the lock earlier in the function dispatchers.
Jun 21 2019, 2:54 PM
werner committed rGb304c006a3c9: scd: Take the card look while running app->with_keygrip. (authored by werner).
scd: Take the card look while running app->with_keygrip.
Jun 21 2019, 2:54 PM
Anthony created T4579: RSA CRT decryption occasional failure.
Jun 21 2019, 11:50 AM · OpenPGP, Not A Bug
werner committed rG1b78e4951ed7: scd: Add code to check whether app switching is possible. (authored by werner).
scd: Add code to check whether app switching is possible.
Jun 21 2019, 11:45 AM
werner committed rG43dcf93407d6: scd: Simplify inclusion of app-common.h. (authored by werner).
scd: Simplify inclusion of app-common.h.
Jun 21 2019, 11:45 AM
werner committed rG91e2931caac9: scd: Track the currently selected app. (authored by werner).
scd: Track the currently selected app.
Jun 21 2019, 11:45 AM
werner committed rG9551275857c1: scd: Use enums for cardtype and apptype. (authored by werner).
scd: Use enums for cardtype and apptype.
Jun 21 2019, 11:45 AM
werner committed rG4256e9f0f1bf: gpg: Very minor code cleanup. (authored by werner).
gpg: Very minor code cleanup.
Jun 21 2019, 11:45 AM
Valodim added a comment to T4493: Default to HKPS, not HKP.

A possible exception here is that .onion TLDs should stick with HKP by default

Jun 21 2019, 11:16 AM · dirmngr, Feature Request
jukivili added inline comments to rCa658c9ccc2c7: ecc: Improve new ECDH API..
Jun 21 2019, 10:09 AM
werner triaged T4578: python3 gpg module should offer an "encrypt" function that takes an email.message.EmailMessage and returns a new one as Normal priority.
Jun 21 2019, 10:04 AM · gpgme, Python, Feature Request
gniibe committed rG062417f4b80f: tools: Fix gpg-pair-tool to follow new API. (authored by gniibe).
tools: Fix gpg-pair-tool to follow new API.
Jun 21 2019, 5:08 AM
gniibe committed rC6934711d572e: tests: Fix the Curve25519 test. (authored by gniibe).
tests: Fix the Curve25519 test.
Jun 21 2019, 4:56 AM
gniibe committed rCa658c9ccc2c7: ecc: Improve new ECDH API. (authored by gniibe).
ecc: Improve new ECDH API.
Jun 21 2019, 4:53 AM
gniibe added a comment to T4293: Add dedicated X25519 function to Libcgrypt .

Thanks, that's a good point. I'm adding gcry_ecc_get_algo_keylen.
I also changing the API for output (not allocating a buffer, but filling the buffer provided).

Jun 21 2019, 4:53 AM · Restricted Project, libgcrypt
gniibe added a comment to T4577: extended-key-format test of openpgp/decrypt-unwrap-verify.scm fails on sparc64 and x32.

Correct solution is to implement KILLAGENT synchronously, but it's somehow harder to implement.
Easier workaround is modifying gpgconf like:

Jun 21 2019, 3:47 AM · gpgagent, gnupg, Bug Report
gniibe edited projects for T4577: extended-key-format test of openpgp/decrypt-unwrap-verify.scm fails on sparc64 and x32, added: gnupg, gpgagent; removed gnupg (gpg22).

I found a race condition between KILLAGENT command and accepting another request.
Here is a patch to replicate the race condition :

Jun 21 2019, 2:33 AM · gpgagent, gnupg, Bug Report
gniibe claimed T4577: extended-key-format test of openpgp/decrypt-unwrap-verify.scm fails on sparc64 and x32.

I took this task as it has errors of gpg-connect-agent scd killscd. But, it seems for me that it's not the direct cause.
Anyway, I investigate the bug.

Jun 21 2019, 1:45 AM · gpgagent, gnupg, Bug Report

Jun 20 2019

jukivili added a comment to T4293: Add dedicated X25519 function to Libcgrypt .

Would it be good to have interface for getting buffer size for different algos in this new interface? ... Similar as 'gcry_md_get_algo_dlen' for digest results.

Jun 20 2019, 11:37 AM · Restricted Project, libgcrypt
gniibe committed rG0ccb5ddef18f: po: Update Japanese Translation. (authored by gniibe).
po: Update Japanese Translation.
Jun 20 2019, 8:11 AM
gniibe committed rGe09ecd260d63: tools: Don't prepare G in gpg-pair-tool. (authored by gniibe).
tools: Don't prepare G in gpg-pair-tool.
Jun 20 2019, 6:45 AM
gniibe committed rC6d77c2054ea0: ecc: X25519 API change to allow NULL for POINT. (authored by gniibe).
ecc: X25519 API change to allow NULL for POINT.
Jun 20 2019, 6:09 AM
gniibe committed rGe34bae5286d7: tools: Use new API of libgcrypt for gpg-pair-tool. (authored by gniibe).
tools: Use new API of libgcrypt for gpg-pair-tool.
Jun 20 2019, 5:03 AM
gniibe added a comment to T4293: Add dedicated X25519 function to Libcgrypt .

Perhaps, returning allocated memory is not good. Filling the buffer for output would be better.

Jun 20 2019, 5:02 AM · Restricted Project, libgcrypt
gniibe added a comment to T4293: Add dedicated X25519 function to Libcgrypt .

Shall we use secure buffer?

Jun 20 2019, 4:38 AM · Restricted Project, libgcrypt
gniibe committed rGd5287f43fd4d: tools: Fix error handling for gpg-pair-tool. (authored by gniibe).
tools: Fix error handling for gpg-pair-tool.
Jun 20 2019, 4:30 AM
gniibe committed rCec8c2cdf977a: ecc: Add an API for X25519 function as gcry_ecc_mul_point. (authored by gniibe).
ecc: Add an API for X25519 function as gcry_ecc_mul_point.
Jun 20 2019, 4:02 AM
huowen added a comment to T4395: Kleopatra: Missing error handling when changing expiry.

Hello,
when can we fix it?

Jun 20 2019, 2:12 AM · gpa, gnupg, gpgme, gpg4win, kleopatra

Jun 19 2019

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

without feedback, i have no idea what you want to do here as upstream. I believe this issue has identified a specific failing use case, and it has a patch that fixes the problem. if there's a problem, please let me know what it is. If there's no problem, please consider merging.

Jun 19 2019, 11:21 PM · gpgme, Bug Report
Laurent Montel <montel@kde.org> committed rKLEOPATRA17d9412806a4: Remove unused includes (authored by Laurent Montel <montel@kde.org>).
Remove unused includes
Jun 19 2019, 9:33 PM
dkg added a comment to T4578: python3 gpg module should offer an "encrypt" function that takes an email.message.EmailMessage and returns a new one.

I note that "the best" seems like it might be a pretty subjective thing. The standard GnuPG framing asks about the validity of keys for the User ID in question. Perhaps the caller could indicate whether they want to require full validity for each key to make this key selection more strict.

Jun 19 2019, 7:22 PM · gpgme, Python, Feature Request
dkg added a comment to T4578: python3 gpg module should offer an "encrypt" function that takes an email.message.EmailMessage and returns a new one.

The function would do something like:

  • from msg, extract all e-mail addresses from to, cc, bcc fields
  • find "the best" keys that match these addresses, storing them in keylist
  • copy msg to tmp, remove bcc header from tmp
  • wrap armored output of gpg.Context.encrypt(bytes(tmp), recipients=keylist) in the necessary RFC 3156 cladding, copying most headers from msg (maybe stubbing out the subject), producing an email.message.EmailMessage object.
Jun 19 2019, 7:19 PM · gpgme, Python, Feature Request
dkg added a comment to T4566: dirmngr fails with HTTP 302 redirection to hkps.

Any word on this? i've pushed a fix for this into debian experimental as a part of 2.2.16-2, but i am concerned that there's no adoption from upstream. If there's a reason that this is the wrong fix, please do let me know!

Jun 19 2019, 7:06 PM · gnupg (gpg22), dirmngr, Bug Report
dkg created T4578: python3 gpg module should offer an "encrypt" function that takes an email.message.EmailMessage and returns a new one.
Jun 19 2019, 6:59 PM · gpgme, Python, Feature Request
werner added a comment to D493: AES block modes for PPC.

I can't see any specific claim to the GPL. License 1 grants a royality free license for all open source implementations defined by the OSI. This includes the LGPL.
If you use Libgcrypt in non-open-source software you may get a free license using License 2.

Jun 19 2019, 6:07 PM
slandden updated the summary of D493: AES block modes for PPC.
Jun 19 2019, 5:38 PM
slandden updated the diff for D493: AES block modes for PPC.

fix building with hard ware acceleration off.

Jun 19 2019, 5:32 PM
slandden updated the diff for D492: Add PowerPC crypto acceleration support for SHA2..

rebase

Jun 19 2019, 5:32 PM
slandden updated the diff for D491: Support for PowerPC's AES acceleration..

fix running with hardware acceleration off.

Jun 19 2019, 5:32 PM
werner triaged T4577: extended-key-format test of openpgp/decrypt-unwrap-verify.scm fails on sparc64 and x32 as Normal priority.
Jun 19 2019, 5:01 PM · gpgagent, gnupg, Bug Report
dkg created T4577: extended-key-format test of openpgp/decrypt-unwrap-verify.scm fails on sparc64 and x32.
Jun 19 2019, 3:54 PM · gpgagent, gnupg, Bug Report
mrdave19 renamed T4573: Files encrypted on another platform using password based encryption (-c) intermittently fail to decrypt on Kleopatra from Files encrypted on another platform using password base encryption (-c) intermittently fail to decrypt on Kleopatra to Files encrypted on another platform using password based encryption (-c) intermittently fail to decrypt on Kleopatra.
Jun 19 2019, 3:40 PM · gnupg (gpg22), Bug Report
Laurent Montel <montel@kde.org> committed rLIBKLEOb9d2087da001: Remove unused includes (authored by Laurent Montel <montel@kde.org>).
Remove unused includes
Jun 19 2019, 2:11 PM
mkrambach committed rMf5e27a12d3fd: js: Error handling for browser errors (authored by mkrambach).
js: Error handling for browser errors
Jun 19 2019, 1:09 PM
CarlosRamos closed T4575: GpgOL: Doesn't open encrypted messages as Invalid.

I'm so sorry. It was a problem with mail server, not a GpgOL bug.

Jun 19 2019, 11:58 AM · gpgol
werner committed rG5a5288d051a5: scd: Split data structures into app and card related objects. (authored by werner).
scd: Split data structures into app and card related objects.
Jun 19 2019, 8:52 AM
gniibe changed the status of T4574: Change #!/bin/sh to #!/bin/bash in libgpg-error-1.36/src/gpg-error-config-test.sh from Open to Testing.

Fixed in master, by using /usr/xpg4/bin/sh on Solaris.
Perhaps, some old Unix system like Tru64 would need same care.

Jun 19 2019, 2:18 AM · Bug Report

Jun 18 2019

JJworx added a comment to T4576: Outlook window de-(half-)maximizes and misplaced after writing answer.

I noticed it happens after entering the passphrase, and only using the
inline editor to answer.

Jun 18 2019, 5:13 PM · Bug Report, gpg4win
werner added a project to T4575: GpgOL: Doesn't open encrypted messages: gpgol.
Jun 18 2019, 3:52 PM · gpgol
JJworx created T4576: Outlook window de-(half-)maximizes and misplaced after writing answer.
Jun 18 2019, 2:55 PM · Bug Report, gpg4win
dkg added a comment to T4393: GnuPG should always accept key updates even if the update does not contain UIDs.

we now have a DCO from @Valodim

Jun 18 2019, 2:05 PM · gnupg (gpg23), Feature Request
CarlosRamos created T4575: GpgOL: Doesn't open encrypted messages in the S1 Public space.
Jun 18 2019, 12:17 PM · gpgol
gniibe committed rE6c2fc52d72b4: tests: Skip the test when pkg-config is too old. (authored by gniibe).
tests: Skip the test when pkg-config is too old.
Jun 18 2019, 9:51 AM
gniibe committed rE10ae655db223: Portability fix for PID. (authored by gniibe).
Portability fix for PID.
Jun 18 2019, 9:51 AM
gniibe committed rE7a7caf4ba1c4: build: Take care of POSIX shell path. (authored by gniibe).
build: Take care of POSIX shell path.
Jun 18 2019, 9:51 AM
gniibe committed rE849ac6abe3ce: build: Add failure exit for gpg-error-config build. (authored by gniibe).
build: Add failure exit for gpg-error-config build.
Jun 18 2019, 9:51 AM
gniibe committed rGc3dd53a65dc9: scd: KEYINFO: Send LF for --data. (authored by gniibe).
scd: KEYINFO: Send LF for --data.
Jun 18 2019, 3:16 AM
dkg added a comment to T4512: gpg's --keyserver option should be more robustly deprecated.

If we only need it for backward compatibility, then the configuration in gpg.conf should *not* be overriding the preferred, forward-looking form of the configuration (in dirmngr.conf). If it is low priority to fix this, then there will be a generation of GnuPG users and toolchains which deliberately configure the value in gpg.conf instead of dirmngr.conf because they'll know that's the more robust way to do it.

Jun 18 2019, 2:56 AM · gnupg24, gnupg (gpg23), Documentation, Keyserver, Bug Report

Jun 17 2019

werner committed rGe900bf29737b: scd:piv: Add the do_with_keygrip feature. (authored by werner).
scd:piv: Add the do_with_keygrip feature.
Jun 17 2019, 6:04 PM
werner committed rGc594dcfc9348: scd: Add explict functions for 'app' reference counting. (authored by werner).
scd: Add explict functions for 'app' reference counting.
Jun 17 2019, 5:04 PM
werner committed rG70f7b262877b: scd: Slight change to app->fnc.do_with_keygrip. (authored by werner).
scd: Slight change to app->fnc.do_with_keygrip.
Jun 17 2019, 2:36 PM
werner committed rG479c2775d5df: scd: Use the correct gpg for the v1.0 OpenPGP card hack. (authored by werner).
scd: Use the correct gpg for the v1.0 OpenPGP card hack.
Jun 17 2019, 1:56 PM
werner committed rG6260f413182c: note: previous commit 6e46862 fixes another minor doc issue fix. (authored by werner).
note: previous commit 6e46862 fixes another minor doc issue fix.
Jun 17 2019, 9:28 AM
werner added a comment to T4574: Change #!/bin/sh to #!/bin/bash in libgpg-error-1.36/src/gpg-error-config-test.sh.

@johng: I understand your problems and recall that Linux systems had a hard to time to replace all bashism with standard Posix. The problems with /bin/sh on Solaris seems to be even more persistent.

Jun 17 2019, 9:05 AM · Bug Report
werner added a comment to T2919: fix gpgme/gpgsm pipe server session with use_descriptor_passing (was: mutt + gpgme problems with some Outlook S/MIME emails).

This seems to be closely related to T4257 for which I have a fix under test. The problem is that we pass the fd used by the caller to create the data object to gpgsm and close that very fd. The descriptor passing involves an implicit dup so closing is in theory okay but we should not close an fd which has been set (w/o dup) by the caller.

Jun 17 2019, 8:38 AM · gpgme, Bug Report
werner closed T4569: Version 3.1.8 can not "Encrypt for others" as Resolved.

Fixed with gpg4win 3.1.9.

Jun 17 2019, 8:20 AM · Bug Report, gpg4win
gniibe claimed T4574: Change #!/bin/sh to #!/bin/bash in libgpg-error-1.36/src/gpg-error-config-test.sh.

I wrote the script and the intention is supporting old systems using POSIX shell. Our goal here is: Not introducing (additional) dependency to Bash.

Jun 17 2019, 2:16 AM · Bug Report
johngh added a comment to T4574: Change #!/bin/sh to #!/bin/bash in libgpg-error-1.36/src/gpg-error-config-test.sh.

Thanks for your feedback Werner.

Jun 17 2019, 12:33 AM · Bug Report

Jun 16 2019

dkg added a comment to T4393: GnuPG should always accept key updates even if the update does not contain UIDs.

@werner, My usual approach for private branches is to prefix with dkg/, but (a) playfair rejects branch names with a /, and (b) i'm not the author of these patches, and i didn't want to claim credit that doesn't belong to me.

Jun 16 2019, 5:40 PM · gnupg (gpg23), Feature Request
werner changed the status of T4569: Version 3.1.8 can not "Encrypt for others" from Open to Testing.
Jun 16 2019, 8:55 AM · Bug Report, gpg4win

Jun 15 2019

aheinecke committed rW187fba5f18ab: web: Fix news copy & paste error (authored by aheinecke).
web: Fix news copy & paste error
Jun 15 2019, 7:55 AM
aheinecke committed rW56c50873dc66: Merge branch 'website' of git://git.gnupg.org/gpg4win into website (authored by aheinecke).
Merge branch 'website' of git://git.gnupg.org/gpg4win into website
Jun 15 2019, 7:53 AM
aheinecke committed rW175dc55b0bb9: web: Update for Gpg4win-3.1.9 (authored by aheinecke).
web: Update for Gpg4win-3.1.9
Jun 15 2019, 7:53 AM
aheinecke committed rW023ecfc913d7: Fix permissions of libkleo patch (authored by aheinecke).
Fix permissions of libkleo patch
Jun 15 2019, 7:53 AM
aheinecke committed rWd1a7ca67fe39: Update READMES (authored by aheinecke).
Update READMES
Jun 15 2019, 7:53 AM
aheinecke committed rW61b170e17771: Add patch for libkleo to fix recipient selection (authored by aheinecke).
Add patch for libkleo to fix recipient selection
Jun 15 2019, 6:35 AM
aheinecke committed rWa174f25366aa: Update NEWS for todays release (authored by aheinecke).
Update NEWS for todays release
Jun 15 2019, 6:35 AM
aheinecke committed rWdff743354a83: Update GpgOL to 2.4.1 (authored by aheinecke).
Update GpgOL to 2.4.1
Jun 15 2019, 6:35 AM
aheinecke committed rOadca4343ffbc: Post release version bump (authored by aheinecke).
Post release version bump
Jun 15 2019, 6:24 AM
aheinecke committed rOcf1f686d98bd: Auto update PO files (authored by aheinecke).
Auto update PO files
Jun 15 2019, 6:24 AM
aheinecke committed rOcb395b40cd0e: Update NEWS for todays release (authored by aheinecke).
Update NEWS for todays release
Jun 15 2019, 6:24 AM
aheinecke committed rDb7145bebbafa: Release GpgOL 2.4.1 (authored by aheinecke).
Release GpgOL 2.4.1
Jun 15 2019, 6:13 AM

Jun 14 2019

werner added a comment to T4393: GnuPG should always accept key updates even if the update does not contain UIDs.

Please use a private branch as usual. There has been no agreement or a discussion over this change nor do we have a DCO from him.

Jun 14 2019, 6:10 PM · gnupg (gpg23), Feature Request
dkg added a comment to T4393: GnuPG should always accept key updates even if the update does not contain UIDs.

I've pushed @Valodim's proposed patches to the fix-4393 branch in our git repo. they look good to me, and i think they should be merged to master.

Jun 14 2019, 6:08 PM · gnupg (gpg23), Feature Request
dkg committed rGf361141a4436: gpg: accept subkeys with a good revocation but no self-sig during import (authored by Valodim).
gpg: accept subkeys with a good revocation but no self-sig during import
Jun 14 2019, 6:08 PM
dkg committed rG4c40bfa90bda: tests: add test cases for import without uid (authored by Valodim).
tests: add test cases for import without uid
Jun 14 2019, 6:08 PM
dkg committed rGa1db83d8a330: gpg: allow import of previously known keys, even without UIDs (authored by Valodim).
gpg: allow import of previously known keys, even without UIDs
Jun 14 2019, 6:08 PM
dkg committed rG41d3b5df272f: gpg: accept subkeys with a good revocation but no self-sig during import (authored by Valodim).
gpg: accept subkeys with a good revocation but no self-sig during import
Jun 14 2019, 6:06 PM
dkg committed rGc86ae73950e7: gpg: allow import of previously known keys, even without UIDs (authored by Valodim).
gpg: allow import of previously known keys, even without UIDs
Jun 14 2019, 6:06 PM
dkg committed rGbfff05eea9a5: tests: add test cases for import without uid (authored by Valodim).
tests: add test cases for import without uid
Jun 14 2019, 6:06 PM
werner added a comment to rGcb302d66b932: gpg: allow import of previously known keys, even without UIDs.

We also have not DCO on record for @Valodim

Jun 14 2019, 6:00 PM
werner added a comment to rGcb302d66b932: gpg: allow import of previously known keys, even without UIDs.

Please use a private branch for such patches (dkg/fix-*) as you did in the past.

Jun 14 2019, 5:58 PM
dkg committed rGcb302d66b932: gpg: allow import of previously known keys, even without UIDs (authored by Valodim).
gpg: allow import of previously known keys, even without UIDs
Jun 14 2019, 5:53 PM
dkg committed rG4565b67fa2a4: gpg: accept subkeys with a good revocation but no self-sig during import (authored by Valodim).
gpg: accept subkeys with a good revocation but no self-sig during import
Jun 14 2019, 5:53 PM
dkg committed rGe8b91282f85f: tests: add test cases for import without uid (authored by Valodim).
tests: add test cases for import without uid
Jun 14 2019, 5:53 PM
dkg committed rG6e46862abd2c: fix up 6562de7475b21cd03c7b1a83a591fa563c589f5b (authored by dkg).
fix up 6562de7475b21cd03c7b1a83a591fa563c589f5b
Jun 14 2019, 5:53 PM
werner added a comment to rM7d0a979c07d2: python: Fix regression in t-decrypt-verify test..

Feel free to fix it but a "make -j3 distcheck" MUST work.

Jun 14 2019, 5:52 PM
werner committed rM0378250846b7: core: Make the refactored global wait work. (authored by werner).
core: Make the refactored global wait work.
Jun 14 2019, 1:58 PM
werner committed rMb2749d77da7d: core: Make the refactored user event loop work. (authored by werner).
core: Make the refactored user event loop work.
Jun 14 2019, 1:58 PM
werner committed rM153f1128f81a: core: Use a better name for the internal synchronous wait. (authored by werner).
core: Use a better name for the internal synchronous wait.
Jun 14 2019, 1:58 PM