Page MenuHome GnuPG
Feed All Stories

Aug 14 2018

Serg67 created T4098: GpgSM: Add ECC support.
Aug 14 2018, 5:00 PM · gnupg (gpg23), Feature Request, S/MIME
nephirus created T4097: scdaemon does not handle extended APDUs correctly.
Aug 14 2018, 12:41 PM · scd, Bug Report

Aug 13 2018

BenM committed rM279cac0ffbb3: Symmetric example (authored by BenM).
Symmetric example
Aug 13 2018, 7:00 PM
BenM committed rMa256d8488261: Symmetric encryption example (authored by BenM).
Symmetric encryption example
Aug 13 2018, 6:50 PM
BenM committed rMed5ef8293cdb: Symmetric encryption example. (authored by BenM).
Symmetric encryption example.
Aug 13 2018, 6:31 PM
JJworx added a comment to T3999: automatically turn on/offer encryption if recipients' keys are known.

With certified keys the automation is working as expected.

Aug 13 2018, 10:58 AM · gpgol, Feature Request
aheinecke added a comment to T3838: GpgOL: 3.1.3-beta20 crash when sending encrypted mail (thorugh async sending).

Got a new OL 2013 test setup where this was finally reproducible for me.

Aug 13 2018, 7:09 AM · gpg4win, gpgol

Aug 10 2018

gniibe committed rG1b309d9f6199: g10: Fix undefined behavior when EOF in parsing packet for S2K. (authored by gniibe).
g10: Fix undefined behavior when EOF in parsing packet for S2K.
Aug 10 2018, 8:42 AM
gniibe committed rG822c63384506: g10: Fix undefined behavior when EOF in parsing packet for S2K. (authored by gniibe).
g10: Fix undefined behavior when EOF in parsing packet for S2K.
Aug 10 2018, 8:42 AM
gniibe triaged T4093: Undefined shift in parse_symkeyenc as Normal priority.
Aug 10 2018, 8:24 AM · Bug Report
gniibe added a comment to T4093: Undefined shift in parse_symkeyenc.

OK, I take this ticket.

Aug 10 2018, 8:23 AM · Bug Report
BenM added a comment to T4086: GPGME: sharing C compiler configuration with SWIG for generated bindings.

Discussion on the #python IRC channel last night with another experienced SWIG developer (of a proprietary and unnamed software project) has provided ass itional evidence supporting the theory that the cause of the problems with getting the bindings to run on Windows systems is indeed directly caused by the fact that Windows users are compiling GPGME and the bindings with a different compiler and runtime than those used to compile whichever version of Python they have obtained from elsewhere.

Aug 10 2018, 7:08 AM · gpgme
BenM committed rM94bf13e78e65: PEP8 compliance and other code fixes (authored by BenM).
PEP8 compliance and other code fixes
Aug 10 2018, 4:50 AM

Aug 9 2018

BenM committed rMb6d2a66b41fe: Link fixes (authored by BenM).
Link fixes
Aug 9 2018, 7:45 PM
aheinecke committed rO29f3ba005571: Add new function to check for preview pane (authored by aheinecke).
Add new function to check for preview pane
Aug 9 2018, 2:16 PM
aheinecke committed rOe8737eb59f76: Add ref in get_strong_reference (authored by aheinecke).
Add ref in get_strong_reference
Aug 9 2018, 2:16 PM
aheinecke committed rOb4da0f8ff076: Use utf8 gettext in ribbon callbacks (authored by aheinecke).
Use utf8 gettext in ribbon callbacks
Aug 9 2018, 2:16 PM
perske added a comment to T4095: Add non-interactive --quick-revoke-sig.

Well, I have already tried to explain the use case: To make using cryptography easier for our users (for most of them the command line is the hell ...) I have integrated GnuPG in our webmailer. The webmailer has a key management page where you can import and export keys (up- and download, import from mail, attach to mail etc.), where you can edit trust settings, and where you can sign other keys and revoke such signatures. The webmailer certainly does not offer all capabilities of GnuPG but certainly a substantial subset.

