Page MenuHome GnuPG
Feed All Stories

Oct 29 2020

ikloecker committed rMf042739d3a2e: qt: Add support for revoke signature quick command (authored by ikloecker).
qt: Add support for revoke signature quick command
Oct 29 2020, 1:01 PM
ikloecker committed rM60328c4690be: qt: Some minor cleanups (authored by ikloecker).
qt: Some minor cleanups
Oct 29 2020, 1:01 PM
ikloecker committed rM4166d263e421: cpp: Add support for gpgme_op_revsig (authored by ikloecker).
cpp: Add support for gpgme_op_revsig
Oct 29 2020, 1:01 PM
ikloecker committed rMf3407d0ee4e3: core: New function gpgme_op_revsig. (authored by ikloecker).
core: New function gpgme_op_revsig.
Oct 29 2020, 1:01 PM
ikloecker added a comment to T5093: GnuPG: Add quick-revsig.

I have added support for this to gpgme (and gpgme++/qgpgme). See T5094.

Oct 29 2020, 1:00 PM · Feature Request, gnupg (gpg22)
ikloecker added a comment to T5093: GnuPG: Add quick-revsig.

By the way, --quick-sign-key after --quick-revoke-sig refuses to recertify the key. -> T4584

Oct 29 2020, 12:58 PM · Feature Request, gnupg (gpg22)
ikloecker added a comment to T4584: --quick-sign-key offers no way to override a current certification.

There is another problem: Even if the first certification was revoked, trying to add a new certification with --quick-sign-key fails because '"user id" was already signed by key ...'

Oct 29 2020, 12:31 PM · Restricted Project, gnupg (gpg22), Feature Request
ikloecker added a comment to T5093: GnuPG: Add quick-revsig.

I found a bug. To reproduce generate a new key, then sign it with another key and then try to quick-revoke the signatures. This fails with "Not signed by you."

Oct 29 2020, 12:14 PM · Feature Request, gnupg (gpg22)
werner added a comment to T5115: OpenPGP card factory-reset and Kleopatra.

I forgot that we have LOCK and UNLOCK commands in scdaemon. This was implemented around 2005 but there are no more users in gpg meanwhile.

Oct 29 2020, 11:50 AM · kleopatra, gnupg (gpg22), scd
werner created T5115: OpenPGP card factory-reset and Kleopatra.
Oct 29 2020, 11:47 AM · kleopatra, gnupg (gpg22), scd
werner added a comment to T5093: GnuPG: Add quick-revsig.

On purpose. We actually allow user ids and gpg should somehow reflect this. As requested by you I changed it in the man page to what is suggested.

Oct 29 2020, 11:39 AM · Feature Request, gnupg (gpg22)
ikloecker added a comment to T5093: GnuPG: Add quick-revsig.

I've noticed an inconsistency between the command arguments in the man page and in the usage/error message.

Oct 29 2020, 10:06 AM · Feature Request, gnupg (gpg22)
werner triaged T5114: GnuPG fails to import back generated and exported EdDSA secret key. as High priority.

In short eddsa secret keys generated with current 2.3 can't be imported with 2.2, right? That will lead to a compatibility problem, so we need to fix that in 2.2.

Oct 29 2020, 9:23 AM · gnupg, Restricted Project, gpgagent, Bug Report
gniibe added a comment to T5114: GnuPG fails to import back generated and exported EdDSA secret key..

IIUC, it is an issue of GnuPG 2.2.
The condition is where the secret 'd' starts by the first bit = 1 (that is, >= 0x80).
I located the bug in agent/cvt-openpgp.c. The function do_unprotect calls convert_secret_key with skey[1] as usual MPI (not opaque),
and gcry_sexp_build with "(d%m)" will put additional 0x00 at the beginning, which results 33-byte secret in R_KEY. Then, when gcry_pk_testkey is called with R_KEY, when it checks, because 32-byte is expected, it returns GPG_ERR_INV_OBJ. Then, do_unprotect returns GPG_ERR_BAD_PASSPHRASE.

