Page MenuHome GnuPG
Feed All Stories

Nov 4 2020

gniibe created T5120: Incompatible Ed25519 secret key (no-encryption).
Nov 4 2020, 3:21 AM · gnupg (gpg22), Bug Report
gniibe changed the status of T5116: GnuPG master shows an error when importing Ed25519 keys generated from Open to Testing.
Nov 4 2020, 3:14 AM · Restricted Project, gnupg, Bug Report
gniibe changed the status of T5116: GnuPG master shows an error when importing Ed25519 keys generated, a subtask of T5114: GnuPG fails to import back generated and exported EdDSA secret key., from Open to Testing.
Nov 4 2020, 3:14 AM · gnupg, Restricted Project, gpgagent, Bug Report

Nov 3 2020

werner renamed T5119: TOFU messages are not completely and correctly localized to German from TOFO messages are not completely and correctly localized to German to TOFU messages are not completely and correctly localized to German.
Nov 3 2020, 11:15 PM · gnupg24, gnupg (gpg23), i18n, Bug Report
werner triaged T5119: TOFU messages are not completely and correctly localized to German as Low priority.

The whole TOFU stuff hash not yet been fully translated because there are conceptional problems with the way the code works.

Nov 3 2020, 11:15 PM · gnupg24, gnupg (gpg23), i18n, Bug Report
werner renamed T5119: TOFU messages are not completely and correctly localized to German from Messages are not completely and correctly localized to German to TOFO messages are not completely and correctly localized to German.
Nov 3 2020, 11:14 PM · gnupg24, gnupg (gpg23), i18n, Bug Report
werner changed the status of T5073: Date output of GnuPG not in correct language format from Open to Testing.
Nov 3 2020, 11:10 PM · gnupg (gpg22), Bug Report
ikloecker added a reverting change for rLIBKLEO5314843fa2cc: Add possibility to filter out bad (i.e. practically unusable) keys: rLIBKLEO6d26b255e3c8: Revert "Add possibility to filter out bad (i.e. practically unusable) keys".
Nov 3 2020, 8:35 PM
ikloecker committed rLIBKLEO6d26b255e3c8: Revert "Add possibility to filter out bad (i.e. practically unusable) keys" (authored by ikloecker).
Revert "Add possibility to filter out bad (i.e. practically unusable) keys"
Nov 3 2020, 8:35 PM
GwenDragon created T5119: TOFU messages are not completely and correctly localized to German.
Nov 3 2020, 8:08 PM · gnupg24, gnupg (gpg23), i18n, Bug Report
werner committed rGe8aae18b997b: w32: Fix strftime problem on Windows. (authored by werner).
w32: Fix strftime problem on Windows.
Nov 3 2020, 7:33 PM
werner committed rGd633e92233f4: w32: Fix strftime problem on Windows. (authored by werner).
w32: Fix strftime problem on Windows.
Nov 3 2020, 7:31 PM
werner lowered the priority of T4972: GPG: Add Option to force passphrase constraints for symmetric encryption, too from High to Normal.

FWIW, --enforce-passphrase-constraints does already work for symmetric-only encryption since 2.2.21 (rGae8b88c635424ef3). Thus this bug is actually a feature request to have a separate set of passphrase constraints option for symmetric-only mode.

Nov 3 2020, 4:00 PM · gnupg (gpg22), Feature Request
werner committed rG166e779634ea: gpg: Switch to AES256 for symmetric encryption in de-vs mode. (authored by werner).
gpg: Switch to AES256 for symmetric encryption in de-vs mode.
Nov 3 2020, 3:47 PM
werner committed rGd1f2a6d9f71c: gpg: Switch to AES256 for symmetric encryption in de-vs mode. (authored by werner).
gpg: Switch to AES256 for symmetric encryption in de-vs mode.
Nov 3 2020, 3:38 PM
ikloecker committed rLIBKLEO5314843fa2cc: Add possibility to filter out bad (i.e. practically unusable) keys (authored by ikloecker).
Add possibility to filter out bad (i.e. practically unusable) keys
Nov 3 2020, 2:01 PM
ikloecker committed rM0fee13599743: qt: Make audit parameters of result signal optional (authored by ikloecker).
qt: Make audit parameters of result signal optional
Nov 3 2020, 1:51 PM
aheinecke committed rGccecdc1f34a9: po: Major update of italian translation (authored by aheinecke).
po: Major update of italian translation
Nov 3 2020, 12:39 PM
werner edited projects for T5118: gpgconf: Master does not show some values, added: gnupg (gpg23), Bug Report; removed gnupg.
Nov 3 2020, 12:39 PM · gnupg24, Bug Report, gnupg (gpg23)
aheinecke created T5118: gpgconf: Master does not show some values.
Nov 3 2020, 12:22 PM · gnupg24, Bug Report, gnupg (gpg23)
werner raised the priority of T4972: GPG: Add Option to force passphrase constraints for symmetric encryption, too from Wishlist to High.
Nov 3 2020, 10:58 AM · gnupg (gpg22), Feature Request
ikloecker committed rLIBKLEO665fd66275c2: Add signatures sorted by canonical sort order to the model (authored by ikloecker).
Add signatures sorted by canonical sort order to the model
Nov 3 2020, 9:15 AM
ikloecker committed rMb41f5fec1c42: cpp: Mark helper functions as static (authored by ikloecker).
cpp: Mark helper functions as static
Nov 3 2020, 9:03 AM
ikloecker committed rM6a6d2a276484: cpp: Make signatures belonging to the same user ID sortable (authored by ikloecker).
cpp: Make signatures belonging to the same user ID sortable
Nov 3 2020, 9:03 AM
werner closed T5117: Can't create notation data with empty value as Resolved.
Nov 3 2020, 8:51 AM · gnupg (gpg22), Bug Report