Aug 9 2018, 11:06 AM · gnupg (gpg22), Feature Request
JJworx added a comment to T3999: automatically turn on/offer encryption if recipients' keys are known.

The option you mean is "Disable non-blocking encrypt / sign", correct?
It's english in the german dialogue, btw.

Aug 9 2018, 9:40 AM · gpgol, Feature Request
aheinecke assigned T4093: Undefined shift in parse_symkeyenc to gniibe.

Thanks for the tests and the report.

Aug 9 2018, 8:41 AM · Bug Report
aheinecke triaged T4095: Add non-interactive --quick-revoke-sig as Wishlist priority.

This seems very special and I'm not sure if we should not say at some point that we won't add quick commands for everything ;-)

Aug 9 2018, 8:40 AM · gnupg (gpg22), Feature Request
aheinecke added a comment to T3999: automatically turn on/offer encryption if recipients' keys are known.

The crash on send should be avoidable by checking "Disable async encryption" in the options.
Yesterday I got a new OL 2013 test system with which I can reproduce the crash. So that will be fixed or worked around for the next release.

Aug 9 2018, 8:36 AM · gpgol, Feature Request
JJworx added a comment to T3999: automatically turn on/offer encryption if recipients' keys are known.

no. Outlook 2013 reproducably crashes on sending and won't toggle
encryption on.

Aug 9 2018, 7:39 AM · gpgol, Feature Request
lovetox closed T3813: GPGME error: "invalid crypto engine" in the MSYS2 version as Invalid.

Ok i saw they apply custom patches to _gpgme_mkstemp which are outdated and should be revisited, sorry for the noise

Aug 9 2018, 12:11 AM · Python, gpgme, Bug Report

Aug 8 2018

lovetox reopened T3813: GPGME error: "invalid crypto engine" in the MSYS2 version as "Open".

Actually i have now more debug output and i think i found the issue

Aug 8 2018, 11:55 PM · Python, gpgme, Bug Report
lovetox closed T3813: GPGME error: "invalid crypto engine" in the MSYS2 version as Invalid.

I close this for now, this seems a problem of the mingw packages in msys2

Aug 8 2018, 11:07 PM · Python, gpgme, Bug Report
perske created T4095: Add non-interactive --quick-revoke-sig.
Aug 8 2018, 6:33 PM · gnupg (gpg22), Feature Request
steve added a comment to T3254: Decide which password limit to use and consistently use that limitation.

ping, what's the status of this bug? it has been in testing for over one year. is that the correct status?

Aug 8 2018, 5:36 PM · Bug Report
aheinecke committed rMfdc07b3ddc2f: json: Only use calloc instead of malloc (authored by aheinecke).
json: Only use calloc instead of malloc
Aug 8 2018, 2:29 PM
aheinecke committed rM4dd1d0abd34a: json: Wipe memory in cJSON_Delete (authored by aheinecke).
json: Wipe memory in cJSON_Delete
Aug 8 2018, 2:29 PM
aheinecke committed rM974a95db04f9: json: Add checks when skipping byte (authored by aheinecke).
json: Add checks when skipping byte
Aug 8 2018, 1:37 PM
aheinecke added a comment to T3999: automatically turn on/offer encryption if recipients' keys are known.

Sure, this should work, local keys are preferred.

Aug 8 2018, 12:24 PM · gpgol, Feature Request
JJworx added a comment to T3999: automatically turn on/offer encryption if recipients' keys are known.

But can't I simply use the keys in my local keyring?

Aug 8 2018, 10:39 AM · gpgol, Feature Request
aheinecke committed rM6e48bb0f1cbf: json: Don't error out if chunksize is omitted (authored by aheinecke).
json: Don't error out if chunksize is omitted
Aug 8 2018, 9:51 AM
aheinecke closed T4094: [GPGME] Use-after-free problem in gpggencardkeyinteractor.cpp as Resolved.
Aug 8 2018, 9:33 AM · C++, gpgme, Bug Report
aheinecke added a comment to T3999: automatically turn on/offer encryption if recipients' keys are known.