Oct 29 2020, 8:58 AM · gnupg, Restricted Project, gpgagent, Bug Report
gniibe edited projects for T5114: GnuPG fails to import back generated and exported EdDSA secret key., added: gnupg (gpg22), gpgagent; removed gnupg (gpg23).
Oct 29 2020, 7:26 AM · gnupg, Restricted Project, gpgagent, Bug Report
gniibe added a comment to T5114: GnuPG fails to import back generated and exported EdDSA secret key..

With Debian's GnuPG 2.2.12, I got an error:

Oct 29 2020, 7:22 AM · gnupg, Restricted Project, gpgagent, Bug Report
gniibe claimed T5114: GnuPG fails to import back generated and exported EdDSA secret key..

With bata1449, I cannot reproduce it.
I can import by gpg --import key-uids-sec.pgp
I tested with Debian's libgcrypt, as well as libgcrypt master (4a50c6b8).

Oct 29 2020, 6:35 AM · gnupg, Restricted Project, gpgagent, Bug Report

Oct 28 2020

werner changed the status of T5093: GnuPG: Add quick-revsig from Open to Testing.
Oct 28 2020, 6:26 PM · Feature Request, gnupg (gpg22)
werner placed T5093: GnuPG: Add quick-revsig up for grabs.

The backend part is ready. Someone(tm) now needs to add it to gpgme. Extending the sign key API might be the best solution.

Oct 28 2020, 6:25 PM · Feature Request, gnupg (gpg22)
werner committed rG7ec56b033647: gpg: New command --quick-revoke-sig (authored by werner).
gpg: New command --quick-revoke-sig
Oct 28 2020, 6:19 PM
werner committed rG243f9176e799: gpg: New command --quick-revoke-sig (authored by werner).
gpg: New command --quick-revoke-sig
Oct 28 2020, 5:20 PM
werner added a comment to T5093: GnuPG: Add quick-revsig.

I was already considering this. I bet some people will view it as a bug if it is possible to add something other than a fingerprint. I'll change it in the man page.

Oct 28 2020, 5:04 PM · Feature Request, gnupg (gpg22)
werner added a project to T5114: GnuPG fails to import back generated and exported EdDSA secret key.: gnupg (gpg23).
Oct 28 2020, 5:01 PM · gnupg, Restricted Project, gpgagent, Bug Report
onickolay created T5114: GnuPG fails to import back generated and exported EdDSA secret key..
Oct 28 2020, 11:54 AM · gnupg, Restricted Project, gpgagent, Bug Report
ikloecker added a comment to T5093: GnuPG: Add quick-revsig.

Minor remark: I would change this (in the documentation) to

gpg --quick-revoke-sig fpr fpr-of-signing-key [names]

as for --quick-sign-key, --quick-add-key, and --quick-set-expire, even if USER IDs can be used instead of fingerprints. We shouldn't advertise the usage of USER IDs, if we prefer the users to use the fingerprints. I suggest to also change user-id to fpr in the documentation of --quick-add-uid and --quick-revoke-uid. Using USER IDs for identifying keys is ambiguous and errorprone (e.g. if non-ASCII characters get involved, which, incidentally, is the reason why I started to work on KMail).

Oct 28 2020, 10:46 AM · Feature Request, gnupg (gpg22)
ikloecker added a comment to T5100: OpenPGP app overwrites Yubikey serial number.

I have tested this with Kleopatra. The good news is that SCD GETATTR $DISPSERIALNO now works for the piv app even if the openpgp app is enabled.

