Page MenuHome GnuPG
Feed All Stories

Apr 19 2019

gniibe added a comment to T4456: gpgme repeatedly segfaults claws-mail after update to 1.13.0.

Before the SEGV, calling a handler in _gpgme_io_close is strange:

GPGME 2019-04-11 12:24:58 <0x660e>        _gpgme_io_close: check: fd=0x22 invoking close handler 0x7f341d8b8960/0x7f33f0003930

Because the file descriptor 0x21 and 0x22 is allocated by _gpgme_io_pipe, and there should be no handler(s) for those fds.
Either, the notify_table is screwed up, or there is a leak of fds.
I'd like to see the logs of all calls of _gpgme_io_set_close_notify and _gpgme_io_close.

Apr 19 2019, 7:23 AM · gpgme (gpgme 1.23.x), Bug Report
gniibe added a comment to T4456: gpgme repeatedly segfaults claws-mail after update to 1.13.0.

Sorry, I overlooked. I think it is inside _gpgme_io_close calling the handler, and the handler segfaults.

Apr 19 2019, 6:05 AM · gpgme (gpgme 1.23.x), Bug Report
dkg created T4464: dane refers to draft-ietf-dane-openpgpkey-05, should be RFC 7929 .
Apr 19 2019, 1:30 AM · gnupg, Documentation, Bug Report

Apr 18 2019

aheinecke committed rG35899dc2903b: g10: Fix double free when locating by mbox (authored by aheinecke).
g10: Fix double free when locating by mbox
Apr 18 2019, 2:28 PM
aheinecke committed rGe57954ed278c: g10: Fix double free when locating by mbox (authored by aheinecke).
g10: Fix double free when locating by mbox
Apr 18 2019, 2:28 PM
aheinecke claimed T4462: GnuPG: Segfaults trying to encrypt / locate by mbox for specific keys.

I have a fix. I'll commit it later.

Apr 18 2019, 1:31 PM · Bug Report, gnupg
JW-D created T4463: GpgOL with different accounts in Office 2016 does not work in every account.
Apr 18 2019, 12:21 PM · Bug Report, gpg4win
aheinecke renamed T4462: GnuPG: Segfaults trying to encrypt / locate by mbox for specific keys from GnuPG: Segfaults trying to encrypt / locate by mbox to GnuPG: Segfaults trying to encrypt / locate by mbox for specific keys.
Apr 18 2019, 12:04 PM · Bug Report, gnupg
aheinecke created T4462: GnuPG: Segfaults trying to encrypt / locate by mbox for specific keys.
Apr 18 2019, 12:01 PM · Bug Report, gnupg
gniibe added a comment to T4456: gpgme repeatedly segfaults claws-mail after update to 1.13.0.

Apparently, it SEGV-ted itself by assert at line 468 in gpgme/src/engine.c.
For GpgSM, info->file_name is not assigned (while it is done by gpg and gpgconf).
The code hasn't been changed for a while, I don't know the exact reason why it becomes occur.

Apr 18 2019, 5:14 AM · gpgme (gpgme 1.23.x), Bug Report

Apr 17 2019

dkg committed rPf74c4673e6b6: gnome3: correctly detect when no GNOME screenlock exists (authored by dkg).
gnome3: correctly detect when no GNOME screenlock exists
Apr 17 2019, 10:48 PM
dkg committed rP65d2c6d5911a: gnome3: Use the default dbus timeout when checking for screenlock (authored by Zephaniah E. Loss-Cutler-Hull <zephaniah@gmail.com>).
gnome3: Use the default dbus timeout when checking for screenlock
Apr 17 2019, 10:48 PM
devnexen added a comment to D476: [libgcrypt] NetBSD support explicit_memset.

Done ! Thanks.

Apr 17 2019, 9:10 PM
devnexen added inline comments to D476: [libgcrypt] NetBSD support explicit_memset.
Apr 17 2019, 7:29 PM
jukivili added a comment to D476: [libgcrypt] NetBSD support explicit_memset.