No you can not use an "external" Web Key Directory. The point is that the provider (your domain) should be the source of the keys as it already manages the mail account. ( For more info see: https://wiki.gnupg.org/WKD )

Aug 8 2018, 9:33 AM · gpgol, Feature Request
aheinecke committed rM3b782443600e: cpp: Fix use after free in gencardkeyinteractor (authored by aheinecke).
cpp: Fix use after free in gencardkeyinteractor
Aug 8 2018, 9:29 AM
aheinecke added a comment to T4094: [GPGME] Use-after-free problem in gpggencardkeyinteractor.cpp.

Thanks for the report. I've commited a fix. (Returning the c_str here is ok as the data is not meant to be modified once "action" is called)
Please let us know if you find additional issues.

Aug 8 2018, 9:28 AM · C++, gpgme, Bug Report
JJworx added a comment to T3999: automatically turn on/offer encryption if recipients' keys are known.

I downloaded GPGwin v3.1.3 beta 20 today. The automatic key fetching fails in my case because we have no WKS. Never heard of that before.

Aug 8 2018, 7:45 AM · gpgol, Feature Request
Laurent Montel <montel@kde.org> committed rKLEOPATRAbf28a5162b23: GIT_SILENT: Time to increase it (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Time to increase it
Aug 8 2018, 7:02 AM

Aug 7 2018

lovetox added a comment to T3813: GPGME error: "invalid crypto engine" in the MSYS2 version.

Or with both packages installed, could i maybe debug somehow where it searches?

Aug 7 2018, 9:11 PM · Python, gpgme, Bug Report
lovetox added a comment to T3813: GPGME error: "invalid crypto engine" in the MSYS2 version.

BenM, msys2 uses pacman as packagemanager, all packages are build from source

Aug 7 2018, 8:48 PM · Python, gpgme, Bug Report
rkovacs created T4094: [GPGME] Use-after-free problem in gpggencardkeyinteractor.cpp.
Aug 7 2018, 7:26 PM · C++, gpgme, Bug Report
catenacyber added a comment to T4093: Undefined shift in parse_symkeyenc.

There is the same bug and fix in function parse_key :

diff --git a/g10/parse-packet.c b/g10/parse-packet.c
index 0d28e7ac1..b147179e2 100644
--- a/g10/parse-packet.c
+++ b/g10/parse-packet.c
@@ -2533,7 +2533,7 @@ parse_key (IOBUF inp, int pkttype, unsigned long pktlen,
                      err = gpg_error (GPG_ERR_INV_PACKET);
                      goto leave;
                    }
-                 ski->s2k.count = iobuf_get (inp);
+                 ski->s2k.count = iobuf_get_noeof (inp);
                  pktlen--;
                  if (list_mode)
                    es_fprintf (listfp, "\tprotect count: %lu (%lu)\n",
Aug 7 2018, 3:27 PM · Bug Report
aheinecke committed rO447ac6af6038: Merge remote-tracking branch 'dutch-l10n/dutch' (authored by aheinecke).
Merge remote-tracking branch 'dutch-l10n/dutch'
Aug 7 2018, 9:04 AM
Eagle_Erwin committed rO90077bd97759: Update Dutch translation (authored by Eagle_Erwin).
Update Dutch translation
Aug 7 2018, 9:04 AM
aheinecke committed rOb87948f3919b: po: Update pt translation (authored by aheinecke).
po: Update pt translation
Aug 7 2018, 9:04 AM
aheinecke committed rO9cba0288fbd4: malloc -> xmalloc (authored by aheinecke).
malloc -> xmalloc
Aug 7 2018, 9:04 AM
aheinecke committed rOc9a83a240024: Make send_message_to_ui_thread private (authored by aheinecke).
Make send_message_to_ui_thread private
Aug 7 2018, 9:04 AM
aheinecke reopened T3987: error: Folder is open in GnuPG's OpenPGP tool as "Open".

I misunderstood your original report.

Aug 7 2018, 8:36 AM · Bug Report, gpg4win
Laurent Montel <montel@kde.org> committed rKLEOPATRA2dc874eb010c: Use new syntax (authored by Laurent Montel <montel@kde.org>).
Use new syntax
Aug 7 2018, 7:35 AM
BenM added a comment to T3813: GPGME error: "invalid crypto engine" in the MSYS2 version.

Alternatively, if they wish to keep using the Python installer from python.org then they would need to drop MSys2 in favour of the same version of Microsoft Visual Studio used to compile the that specific version of Python with and use it to compile every part of the GnuPG stack, up to and including GPGME.

Aug 7 2018, 7:31 AM · Python, gpgme, Bug Report
BenM added a comment to T3813: GPGME error: "invalid crypto engine" in the MSYS2 version.

If that is indeed the case and the theory regarding runtime conflicts, currently under investigation in T3505 and T4086, also proves to be true; then MSys2 users and developers will need to cease using the precompiled versions of Python available from python.org and compile their own version of Python copy with MSys2.

Aug 7 2018, 7:17 AM · Python, gpgme, Bug Report
BenM added a comment to T3505: Port GPGME's Python bindings to Windows.

Windows 10 was obtained last week and the process of preparing a Windows build env began earlier today.

Aug 7 2018, 5:59 AM · Feature Request, gpgme, Python

Aug 6 2018

morgoth added a comment to T3381: dirmngr won't start on Windows 10 with admin level account.

Was anyone successful in debugging dirmngr? I'm having the same issue. The dirmngr process gets stuck, no output at all, and this causes Kleopatra to get stuck waiting for it. I can only run Kleopatra after I have killed the dirmngr process. If I understand correctly I still need this process for network-related functionality, so I would need to fix it if I want to use all functions.

Aug 6 2018, 7:21 PM · libassuan, Restricted Project, gpg4win, dirmngr, Windows, Bug Report
Dhinu added a comment to T3987: error: Folder is open in GnuPG's OpenPGP tool.

I updated the software to its latest version "gpg4win v3.1.1" and i'm still facing this issue.

Aug 6 2018, 5:55 PM · Bug Report, gpg4win
aheinecke renamed T4090: GpgOL: Add entry to attach public key in attachment menu from GpgOL: Add entry to attach public key in attachmebt menu to GpgOL: Add entry to attach public key in attachment menu.
Aug 6 2018, 10:25 AM · gpg4win, gpgol
aheinecke closed T4091: gpgme fails compilation in deep directory as Resolved.

Patch applied. Thanks.

Aug 6 2018, 10:03 AM · gpgme, Bug Report
aheinecke added a comment to T3894: re-evaluate default randomness choices during key generation on GNU/Linux platforms.

I think that the ultimate decision here lies with Werner. Additional review.
I think the biggest obstacle is that we don't want to change the random gathering code if it can be avoided and that the random code has been thoroughly reviewed / tested and is currently considered secure.

Aug 6 2018, 10:02 AM · libgcrypt, gnupg
aheinecke committed rMd09d19fa9fe1: Make GNUPGHOME for tests overridable (authored by aheinecke).
Make GNUPGHOME for tests overridable
Aug 6 2018, 10:01 AM
aheinecke triaged T4091: gpgme fails compilation in deep directory as Normal priority.

I do not see the harm in this patch and it seems useful. Indeed it seems better then making a directory in tmp as this might create regressions for others.

Aug 6 2018, 9:30 AM · gpgme, Bug Report
catenacyber created T4093: Undefined shift in parse_symkeyenc.
Aug 6 2018, 9:25 AM · Bug Report
Laurent Montel <montel@kde.org> committed rKLEOPATRA44775338aefb: GIT_SILENT: Prepare 5.9.0 (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Prepare 5.9.0
Aug 6 2018, 8:01 AM
gouttegd created T4092: Certificate requests generated from card-based ECDSA keys are incorrectly marked as RSA-signed in the S1 Public space.
Aug 6 2018, 12:00 AM · Restricted Project, Feature Request, S/MIME

Aug 2 2018

dkg added a comment to T3894: re-evaluate default randomness choices during key generation on GNU/Linux platforms.

This bug report has been around for several months now. it has a simple patch, a clear explanation, a report of running code, and examples of problems it solves.

Aug 2 2018, 7:34 PM · libgcrypt, gnupg

Aug 1 2018

mkrambach committed rM68a012deb3b5: js: make init export immutable (authored by mkrambach).
js: make init export immutable
Aug 1 2018, 12:53 PM

Jul 31 2018

mkrambach committed rM6313a2de9ee8: js: fix confusion about loop in last commit (authored by mkrambach).
js: fix confusion about loop in last commit
Jul 31 2018, 5:37 PM
mkrambach committed rM9d247b7fd5ed: js: Fix Key.hasSecret answer (authored by mkrambach).
js: Fix Key.hasSecret answer
Jul 31 2018, 4:56 PM

Jul 30 2018

mkrambach committed rMe16a87e83910: js: Making objects inmutable (authored by mkrambach).
js: Making objects inmutable
Jul 30 2018, 1:31 PM

Jul 29 2018

werner committed rGf1c0d9bb6506: gpg: Set a limit for a WKD import of 256 KiB. (authored by werner).
gpg: Set a limit for a WKD import of 256 KiB.
Jul 29 2018, 6:55 PM
werner committed rG8a98aa25bb4b: dirmngr: Validate SRV records in WKD queries. (authored by werner).
dirmngr: Validate SRV records in WKD queries.
Jul 29 2018, 6:55 PM
werner committed rG4f59187a17f1: common: New function to validate domain names. (authored by werner).
common: New function to validate domain names.
Jul 29 2018, 6:55 PM
werner committed rGd43248af9242: scd: Add support for Trustica Cryptoucan. (authored by nephirus).
scd: Add support for Trustica Cryptoucan.
Jul 29 2018, 6:55 PM
Laurent Montel <montel@kde.org> committed rKLEOPATRA1683084fb4ce: GIT_SILENT: Prepare 5.9rc (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Prepare 5.9rc
Jul 29 2018, 10:41 AM

Jul 28 2018

jukivili committed rC86e5e06a97ae: Add size optimized cipher block copy and xor functions (authored by jukivili).
Add size optimized cipher block copy and xor functions
Jul 28 2018, 9:56 AM

Jul 27 2018

mkrambach committed rM522121ea7e10: js: fix indentaion (authored by mkrambach).
js: fix indentaion
Jul 27 2018, 8:56 PM
mkrambach committed rM94ee0988d4ea: js: change the write access for js class methods (authored by mkrambach).
js: change the write access for js class methods
Jul 27 2018, 8:56 PM
vlmarek created T4091: gpgme fails compilation in deep directory.
Jul 27 2018, 7:32 PM · gpgme, Bug Report
werner committed rGebe727ef596e: dirmngr: Validate SRV records in WKD queries. (authored by werner).
dirmngr: Validate SRV records in WKD queries.
Jul 27 2018, 6:00 PM
werner committed rGe88f56f1937a: gpg: Set a limit for a WKD import of 256 KiB. (authored by werner).
gpg: Set a limit for a WKD import of 256 KiB.
Jul 27 2018, 6:00 PM
werner committed rGddee9f9409fb: common: New function to validate domain names. (authored by werner).
common: New function to validate domain names.
Jul 27 2018, 6:00 PM
mkrambach committed rMb18b96fb3647: js: clean up test extension (authored by mkrambach).
js: clean up test extension
Jul 27 2018, 11:29 AM
aheinecke created T4090: GpgOL: Add entry to attach public key in attachment menu.
Jul 27 2018, 8:04 AM · gpg4win, gpgol
aheinecke created T4089: Kleopatra: Remove ASCII Armor checkbox for private key export.
Jul 27 2018, 8:01 AM · gpg4win, kleopatra

Jul 26 2018

droidmonkey added a comment to T4084: Transition Windows RNG to use BCryptGenRandom .

Good to know, no problem, just wanted to document it just in case they do remove the API entirely in the future.

Jul 26 2018, 5:26 AM · libgcrypt, Feature Request
gniibe committed rG967d3649d24a: scd: Add support for Trustica Cryptoucan. (authored by nephirus).
scd: Add support for Trustica Cryptoucan.
Jul 26 2018, 4:46 AM
gniibe committed rG1111251945aa: Register DCO for Jiri Kerestes. (authored by gniibe).
Register DCO for Jiri Kerestes.
Jul 26 2018, 4:46 AM

Jul 25 2018

BenM added a comment to T3354: gpgme only builds against two versions of python at once.

This question and some of the answers to it on StackOverflow indicate some of the difficulties in getting SWIG generated Python modules to install at all. Essentially, though the easiest method currently available without extensive customisation of the setup.py file which would need to be done for both Python 2.7 and Python 3.x is to run /path/to/specific/pythonX.Y setup.py build and then follow that with /path/to/specific/pythonX.Y setup.py install and then follow that with renaming lang/python/build to a relevant directory and/or path name which indicates which version of python was used and the location or path it is in.

Jul 25 2018, 3:46 PM · Python, gpgme, Bug Report
werner committed rGbd4048c53316: dirmngr: Print a WARNING status for DNS config problems. (authored by werner).
dirmngr: Print a WARNING status for DNS config problems.
Jul 25 2018, 2:45 PM
aheinecke triaged T4087: Kleopatra: Revoke User-ID as Wishlist priority.

Indeed. Thanks for the reminder.
There is some code currently in there already but its not yet fully implemented. Needs to be finished.

Jul 25 2018, 1:19 PM · Restricted Project, Restricted Project, gpg4win, kleopatra, Feature Request
werner added a project to T4087: Kleopatra: Revoke User-ID: kleopatra.

Deleting a user id is more or less useless. What you want is to revoke a user id.

Jul 25 2018, 12:37 PM · Restricted Project, Restricted Project, gpg4win, kleopatra, Feature Request
werner created T4088: gpg outputs info to the tty despite that it used the Pinentry .
Jul 25 2018, 10:15 AM · gnupg (gpg20), Bug Report
DanVkx created T4087: Kleopatra: Revoke User-ID.
Jul 25 2018, 12:05 AM · Restricted Project, Restricted Project, gpg4win, kleopatra, Feature Request

Jul 24 2018

mkrambach committed rM4b343c4e3398: js: include armored Key in import callback (authored by mkrambach).
js: include armored Key in import callback
Jul 24 2018, 2:58 PM
mkrambach committed rM040b1ed40ada: js: Fix wrong encoding in received error messages (authored by mkrambach).
js: Fix wrong encoding in received error messages
Jul 24 2018, 2:58 PM
aheinecke renamed T3838: GpgOL: 3.1.3-beta20 crash when sending encrypted mail (thorugh async sending) from GpgOL: 3.1.3-beta20 crash when sending encrypted mail to GpgOL: 3.1.3-beta20 crash when sending encrypted mail (thorugh async sending).
Jul 24 2018, 2:02 PM · gpg4win, gpgol
aheinecke renamed T3838: GpgOL: 3.1.3-beta20 crash when sending encrypted mail (thorugh async sending) from GpgOL: Fix / Reenable async encryption to GpgOL: 3.1.3-beta20 crash when sending encrypted mail.
Jul 24 2018, 2:02 PM · gpg4win, gpgol
aheinecke changed the status of T3838: GpgOL: 3.1.3-beta20 crash when sending encrypted mail (thorugh async sending) from Testing to Open.

In the current gpg4win-3.1.3 beta 20 this is enabled again. It can be disabled in the options with "Disable non-blocking encrypt / sign"

Jul 24 2018, 1:59 PM · gpg4win, gpgol
aheinecke committed rW99a9ec7c1556: web: Fix localized gif url (authored by aheinecke).
web: Fix localized gif url
Jul 24 2018, 1:41 PM
aheinecke committed rW7bac71680269: web: Add 3.1.3-beta20 (authored by aheinecke).
web: Add 3.1.3-beta20
Jul 24 2018, 1:36 PM