Oct 28 2020, 10:24 AM · Restricted Project, gnupg, scd, yubikey, kleopatra
werner merged T5087: Not possible to create a new key into T5098: Gpg4win problems for Windows Users with some non-ASCII account names.
Oct 28 2020, 10:21 AM · gnupg (gpg22), Windows
werner merged task T5087: Not possible to create a new key into T5098: Gpg4win problems for Windows Users with some non-ASCII account names.
Oct 28 2020, 10:21 AM · Bug Report, gpg4win
werner added a comment to T5087: Not possible to create a new key.

Thanks for the info and my apologies for the regression. Please see my comment on T5045.

Oct 28 2020, 10:21 AM · Bug Report, gpg4win
werner added a comment to T5045: Release GnuPG 2.2.23.

Unfortunately this new release has a regression affecting users with non-ascii account names. See T5098.

Oct 28 2020, 10:19 AM · gnupg, Release Info
gniibe triaged T5100: OpenPGP app overwrites Yubikey serial number as Normal priority.
Oct 28 2020, 2:45 AM · Restricted Project, gnupg, scd, yubikey, kleopatra
gniibe committed rM089164a0c0d6: python: Handle the when case __doc__ is None. (authored by gniibe).
python: Handle the when case __doc__ is None.
Oct 28 2020, 1:12 AM
gniibe closed T5075: [python-gpgme] Traceback when running with python -OO as Resolved.

Pushed the change.

Oct 28 2020, 12:51 AM · gpgme, Python, Bug Report
gniibe claimed T5075: [python-gpgme] Traceback when running with python -OO.
Oct 28 2020, 12:30 AM · gpgme, Python, Bug Report

Oct 27 2020

r0347192 added a comment to T5087: Not possible to create a new key.

I am facing a really similar problem currently in version 3.1.13 (on windows 10)
Although the self-test shows all checks passed. I found out that there is an issue with the cache dir file not being created/loaded.
See:

Oct 27 2020, 6:45 PM · Bug Report, gpg4win
werner committed rG742e2729f4bc: gpg: Sort the signatures in standard key listings. (authored by werner).
gpg: Sort the signatures in standard key listings.
Oct 27 2020, 5:28 PM
werner edited projects for T5093: GnuPG: Add quick-revsig, added: gnupg (gpg22), Feature Request; removed gnupg.
Oct 27 2020, 3:49 PM · Feature Request, gnupg (gpg22)
werner added a comment to T5093: GnuPG: Add quick-revsig.

I am already working on it. The gpg command will be

Oct 27 2020, 3:48 PM · Feature Request, gnupg (gpg22)
werner merged task T4095: Add non-interactive --quick-revoke-sig into T5093: GnuPG: Add quick-revsig.
Oct 27 2020, 3:44 PM · gnupg (gpg22), Feature Request
werner merged T4095: Add non-interactive --quick-revoke-sig into T5093: GnuPG: Add quick-revsig.
Oct 27 2020, 3:44 PM · Feature Request, gnupg (gpg22)
werner added a comment to T5093: GnuPG: Add quick-revsig.

I missed this one because I only searched for "revoke" ;-)

Oct 27 2020, 3:44 PM · Feature Request, gnupg (gpg22)
ikloecker added a comment to T5093: GnuPG: Add quick-revsig.

Seems to be a duplicate of T4095

Oct 27 2020, 2:14 PM · Feature Request, gnupg (gpg22)
Laurent Montel <montel@kde.org> committed rLIBKLEO54cfa5d7b757: Fix info about qmake dep (authored by Laurent Montel <montel@kde.org>).
Fix info about qmake dep
Oct 27 2020, 1:52 PM
werner claimed T4095: Add non-interactive --quick-revoke-sig.
Oct 27 2020, 8:48 AM · gnupg (gpg22), Feature Request
gniibe added a comment to T5075: [python-gpgme] Traceback when running with python -OO.

IIUC, fix can be like this:

diff --git a/lang/python/src/core.py b/lang/python/src/core.py
index 996c3b0f..646bbc60 100644
--- a/lang/python/src/core.py
+++ b/lang/python/src/core.py
@@ -147,7 +147,12 @@ class GpgmeWrapper(object):
                     gpgme.gpg_raise_callback_exception(slf)
                 return result