I'm not actually sure how workflow should be on the 'patches' interface at dev.gnupg.org.

Apr 17 2019, 6:48 PM
catenacyber added a comment to T4461: Memory leak in read_block.

Fix is ok for oss-fuzz

Apr 17 2019, 4:38 PM · Bug Report
gniibe changed the status of T4461: Memory leak in read_block from Open to Testing.
Apr 17 2019, 3:02 AM · Bug Report
gniibe committed rGa861f9343d6e: g10: Fix a memory leak. (authored by gniibe).
g10: Fix a memory leak.
Apr 17 2019, 3:02 AM
gniibe added a comment to T4461: Memory leak in read_block.

I think that the bug has been there. The commits of import.c revealed the problem with your particular input.

Apr 17 2019, 3:01 AM · Bug Report
gniibe claimed T4461: Memory leak in read_block.

Thanks for your report. It was good you add "enter no passphrase for Alfa Test Key". Then, I saw the leak. (I misunderstood as if I needed the test environment.)
Anyway, I'm going to fix it now.

Apr 17 2019, 2:46 AM · Bug Report

Apr 16 2019

catenacyber created T4461: Memory leak in read_block.
Apr 16 2019, 6:06 PM · Bug Report
Blubberbub added a comment to T4456: gpgme repeatedly segfaults claws-mail after update to 1.13.0.

Can you see the problem and fix it with the given information?

Apr 16 2019, 2:47 PM · gpgme (gpgme 1.23.x), Bug Report
SHAGO79 awarded rE7933692f2e60: build: Build with LD_LIBRARY_PATH, use of DT_RPATH (1/2). a Love token.
Apr 16 2019, 10:54 AM
SHAGO79 accepted rEed924cebb511: Add src/secmem.{c,h} from libgcrypt master..

Hello World

Apr 16 2019, 10:52 AM
SHAGO79 resigned from rE6bca1ddc29a7: Add gpg-error-config to CLEANFILES..

Hello World

Apr 16 2019, 10:39 AM
SHAGO79 accepted rE6bca1ddc29a7: Add gpg-error-config to CLEANFILES..

Hello World

Apr 16 2019, 10:37 AM
gniibe changed the status of T4459: libgpg-error build issue with gawk 5.0.0 from Open to Testing.

Added a fix to GnuPG, too (master and stable 2.2).