Nov 2 2020

werner committed rGf007d79533e6: gpg: Allow setting notations with the empty string as value. (authored by werner).
gpg: Allow setting notations with the empty string as value.
Nov 2 2020, 5:52 PM
werner committed rG4c181d51a6f1: gpg: Do not use weak digest algos if selected by recipient prefs. (authored by werner).
gpg: Do not use weak digest algos if selected by recipient prefs.
Nov 2 2020, 5:52 PM
werner committed rGe1bafa3574cc: gpg: Allow setting notations with the empty string as value. (authored by werner).
gpg: Allow setting notations with the empty string as value.
Nov 2 2020, 5:36 PM
werner committed rG6397cf5fbe3b: build: Remove m4 macro defs which are not anymore used. (authored by werner).
build: Remove m4 macro defs which are not anymore used.
Nov 2 2020, 5:36 PM
werner added a comment to T5117: Can't create notation data with empty value.

The next version will fix the wrong warning and also allow for an empty value.

Nov 2 2020, 5:36 PM · gnupg (gpg22), Bug Report
werner added a comment to T5069: Concurrent auto-start of gpg-agent by multiple gpg instances..

No, overlapped I/O is not used. OVL is just a zeroed out memory area and thus hHandle is NULL. Errors are of course checked.

Nov 2 2020, 4:38 PM · Not A Bug, No Response, Info Needed, gnupg (gpg22), Windows, Bug Report
dvratil created D511: Include <ctime> rather than <sys/time.h> in gpgmepp.
Nov 2 2020, 4:18 PM
werner committed rG15746d60d492: gpg: Do not use weak digest algos if selected by recipient prefs. (authored by werner).
gpg: Do not use weak digest algos if selected by recipient prefs.
Nov 2 2020, 1:45 PM
werner added a comment to T5110: Primary Key Binding Signature not updated when updating Subkey Binding Signature.

Note: menu_backsign can be enhanced to detect such a case in the same way it detects missing backsigs.

Nov 2 2020, 10:30 AM · gnupg, Bug Report
ikloecker closed T5108: Superfluous back button in Kleo's card manager as Resolved.

Setting to resolved as discussed with Werner

Nov 2 2020, 9:43 AM · Bug Report, kleopatra
werner added a comment to T5100: OpenPGP app overwrites Yubikey serial number.

We should find a way to figure out the OpenPGP S/N even if OpenPGP is disabled. I'll ask Yubico.

Nov 2 2020, 9:42 AM · Restricted Project, gnupg, scd, yubikey, kleopatra
ikloecker committed rG8a941428086b: gpg: Fix iteration over signatures (authored by ikloecker).
gpg: Fix iteration over signatures
Nov 2 2020, 9:14 AM
ikloecker committed rGb004701adca8: gpg: Fix iteration over signatures (authored by ikloecker).
gpg: Fix iteration over signatures
Nov 2 2020, 9:14 AM
gniibe committed rG8211d0bc3ba5: kbx: Don't put zero-byte for ECC. (authored by gniibe).
kbx: Don't put zero-byte for ECC.
Nov 2 2020, 7:35 AM
gniibe committed rG90c3d623ce37: gpg: Fix debug output for key_check_all_keysigs with opaque MPI. (authored by gniibe).
gpg: Fix debug output for key_check_all_keysigs with opaque MPI.
Nov 2 2020, 3:37 AM
gniibe committed rG029ba6dc961c: gpg: Fix check_signature2 for opaque MPI. (authored by gniibe).
gpg: Fix check_signature2 for opaque MPI.
Nov 2 2020, 3:37 AM
gniibe committed rG21d8927f794b: gpg: Change the API for checksum to use const qualifier. (authored by gniibe).
gpg: Change the API for checksum to use const qualifier.
Nov 2 2020, 3:37 AM
gniibe committed rG3151210e455f: gpg: Fix counting buffer size in check_signature2. (authored by gniibe).
gpg: Fix counting buffer size in check_signature2.
Nov 2 2020, 3:37 AM