Oct 27 2020, 8:31 AM · gpgme, Python, Bug Report
gniibe changed the status of T5100: OpenPGP app overwrites Yubikey serial number from Open to Testing.
Oct 27 2020, 6:43 AM · Restricted Project, gnupg, scd, yubikey, kleopatra
gniibe added a comment to T5100: OpenPGP app overwrites Yubikey serial number.

SCD commands:

  • DEVINFO
    • returns app apecific serialno
  • SERIALNO
    • returns app specific serialno
  • LEARN
    • returns canonical serialno
Oct 27 2020, 6:41 AM · Restricted Project, gnupg, scd, yubikey, kleopatra
gniibe committed rGe59d2b3632d8: scd: Handle canonical serialno and app specific serialno differently. (authored by gniibe).
scd: Handle canonical serialno and app specific serialno differently.
Oct 27 2020, 6:41 AM

Oct 26 2020

ikloecker committed rKLEOPATRA19554ef233c9: Add actions to switch between the three main views (authored by ikloecker).
Add actions to switch between the three main views
Oct 26 2020, 5:54 PM
ikloecker changed the status of T5108: Superfluous back button in Kleo's card manager from Open to Testing.

The action to switch to the "Smartcard management" still lacks an icon. In the old KDE icon theme Oxygen there was an icon ("secure-card"), but the new Breeze icon theme lacks this icon. I have requested an icon for this for the Breeze theme. See https://bugs.kde.org/show_bug.cgi?id=428278.

Oct 26 2020, 5:52 PM · Bug Report, kleopatra
werner committed rP2076ac61d218: doc: Minor typo fix in example (authored by werner).
doc: Minor typo fix in example
Oct 26 2020, 3:42 PM
werner committed rG38040ffee81e: scd: Internal CCID driver thing only for SPR532. (authored by gniibe).
scd: Internal CCID driver thing only for SPR532.
Oct 26 2020, 1:33 PM
werner committed rGd1c9cc3ca03d: scd: Internal CCID driver limiting only for SPR532. (authored by gniibe).
scd: Internal CCID driver limiting only for SPR532.
Oct 26 2020, 1:33 PM
werner committed rG0f780b1aebb1: g10: Make call to agent_scd_serialno more robust. (authored by werner).
g10: Make call to agent_scd_serialno more robust.
Oct 26 2020, 12:50 PM
werner committed rGcf4b8a27c37d: g10,sm: Use gnupg_access at two more places (authored by werner).
g10,sm: Use gnupg_access at two more places
Oct 26 2020, 12:50 PM
werner committed rGfc0fc4c2d333: g10,sm: Use gnupg_access at two more places. (authored by werner).
g10,sm: Use gnupg_access at two more places.
Oct 26 2020, 12:37 PM
werner committed rG56a77f57db90: common: Fix gnupg_access for older libgpg-error. (authored by werner).
common: Fix gnupg_access for older libgpg-error.
Oct 26 2020, 12:37 PM
bernhard committed rWcd5dd8b959af: Fix links page, for gpgtools, enigmail. (authored by bernhard).
Fix links page, for gpgtools, enigmail.
Oct 26 2020, 12:01 PM
moria closed T5078: gpg wants to delete my master key when I'm trying to delete a subkey? as Resolved.
Oct 26 2020, 10:45 AM
gniibe closed T5102: READCERT immediately after WRITECERT fails as Resolved.

Pushed the change.