Apr 16 2019, 8:29 AM · Gentoo, gpgrt, MacOS, Bug Report
matheusmoreira added a comment to T4457: Improve deletion of secret subkeys (don't delete primary key when subkey deletion is requested).

I've been studying the source code. When a fingerprint suffixed with ! is given as argument, the [do_delete_key](https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=blob;f=g10/delkey.c;h=cc567384612ccf0dfd41d9e620d6cd5e759fd7b6;hb=HEAD#l50) function correctly classifies the search descriptor as exact and finds the correct key using [keydb_search](https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=blob;f=g10/keydb.c;h=8c067e1dfbfa7a6394e44dbed3bfaef5a4fa7c43;hb=HEAD#l1853). However, the handle returned by [keydb_get_keyblock](https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=blob;f=g10/keydb.c;h=8c067e1dfbfa7a6394e44dbed3bfaef5a4fa7c43;hb=HEAD#l1352) apparently includes the primary key and all subkeys associated with it. After confirming the action with the user, the function iterates over all PKT_PUBLIC_KEY and PKT_PUBLIC_SUBKEY packets present in the keyblock, obtains the keygrip of each key and asks gpg-agent to delete it.

Apr 16 2019, 7:29 AM · patch, Bug Report, gnupg
gniibe committed rGee766b2b5d64: common: Fix AWK portability. (authored by gniibe).
common: Fix AWK portability.
Apr 16 2019, 6:29 AM
gniibe committed rGb6f0b0efa19e: common: Fix AWK portability. (authored by gniibe).
common: Fix AWK portability.
Apr 16 2019, 6:28 AM
gniibe added a comment to T4459: libgpg-error build issue with gawk 5.0.0.

I keep this ticket open, since it is also problem for other packages.

Apr 16 2019, 6:21 AM · Gentoo, gpgrt, MacOS, Bug Report

Apr 15 2019

gniibe committed rE7865041c77f4: awk: Prepare for Gawk 5.0. (authored by gniibe).
awk: Prepare for Gawk 5.0.
Apr 15 2019, 8:55 AM
aheinecke added a subtask for T4458: Certificate certifications: T4389: Gpg4win 3.1.8.
Apr 15 2019, 8:03 AM · kleopatra, gpg4win
aheinecke added a parent task for T4389: Gpg4win 3.1.8: T4458: Certificate certifications.
Apr 15 2019, 8:03 AM · gpg4win, Release Info
aheinecke changed the status of T4458: Certificate certifications from Open to Testing.

Fixed with: https://commits.kde.org/libkleo/245eff174331c49264d1248c529e0276e02e9e29

Apr 15 2019, 8:03 AM · kleopatra, gpg4win
Laurent Montel <montel@kde.org> committed rKLEOPATRAccd76ec573dd: GIT_SILENT: Increase version (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Increase version
Apr 15 2019, 8:01 AM
aheinecke claimed T4458: Certificate certifications.

Thanks for the report. Indeed I can also reproduce it with my own key. For signatures from expired / revoked / disabled keys it shows "No public key" because GnuPG returns the same error in that case. We can fix that by looking up the key ourself.

Apr 15 2019, 7:41 AM · kleopatra, gpg4win
gniibe claimed T4459: libgpg-error build issue with gawk 5.0.0.
Apr 15 2019, 6:40 AM · Gentoo, gpgrt, MacOS, Bug Report

Apr 14 2019

jukivili created T4460: libgcrypt performance TODOs in the S1 Public space.
Apr 14 2019, 2:14 PM · libgcrypt

Apr 13 2019

werner added projects to T4459: libgpg-error build issue with gawk 5.0.0: MacOS, gpgrt.
Apr 13 2019, 10:16 PM · Gentoo, gpgrt, MacOS, Bug Report
Marius_Schamschula created T4459: libgpg-error build issue with gawk 5.0.0.
Apr 13 2019, 5:48 PM · Gentoo, gpgrt, MacOS, Bug Report
JW-D added a comment to T4451: Kleopatra: OpenPGP Smart Card decription / private key not found.

By installation from version 2.3 an error occurred, I´ll send you a screenshot by e-mail. However, I have some comments to the current version which may also help: I have three keys, two on smart cards and one on a Yubikey. So long as only smart cards are used, it is no problem to change between the cards and they work fine. Problems occur, if a Yubikey comes in. (i) Not always a Yubikey is recognized by pressing F5. (ii) It the Yubikey is recognized and next a key from a smart card is needed, a computer restart is required.
I tried also command: gpgconf --kill gpg-agent
It was possible to change from smart card to Yubikey with the command. However, if the Yubikey 5 NFC was recognized, the only way to change back to the smart card was a restart of the computer.

Apr 13 2019, 5:02 PM · Windows, kleopatra, Bug Report, gpg4win
werner added a comment to T4453: gpgme does not work with unicode path gpg installations.

We will do a new release in two or three weeks.

Apr 13 2019, 11:55 AM · gpg4win, gpgme
werner committed rG64a5fd37271a: gpg: New caching functions. (authored by werner).
gpg: New caching functions.
Apr 13 2019, 11:49 AM

Apr 12 2019

FabioCarpi removed a project from T4458: Certificate certifications: Bug Report.
Apr 12 2019, 7:43 PM · kleopatra, gpg4win
FabioCarpi created T4458: Certificate certifications.
Apr 12 2019, 7:42 PM · kleopatra, gpg4win
gpgfan added a comment to T4453: gpgme does not work with unicode path gpg installations.

Dear Andre, LO team is not able to integrate your fix unless a new release of GPGme is ready. Usually you do that every half year or so, but sometimes the delay is much less (e.g. 1.11.0 and 1.11.1). Perhaps, you would find it possible to roll out a minor version of 1.13.0 to ease the suffering of international users a bit earlier?

Apr 12 2019, 4:39 PM · gpg4win, gpgme
aheinecke committed rGTO895728289aa4: Make draft key active only if draft enc is checked (authored by aheinecke).
Make draft key active only if draft enc is checked
Apr 12 2019, 1:38 PM
aheinecke committed rGTOfc5e4d44ed9d: Add GUI for draft encryption option (authored by aheinecke).
Add GUI for draft encryption option
Apr 12 2019, 1:19 PM
aheinecke committed rGTObb75b120506b: Fix some minor typos (authored by aheinecke).
Fix some minor typos
Apr 12 2019, 1:19 PM
aheinecke committed rO493802d8f4f8: Add new strings for the config dialog (authored by aheinecke).
Add new strings for the config dialog
Apr 12 2019, 12:12 PM
aheinecke committed rO790c5851e616: Prefer Outlook language over environment (authored by aheinecke).
Prefer Outlook language over environment
Apr 12 2019, 12:12 PM
aheinecke committed rOd5452d32c4a3: Fix typo in decrypt permanently action (authored by aheinecke).
Fix typo in decrypt permanently action
Apr 12 2019, 12:12 PM
werner committed rG60f384592144: gpg: Cache a once computed fingerprint in PKT_public_key. (authored by werner).
gpg: Cache a once computed fingerprint in PKT_public_key.
Apr 12 2019, 11:19 AM
aheinecke committed rOc0caa127d136: Don't complain about empty drafts (authored by aheinecke).
Don't complain about empty drafts
Apr 12 2019, 11:16 AM
aheinecke committed rO25c00f6c64fb: Make default folder selection account sensitive (authored by aheinecke).
Make default folder selection account sensitive
Apr 12 2019, 11:16 AM
aheinecke committed rObcedeb491315: Decrypt again after a draft was closed (authored by aheinecke).
Decrypt again after a draft was closed
Apr 12 2019, 11:16 AM
aheinecke committed rO0ac83d9d3f14: Don't take base message for drafts (authored by aheinecke).
Don't take base message for drafts
Apr 12 2019, 11:16 AM
aheinecke committed rO9edc0acf66ba: Add safety check for reordered attachments (authored by aheinecke).
Add safety check for reordered attachments
Apr 12 2019, 11:16 AM
aheinecke committed rO7c7c0788672b: Factor out activeInlineResponse in own function (authored by aheinecke).
Factor out activeInlineResponse in own function
Apr 12 2019, 11:16 AM
aheinecke committed rO8f4cb79a4173: Improve propchange debug output (authored by aheinecke).
Improve propchange debug output
Apr 12 2019, 11:16 AM

Apr 11 2019

dkg created T4457: Improve deletion of secret subkeys (don't delete primary key when subkey deletion is requested).
Apr 11 2019, 5:27 PM · patch, Bug Report, gnupg
aheinecke committed rOd7c38b4439c3: Explicitly note when close is passed for drafs (authored by aheinecke).
Explicitly note when close is passed for drafs
Apr 11 2019, 2:47 PM
aheinecke committed rO318265f025b2: Allow sending of decrypted crypto mails (authored by aheinecke).
Allow sending of decrypted crypto mails
Apr 11 2019, 2:47 PM
aheinecke committed rO1090fb4daafd: Pass crypto mails through write depending on state (authored by aheinecke).
Pass crypto mails through write depending on state
Apr 11 2019, 2:47 PM
aheinecke committed rO17350ecec751: Add for_encryption parameter to updateOOMData (authored by aheinecke).
Add for_encryption parameter to updateOOMData
Apr 11 2019, 2:47 PM
aheinecke committed rO5af5e351b9a6: Fix detection of async / sync encryption (authored by aheinecke).
Fix detection of async / sync encryption
Apr 11 2019, 2:47 PM
aheinecke committed rO63dc1d8b5c62: Do not store modified drafts if decrypt failed (authored by aheinecke).
Do not store modified drafts if decrypt failed
Apr 11 2019, 2:47 PM
aheinecke committed rOb0fb9bfeb01a: Allow property changes for encrypted drafts (authored by aheinecke).
Allow property changes for encrypted drafts
Apr 11 2019, 2:47 PM
Blubberbub added a comment to T4456: gpgme repeatedly segfaults claws-mail after update to 1.13.0.

I did that. It felt like it took longer for the error to appear with debug output enabled, but that is probably subjective/random noise.

Apr 11 2019, 12:54 PM · gpgme (gpgme 1.23.x), Bug Report
werner committed rD748c5c9ac83a: verein: Update currently owned BTC (authored by werner).
verein: Update currently owned BTC
Apr 11 2019, 12:36 PM
werner committed rD155398f87534: web: Fixed a totals line in kudos.org (authored by werner).
web: Fixed a totals line in kudos.org
Apr 11 2019, 12:36 PM
werner added a comment to T4456: gpgme repeatedly segfaults claws-mail after update to 1.13.0.

Can you please run claws like this:

Apr 11 2019, 11:29 AM · gpgme (gpgme 1.23.x), Bug Report
werner triaged T4456: gpgme repeatedly segfaults claws-mail after update to 1.13.0 as High priority.
Apr 11 2019, 11:23 AM · gpgme (gpgme 1.23.x), Bug Report
Blubberbub created T4456: gpgme repeatedly segfaults claws-mail after update to 1.13.0.
Apr 11 2019, 10:53 AM · gpgme (gpgme 1.23.x), Bug Report
werner committed rGdc4c7f65e32a: gpg: Accept also armored data from the WKD. (authored by werner).
gpg: Accept also armored data from the WKD.
Apr 11 2019, 10:07 AM
werner committed rGe9fcb0361ab4: gpg: Set a limit of 5 to the number of keys imported from the WKD. (authored by werner).
gpg: Set a limit of 5 to the number of keys imported from the WKD.
Apr 11 2019, 10:07 AM
werner committed rG1b1f649deaeb: gpg: Accept also armored data from the WKD. (authored by werner).
gpg: Accept also armored data from the WKD.
Apr 11 2019, 9:57 AM
werner committed rG40595b57936e: gpg: Set a limit of 5 to the number of keys imported from the WKD. (authored by werner).
gpg: Set a limit of 5 to the number of keys imported from the WKD.
Apr 11 2019, 9:56 AM
aheinecke committed rGb30351496dd3: speedo,w32: Install gpg-card.exe (authored by aheinecke).
speedo,w32: Install gpg-card.exe
Apr 11 2019, 8:54 AM

Apr 10 2019

aheinecke committed rOc74f3fd67783: Initial handling for edits on encrypted drafts (authored by aheinecke).
Initial handling for edits on encrypted drafts
Apr 10 2019, 3:48 PM
aheinecke committed rO2284a1726702: Ensure draft encrypt state is reset on error (authored by aheinecke).
Ensure draft encrypt state is reset on error
Apr 10 2019, 3:48 PM
aheinecke committed rO8012ed935296: Fix deadlock on synchronous encrypt (authored by aheinecke).
Fix deadlock on synchronous encrypt
Apr 10 2019, 3:48 PM
aheinecke committed rO67a46e71ffa3: po: Fix a mislabling in german l10n (authored by aheinecke).
po: Fix a mislabling in german l10n
Apr 10 2019, 3:48 PM
aheinecke committed rOb1cc214fc21d: Add helper function "is_draft_mail" (authored by aheinecke).
Add helper function "is_draft_mail"
Apr 10 2019, 3:48 PM
aheinecke committed rO19a62d5ddae1: Do not reset draft info for drafts (authored by aheinecke).
Do not reset draft info for drafts
Apr 10 2019, 3:48 PM
aheinecke committed rO32292181366b: minor: Add a missing return to improve dbg output (authored by aheinecke).
minor: Add a missing return to improve dbg output
Apr 10 2019, 9:43 AM
aheinecke committed rO9e4788126247: Add initial draft encryption support (authored by aheinecke).
Add initial draft encryption support
Apr 10 2019, 9:43 AM
aheinecke committed rOb63b4d5c4b36: Add SentOnBehalfOfName to ignored prop changes (authored by aheinecke).
Add SentOnBehalfOfName to ignored prop changes
Apr 10 2019, 9:43 AM
aheinecke committed rO49c36afbba98: Silence a too verbose trace (authored by aheinecke).
Silence a too verbose trace
Apr 10 2019, 9:43 AM
aheinecke added a comment to T4450: erron on gpa.

@sapienza Can you try it with Kleopatra please and if it fails there, too please post the "Diagnostics" from Kleopatra. (See "Blocco note" in Kleopatra for the same functionality)

Apr 10 2019, 9:27 AM · Info Needed, gpa, gpg4win
Laurent Montel <montel@kde.org> committed rKLEOPATRA733aa7d109e1: GIT_SILENT: Increase dependancies (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Increase dependancies
Apr 10 2019, 8:15 AM
dkg added a comment to T3767: simplify sharing dirmngr's across multiple GNUPGHOMEs.

One of the things that dirmngr has going for it is that it tracks the current network state, and it would be nice to be able to reuse that state across sessions. If an ephemeral keyring can't use a shared dirmngr, there are fewer arguments for having dirmngr in the first place, and people might be more justified in replacing it with things like https://gitlab.com/anarcat/scripts/blob/master/openpgp-key-get

Apr 10 2019, 2:52 AM · Documentation, Feature Request, gnupg, dirmngr

Apr 9 2019

jukivili committed rC2ffc689d4757: Use FreeBSD's elf_aux_info for detecting ARM HW features (authored by jukivili).
Use FreeBSD's elf_aux_info for detecting ARM HW features
Apr 9 2019, 9:07 PM
jukivili committed rC478581c5107a: Tune SHA-512/AVX2 and SHA-256/AVX2 implementations (authored by jukivili).
Tune SHA-512/AVX2 and SHA-256/AVX2 implementations
Apr 9 2019, 9:07 PM
jukivili committed rC6812a2c5bd2d: Use getauxval system function for detecting ARM HW features (authored by jukivili).
Use getauxval system function for detecting ARM HW features
Apr 9 2019, 9:07 PM
jukivili committed rC04a6c3c7482d: Disable SM3 in FIPS mode (authored by jukivili).
Disable SM3 in FIPS mode
Apr 9 2019, 9:07 PM
werner removed projects from T4450: erron on gpa: Info Needed, Bug Report.

Did you encrypt to a key of yours? You can only decrypt if you have the matching secret key for the public key you used for encryption. The error message: "No secret key" should be obvious.

Apr 9 2019, 8:53 PM · Info Needed, gpa, gpg4win
gpgfan added a comment to T4453: gpgme does not work with unicode path gpg installations.

Anglocentrism smells like a relic discrimination in our age of Unicode, let users name folders as they natively see the world. For example, a Greek/Russian/Turkish carpenter with calloused hands, who stores his chisel and hammer in a toolbox, might want to store computer tools like GPG or LibreOffice in a folder Εργαλεία/Инструменты/Araçlar (=Tools), but particular tool unexpectedly says “Error!”, which might be perceived as passive-aggressive “No, I was made to serve the needs of English-speaking celestials only”. Thanks to Andre Heinecke and Egor Pugin for sympathetic attitude and prompt steps to solve this issue.

Apr 9 2019, 7:53 PM · gpg4win, gpgme
egorpugin closed T4453: gpgme does not work with unicode path gpg installations as Resolved.

Looks good, thanks!
I think they (LO) will catch up with the next gpg4win or gpgme release or smth like that.

Apr 9 2019, 5:09 PM · gpg4win, gpgme