Nov 1 2020

Daniel Vrátil <daniel.vratil@avast.com> committed rLIBKLEOa51432a85b8e: Don't assume std::array iterator is a pointer (authored by Daniel Vrátil <daniel.vratil@avast.com>).
Don't assume std::array iterator is a pointer
Nov 1 2020, 9:39 PM
capitol created T5117: Can't create notation data with empty value.
Nov 1 2020, 10:02 AM · gnupg (gpg22), Bug Report
Christoph Feck <cfeck@kde.org> committed rKLEOPATRA23db17f11aad: GIT_SILENT Update Appstream for new release (authored by Christoph Feck <cfeck@kde.org>).
GIT_SILENT Update Appstream for new release
Nov 1 2020, 3:57 AM

Oct 30 2020

gniibe committed rG813e24108a13: gpg: Fix SOS handling with libgcrypt version <= 1.8. (authored by gniibe).
gpg: Fix SOS handling with libgcrypt version <= 1.8.
Oct 30 2020, 9:09 AM
gniibe added a comment to T5116: GnuPG master shows an error when importing Ed25519 keys generated.

One bug is fixed in rGdd4fb1c8f668: gpg: Fix first zero-byte case for SOS handling..

Oct 30 2020, 9:03 AM · Restricted Project, gnupg, Bug Report
gniibe committed rGdd4fb1c8f668: gpg: Fix first zero-byte case for SOS handling. (authored by gniibe).
gpg: Fix first zero-byte case for SOS handling.
Oct 30 2020, 7:23 AM
gniibe committed rC361a0588489c: ecc: Handle removed zeros at the beginning for Ed25519. (authored by gniibe).
ecc: Handle removed zeros at the beginning for Ed25519.
Oct 30 2020, 2:28 AM
gniibe changed the status of T5114: GnuPG fails to import back generated and exported EdDSA secret key. from Open to Testing.

Fixed in 2.2 branch.
Also, I found another issue of libgcrypt master, which is fixed in rC361a0588489c: ecc: Handle removed zeros at the beginning for Ed25519..
Further, I found different issue, and created T5116: GnuPG master shows an error when importing Ed25519 keys generated.

Oct 30 2020, 2:23 AM · gnupg, Restricted Project, gpgagent, Bug Report
gniibe committed rGba321b60bc3b: agent: Fix secret key import for Ed25519. (authored by gniibe).
agent: Fix secret key import for Ed25519.
Oct 30 2020, 2:22 AM
gniibe created T5116: GnuPG master shows an error when importing Ed25519 keys generated.
Oct 30 2020, 12:55 AM · Restricted Project, gnupg, Bug Report
gniibe added a comment to T5114: GnuPG fails to import back generated and exported EdDSA secret key..

I think that it may occur with eddsa secret keys generated with 2.2, too. (In the 50% probability)

Oct 30 2020, 12:51 AM · gnupg, Restricted Project, gpgagent, Bug Report

Oct 29 2020

werner added a parent task for T4584: --quick-sign-key offers no way to override a current certification: T5093: GnuPG: Add quick-revsig.
Oct 29 2020, 4:40 PM · Restricted Project, gnupg (gpg22), Feature Request
werner added a subtask for T5093: GnuPG: Add quick-revsig: T4584: --quick-sign-key offers no way to override a current certification.
Oct 29 2020, 4:40 PM · Feature Request, gnupg (gpg22)
werner edited projects for T4584: --quick-sign-key offers no way to override a current certification, added: gnupg (gpg22); removed gnupg.

Indeed we need to fix/enhance this to make testing of --quick-revoke-sig easier. See over at T5093

Oct 29 2020, 4:39 PM · Restricted Project, gnupg (gpg22), Feature Request
werner changed the status of T5093: GnuPG: Add quick-revsig from Testing to Open.

I recall that I had the same bug during development. Must have slipped in again - Good catch.

Oct 29 2020, 4:36 PM · Feature Request, gnupg (gpg22)
werner awarded rMf3407d0ee4e3: core: New function gpgme_op_revsig. a Orange Medal token.
Oct 29 2020, 1:17 PM
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)