Oct 26 2020, 6:32 AM · kleopatra, scd
gniibe committed rG8264b10d33e4: scd: Flush the cache when writing cert data object. (authored by gniibe).
scd: Flush the cache when writing cert data object.
Oct 26 2020, 6:32 AM
gniibe committed rGa153d0f76914: gpg: Fix double free on error. (authored by gniibe).
gpg: Fix double free on error.
Oct 26 2020, 6:01 AM
gniibe committed rG157f1de64e43: gpg,tools: Fix detecting OpenPGP card by serialno. (authored by gniibe).
gpg,tools: Fix detecting OpenPGP card by serialno.
Oct 26 2020, 6:01 AM
gniibe committed rG31def32eeed8: scd: Internal CCID driver thing only for SPR532. (authored by gniibe).
scd: Internal CCID driver thing only for SPR532.
Oct 26 2020, 3:42 AM

Oct 24 2020

gniibe committed rG3c6b5dfa2a23: scd: Internal CCID driver limiting only for SPR532. (authored by gniibe).
scd: Internal CCID driver limiting only for SPR532.
Oct 24 2020, 4:02 AM

Oct 23 2020

werner closed T5113: Release Libgcrypt 1.8.7 as Resolved.
Oct 23 2020, 8:42 PM · Release Info, libgcrypt
werner committed rD11d3ff1a0d3d: swdb: New versions of libassuan and libgcrypt (authored by werner).
swdb: New versions of libassuan and libgcrypt
Oct 23 2020, 8:38 PM
werner committed rG32f336d9555f: common: Allow building with released libgpg-error. (authored by werner).
common: Allow building with released libgpg-error.
Oct 23 2020, 8:24 PM
werner committed rCe5eb3eca3c7a: Post release updates (authored by werner).
Post release updates
Oct 23 2020, 7:34 PM
werner committed rC04c156a48b35: Release 1.8.7 (authored by werner).
Release 1.8.7
Oct 23 2020, 7:34 PM
werner updated the task description for T5113: Release Libgcrypt 1.8.7.
Oct 23 2020, 7:30 PM · Release Info, libgcrypt
werner created T5113: Release Libgcrypt 1.8.7.
Oct 23 2020, 7:19 PM · Release Info, libgcrypt
werner closed T5112: Release libassuan 2.5.4 as Resolved.
Oct 23 2020, 7:17 PM · Release Info, libassuan
werner committed rAe368b400f276: Release 2.5.4 (authored by werner).
Release 2.5.4
Oct 23 2020, 7:14 PM
werner committed rA103c1e7f86de: Post release updates (authored by werner).
Post release updates
Oct 23 2020, 7:14 PM
werner created T5112: Release libassuan 2.5.4.
Oct 23 2020, 6:52 PM · Release Info, libassuan
werner edited projects for T4588: gpg-agent should guess pinentry's full path (using $PATH) if `pinentry-program` does not supply a full path, added: gnupg (gpg23); removed libassuan.

What can be done is to use gpgconf --list-dirs bindir as a fallback for pinentry.

Oct 23 2020, 6:51 PM · gnupg24, gpgagent
werner triaged T5110: Primary Key Binding Signature not updated when updating Subkey Binding Signature as Normal priority.
Oct 23 2020, 6:45 PM · gnupg, Bug Report
werner closed T5111: error installing gnupg as Invalid.

Sorry, hhis is a bug tracker and not a help line. Please ask on a mailing list - see gpg4win.org or gnupg.org

Oct 23 2020, 6:43 PM
bernhard committed rW0c544b7cec27: Add sponsors for Q1-3 2020. Correct Sponsors 2019 (authored by bernhard).
Add sponsors for Q1-3 2020. Correct Sponsors 2019
Oct 23 2020, 6:01 PM
werner committed rC6b79963f3f09: random: Allow for a Unicode random seed file on Windows. (authored by werner).
random: Allow for a Unicode random seed file on Windows.
Oct 23 2020, 3:37 PM
werner committed rC24341f58f0d3: random: Allow for a Unicode random seed file on Windows. (authored by werner).
random: Allow for a Unicode random seed file on Windows.
Oct 23 2020, 3:37 PM
cmorrison created T5111: error installing gnupg in the S1 Public space.
Oct 23 2020, 2:42 PM
ikloecker committed rM74c8131d809b: cpp: Add support for gpgme_cancel (authored by ikloecker).
cpp: Add support for gpgme_cancel
Oct 23 2020, 2:33 PM
ikloecker committed rMff23e24063fe: Add Assuan transaction that forwards status lines to another object (authored by ikloecker).
Add Assuan transaction that forwards status lines to another object
Oct 23 2020, 2:33 PM
ikloecker committed rMb21cabb31180: qt: Add QDebug stream operator for GpgME::Error (authored by ikloecker).
qt: Add QDebug stream operator for GpgME::Error
Oct 23 2020, 2:33 PM
ikloecker committed rMc3406462d11b: cpp, qt: Add missing comparison operators for version info comparison (authored by ikloecker).
cpp, qt: Add missing comparison operators for version info comparison
Oct 23 2020, 2:33 PM
ikloecker committed rM2f53a2f4be86: cpp, qt: Fix version info comparison (authored by ikloecker).
cpp, qt: Fix version info comparison
Oct 23 2020, 2:33 PM
ikloecker committed rKLEOPATRA379ab9c80357: Move include of kleopatra_debug.h to .cpp file (authored by ikloecker).
Move include of kleopatra_debug.h to .cpp file
Oct 23 2020, 1:59 PM
ikloecker committed rKLEOPATRAe084c2a2642e: Use a more modern approach to watch for smartcard removal (authored by ikloecker).
Use a more modern approach to watch for smartcard removal
Oct 23 2020, 1:59 PM
werner changed the status of T5098: Gpg4win problems for Windows Users with some non-ASCII account names from Open to Testing.

Backported to 2.2. Note that an updated libgcrypt is also required (for 2.2 and master)

Oct 23 2020, 1:45 PM · gnupg (gpg22), Windows
werner changed Version from 3.1.13 to 2.2.23 on T5098: Gpg4win problems for Windows Users with some non-ASCII account names.
Oct 23 2020, 1:39 PM · gnupg (gpg22), Windows
werner added a comment to T5109: Initial socket connection to server.

For the Debian problem it might be better to use "gpgconf --launch" and we add an option here to wait for the daemon to be started. That can be implemented in gpg-connect-agent which then should get the same option.

Oct 23 2020, 1:01 PM · gnupg24, gnupg (gpg23)
werner committed rG5f8123df7856: common: New functions gnupg_opendir et al. (authored by werner).
common: New functions gnupg_opendir et al.
Oct 23 2020, 11:30 AM
werner committed rG4252cd7b18b4: w32: Make gnupg_remove and gnupg_rename_file Unicode aware (authored by werner).
w32: Make gnupg_remove and gnupg_rename_file Unicode aware
Oct 23 2020, 11:30 AM
werner committed rG157030271f2d: Replace all calls to stat by gnupg_stat. (authored by werner).
Replace all calls to stat by gnupg_stat.
Oct 23 2020, 11:30 AM
werner committed rG86e52e3c3384: Replace most calls to open by a new wrapper. (authored by werner).
Replace most calls to open by a new wrapper.
Oct 23 2020, 11:30 AM
neal added a comment to T5110: Primary Key Binding Signature not updated when updating Subkey Binding Signature.

Oct 23 2020, 10:12 AM · gnupg, Bug Report
neal created T5110: Primary Key Binding Signature not updated when updating Subkey Binding Signature.
Oct 23 2020, 10:11 AM · gnupg, Bug Report
werner added a comment to T5109: Initial socket connection to server.

Frankly, I do not like this change - in particulalr not for the stable branch. Having a timeout on connections is actually a Good Thing and better than to wait indefinitely. There is a high risk on regressions and that is not acceptable for the stable branch. The branch already had a couple of regressions in 2.2.2x and we need to fix them and not introduce others.

Oct 23 2020, 9:41 AM · gnupg24, gnupg (gpg23)