Page MenuHome GnuPG
Feed All Stories

Dec 4 2020

ikloecker committed rLIBKLEOb770d27c6e1d: Enable static analysis jobs on Gitlab CI (authored by ikloecker).
Enable static analysis jobs on Gitlab CI
Dec 4 2020, 10:25 AM
gniibe added a comment to T2291: Smartcard interaction improvement (was: Shadowed private key design (for smartcard)).

if I am running master, it is now possible to have a setup where the same encryption key is shared by and usable from multiple smart cards?

Dec 4 2020, 8:30 AM · Restricted Project, Feature Request, gnupg
ikloecker committed rLIBKLEOcdd5273572f0: Merge branch 'work/static-analysis' into 'master' (authored by ikloecker).
Merge branch 'work/static-analysis' into 'master'
Dec 4 2020, 7:57 AM
lopter added a comment to T2291: Smartcard interaction improvement (was: Shadowed private key design (for smartcard)).

Thank you for all the work! Does it mean that, if I am running master, it is now possible to have a setup where the same encryption key is shared by and usable from multiple smart cards?

Dec 4 2020, 7:55 AM · Restricted Project, Feature Request, gnupg
Laurent Montel <montel@kde.org> committed rKLEOPATRAece361bd62e6: Remove unused includes (authored by Laurent Montel <montel@kde.org>).
Remove unused includes
Dec 4 2020, 7:50 AM
Laurent Montel <montel@kde.org> committed rLIBKLEO372edd4e2210: Remove unused include (authored by Laurent Montel <montel@kde.org>).
Remove unused include
Dec 4 2020, 7:36 AM

Dec 3 2020

jukivili committed rC2065720b5b06: tests/basic: check 32-bit and 64-bit overflow for CTR and ChaCha20 (authored by jukivili).
tests/basic: check 32-bit and 64-bit overflow for CTR and ChaCha20
Dec 3 2020, 8:04 PM
jukivili committed rC1a83df98b198: Prevent link-time optimization from inlining __gcry_burn_stack (authored by jukivili).
Prevent link-time optimization from inlining __gcry_burn_stack
Dec 3 2020, 8:04 PM
jukivili committed rCed45eac3b721: chacha20-ppc: fix 32-bit counter overflow handling (authored by jukivili).
chacha20-ppc: fix 32-bit counter overflow handling
Dec 3 2020, 8:04 PM
jukivili added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

AArch64 clang support was added to 'master' on 2018-03-28. One would need to backport commits 8ee38806245ca8452051b1a245f44082323f37f6...9b58e4a03ba3aeff7bae3f40da706977870c9649 to 1.8 branch.

Dec 3 2020, 7:39 PM · toolchain, MacOS, libgcrypt, Bug Report
ikloecker committed rKLEOPATRA4307edd79033: Add helper for serialization of parameters for key generation (authored by ikloecker).
Add helper for serialization of parameters for key generation
Dec 3 2020, 5:59 PM
ikloecker committed rKLEOPATRA99dc007770c5: Add widget/dialog for entering certificate details (authored by ikloecker).
Add widget/dialog for entering certificate details
Dec 3 2020, 5:59 PM
patrick added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

ARM64 has been only tested on platforms which support ELF.

While it doesn't looks good (using AMD64 even if it's ARM64), I think this patch should be applied:

diff --git a/cipher/asm-common-aarch64.h b/cipher/asm-common-aarch64.h
...
Dec 3 2020, 5:48 PM · toolchain, MacOS, libgcrypt, Bug Report
aheinecke committed rOe3b0e1159788: Fix multipart/encrypted and signed preview (authored by aheinecke).
Fix multipart/encrypted and signed preview
Dec 3 2020, 4:33 PM
aheinecke committed rO7b10d01d90fc: Add mssing initializer (authored by aheinecke).
Add mssing initializer
Dec 3 2020, 4:33 PM
aheinecke added a comment to D512: Adds Microsoft Edge (Chromium) browser support.

For the record, Thomas from mailvelope confirmed by signed mail that this is the correct id.

Dec 3 2020, 8:47 AM
gniibe triaged T5161: scd: For NetKey cards KEYINFO with keygrip fails as Normal priority.
Dec 3 2020, 8:26 AM · Restricted Project, scd
gniibe claimed T5161: scd: For NetKey cards KEYINFO with keygrip fails.

I think that T5150 was also not fixed completely.

Dec 3 2020, 8:26 AM · Restricted Project, scd
gniibe committed rG87d2c579cc38: scd:nks: Fix caching keygrip (more). (authored by gniibe).
scd:nks: Fix caching keygrip (more).
Dec 3 2020, 8:25 AM
gniibe added a comment to T5161: scd: For NetKey cards KEYINFO with keygrip fails.

I found a bug which resulted "Not Found <SCD>" when "SCD KEYINFO" is used with "--data" or "--".
It is fixed in rG54b88ae46062: scd: Fix KEYINFO command with --data option..

Dec 3 2020, 7:44 AM · Restricted Project, scd
gniibe committed rG54b88ae46062: scd: Fix KEYINFO command with --data option. (authored by gniibe).
scd: Fix KEYINFO command with --data option.
Dec 3 2020, 7:32 AM
gniibe edited projects for T5163: Cannot import NIST-P521 key to OpenPGP v3.3 smart card, added: gnupg, backport; removed gnupg (gpg22).

Fixed in master. I will backport to 2.2.

Dec 3 2020, 7:08 AM · Restricted Project, gnupg, scd, Bug Report
gniibe committed rGa25c99b156ca: scd:openpgp: Fix writing ECC key to card. (authored by gniibe).
scd:openpgp: Fix writing ECC key to card.
Dec 3 2020, 7:07 AM
gniibe added a comment to T5163: Cannot import NIST-P521 key to OpenPGP v3.3 smart card.

I was wrong. Patch is being updated...

Dec 3 2020, 6:33 AM · Restricted Project, gnupg, scd, Bug Report
gniibe committed rM7a4fe82a017b: python: Fix key_export*. (authored by gniibe).
python: Fix key_export*.
Dec 3 2020, 4:30 AM
gniibe committed rC16e855d49ca2: tests: Put a work around to tests/random for macOS. (authored by gniibe).
tests: Put a work around to tests/random for macOS.
Dec 3 2020, 3:54 AM
gniibe committed rC9769b40b54cf: tests: Put a work around to tests/random for macOS. (authored by gniibe).
tests: Put a work around to tests/random for macOS.
Dec 3 2020, 3:54 AM
gniibe claimed T5149: Incorrect error handling in export_key_minimal().

Thanks. Fixed in rM7a4fe82a017b: python: Fix key_export*..

Dec 3 2020, 3:40 AM · Python, gpgme, Bug Report
gniibe triaged T5159: make check fails for libgcrypt on Apple Silicon / ARM Mac as Normal priority.
Dec 3 2020, 3:11 AM · Restricted Project, MacOS, libgcrypt, Bug Report
gniibe changed the status of T5159: make check fails for libgcrypt on Apple Silicon / ARM Mac from Open to Testing.
Dec 3 2020, 3:11 AM · Restricted Project, MacOS, libgcrypt, Bug Report
gniibe added a project to T5159: make check fails for libgcrypt on Apple Silicon / ARM Mac: Restricted Project.

So, I'm going to push D513 to both of 1.8 and master (to be 1.9).

Dec 3 2020, 1:07 AM · Restricted Project, MacOS, libgcrypt, Bug Report

Dec 2 2020

Christoph Feck <cfeck@kde.org> committed rKLEOPATRA63f35e68e2ff: GIT_SILENT Update Appstream for new release (authored by Christoph Feck <cfeck@kde.org>).
GIT_SILENT Update Appstream for new release
Dec 2 2020, 11:33 PM
Christoph Feck <cfeck@kde.org> committed rKLEOPATRA0a7a2f08b95a: GIT_SILENT Update Appstream for new release (authored by Christoph Feck <cfeck@kde.org>).
GIT_SILENT Update Appstream for new release
Dec 2 2020, 11:33 PM
natarajmb added a comment to T5165: GpgOL plugin attachments showup intermittently .

It worked again, attaching the screenshot. Unfortunately had disabled the logging and hence no log info.

Dec 2 2020, 6:30 PM · gpgol, Bug Report, gpg4win
natarajmb created T5165: GpgOL plugin attachments showup intermittently .
Dec 2 2020, 6:17 PM · gpgol, Bug Report, gpg4win
aheinecke closed T4638: GpgOL: Permanently decrypt not available on Outlook 2010 as Resolved.

No plans to work on this.

Dec 2 2020, 2:13 PM · gpgol
aheinecke closed T4657: GpgOL: Add tooltips to resolver as Resolved.

Long since resolved.

Dec 2 2020, 2:11 PM · gpg4win, gpgol
aheinecke added a comment to T2227: Sign GpgOL to support group deployments.

For linking the MSI installer we already need a windows host and a windows sign host. The binaries inside that package we also sign usign the signhost / signkey which can be included in an optional / custom sign.mk during the build process. By default the path to the included sign.mk is gnupg-vsd/sign.mk in the src repo. But that can be changed of course.

Dec 2 2020, 2:10 PM · gpgol, Feature Request
aheinecke reopened T4118: GpgOL: Mitigate S/MIME Denial of Service due to CRL stalling as "Open".

Ah no, this is about the sending part, where we only encrypt to online validated keys, that is not mitigated at all. Disregard my last comment.

Dec 2 2020, 2:04 PM · gpg4win, gpgol
aheinecke closed T4118: GpgOL: Mitigate S/MIME Denial of Service due to CRL stalling as Resolved.

This is resolved with the preview feature in GpgOL-2.4.6 Gpg4win-3.1.12

Dec 2 2020, 2:03 PM · gpg4win, gpgol
aheinecke committed rOa21ec18d498c: Fix preview for multipart/signed pgp mails (authored by aheinecke).
Fix preview for multipart/signed pgp mails
Dec 2 2020, 1:18 PM
aheinecke accepted D512: Adds Microsoft Edge (Chromium) browser support.

Oh! Very Nice! Thanks for this. I've commited it with adding the uninstall parts.

Dec 2 2020, 11:45 AM
aheinecke committed rWcd260e73e667: Add edge support for gpgme-browser (authored by aheinecke).
Add edge support for gpgme-browser
Dec 2 2020, 11:41 AM
aheinecke added a project to T5164: GpgOL: Check that verify errors still show a decrypted message on decrypt & verify: Info Needed.

I could find no issue with the error handling for verify errors.

Dec 2 2020, 11:36 AM · Info Needed, gpgol
aheinecke committed rO42f9575b0711: po: Auto update po files (authored by aheinecke).
po: Auto update po files
Dec 2 2020, 11:22 AM
aheinecke committed rO3eb84bf2e48c: Actually add it.po file to git (authored by aheinecke).
Actually add it.po file to git
Dec 2 2020, 11:22 AM
aheinecke committed rO308d56db09f0: Add human readable debug output for "NO DATA" (authored by aheinecke).
Add human readable debug output for "NO DATA"
Dec 2 2020, 11:16 AM
aheinecke committed rO2064f270fb03: Rename string_printf to asprintf_s (authored by aheinecke).
Rename string_printf to asprintf_s
Dec 2 2020, 11:16 AM
aheinecke committed rO52bb0a550317: Add new S_ i18n macro for std::string (authored by aheinecke).
Add new S_ i18n macro for std::string
Dec 2 2020, 11:16 AM
werner committed rG63ed2054a1f3: kbx: Better error message in case of a crippled Libgcrypt. (authored by werner).
kbx: Better error message in case of a crippled Libgcrypt.
Dec 2 2020, 11:15 AM
werner committed rGacafa695e1e7: kbx: Better error message in case of a crippled Libgcrypt. (authored by werner).
kbx: Better error message in case of a crippled Libgcrypt.
Dec 2 2020, 11:14 AM
aheinecke committed rW0940417f9a56: Install gpgme-w32-spawn.exe also to bin_64 (authored by aheinecke).
Install gpgme-w32-spawn.exe also to bin_64
Dec 2 2020, 10:13 AM
aheinecke set Version to master on T5164: GpgOL: Check that verify errors still show a decrypted message on decrypt & verify.
Dec 2 2020, 9:50 AM · Info Needed, gpgol
aheinecke created T5164: GpgOL: Check that verify errors still show a decrypted message on decrypt & verify.
Dec 2 2020, 9:49 AM · Info Needed, gpgol
gniibe added a comment to T5161: scd: For NetKey cards KEYINFO with keygrip fails.

I can't see how it occurs. "SCE KEYINFO" and "SCD READKEY" with keygrip both goes exactly same code path (the difference is only the "action" argument).

Dec 2 2020, 9:13 AM · Restricted Project, scd
werner added a reviewer for D512: Adds Microsoft Edge (Chromium) browser support: aheinecke.
Dec 2 2020, 9:07 AM
gniibe added a comment to T5163: Cannot import NIST-P521 key to OpenPGP v3.3 smart card.

You better wipe ecc_d_padded or use xtrymalloc_secure.

Dec 2 2020, 9:07 AM · Restricted Project, gnupg, scd, Bug Report
werner added a comment to D513: Support macOS build with SIP by using posix_spawn in tests/random.

Given that this is limited to macOS I have neither objections for 1.8 nor for master

Dec 2 2020, 9:04 AM
werner added a comment to T5163: Cannot import NIST-P521 key to OpenPGP v3.3 smart card.

You better wipe ecc_d_padded or use xtrymalloc_secure.

Dec 2 2020, 8:45 AM · Restricted Project, gnupg, scd, Bug Report
gniibe triaged T5163: Cannot import NIST-P521 key to OpenPGP v3.3 smart card as High priority.
Dec 2 2020, 4:07 AM · Restricted Project, gnupg, scd, Bug Report
gniibe added a comment to T5163: Cannot import NIST-P521 key to OpenPGP v3.3 smart card.

Here is a patch:

Dec 2 2020, 4:06 AM · Restricted Project, gnupg, scd, Bug Report
gniibe claimed T5163: Cannot import NIST-P521 key to OpenPGP v3.3 smart card.
Dec 2 2020, 3:32 AM · Restricted Project, gnupg, scd, Bug Report
gniibe added a comment to T5163: Cannot import NIST-P521 key to OpenPGP v3.3 smart card.

In future, please try to minimize your log. Your log actually includes information of the session of keytocard before setting key attributes correctly.

Dec 2 2020, 3:31 AM · Restricted Project, gnupg, scd, Bug Report
gniibe removed a project from T5159: make check fails for libgcrypt on Apple Silicon / ARM Mac: Info Needed.

I created D513: Support macOS build with SIP by using posix_spawn in tests/random, which is more conservative; It only affects build under macOS.

Dec 2 2020, 2:22 AM · Restricted Project, MacOS, libgcrypt, Bug Report
gniibe created D513: Support macOS build with SIP by using posix_spawn in tests/random.
Dec 2 2020, 2:17 AM
jeffb255 added a comment to T5155: GPGol: Will work for one user and not another on the same machine. Windows 10 Outlook 2016 GPGOL 2.4.8 (gpg4win-3.1.14).

I created a different user on the same machine.
I logged with the addons enabled and disabled.

Dec 2 2020, 1:57 AM · Bug Report

Dec 1 2020

pedrolamas created D512: Adds Microsoft Edge (Chromium) browser support.
Dec 1 2020, 10:45 PM
ikloecker committed rLIBKLEOeb0d72f84a01: Merge branch 'work/static-analysis' into 'master' (authored by ikloecker).
Merge branch 'work/static-analysis' into 'master'
Dec 1 2020, 9:58 PM
ikloecker committed rLIBKLEOe81142a39b77: Enable static analysis jobs on Gitlab CI (authored by ikloecker).
Enable static analysis jobs on Gitlab CI
Dec 1 2020, 9:58 PM
mbirth added a comment to T5159: make check fails for libgcrypt on Apple Silicon / ARM Mac.

Put

extern char **environ;

after the the include directives.

Dec 1 2020, 9:44 PM · Restricted Project, MacOS, libgcrypt, Bug Report
ikloecker committed rLIBKLEO7a93c1f05f00: Follow invent's move to Qt 5.15 (authored by ikloecker).
Follow invent's move to Qt 5.15
Dec 1 2020, 8:51 PM
werner added a comment to T5159: make check fails for libgcrypt on Apple Silicon / ARM Mac.

Put

extern char **environ;

after the the include directives.

Dec 1 2020, 8:51 PM · Restricted Project, MacOS, libgcrypt, Bug Report
ikloecker committed rKLEOPATRA5fc298c5411e: Follow invent's move to Qt 5.15 (authored by ikloecker).
Follow invent's move to Qt 5.15
Dec 1 2020, 8:50 PM
werner added projects to T5163: Cannot import NIST-P521 key to OpenPGP v3.3 smart card: Bug Report, scd, gnupg (gpg22).
Dec 1 2020, 8:49 PM · Restricted Project, gnupg, scd, Bug Report
mbirth added a comment to T5159: make check fails for libgcrypt on Apple Silicon / ARM Mac.

After applying @gniibe 's patch:

Dec 1 2020, 7:05 PM · Restricted Project, MacOS, libgcrypt, Bug Report
ikloecker committed rKLEOPATRA9b6cb5afd835: Use oidForAttributeName() from libkleo (authored by ikloecker).
Use oidForAttributeName() from libkleo
Dec 1 2020, 5:37 PM
ikloecker committed rLIBKLEObea0c29c398e: Add oidForAttributeName() (authored by ikloecker).
Add oidForAttributeName()
Dec 1 2020, 5:34 PM
aheinecke committed rO0d09905c3bb0: Add gpgrt based std::string printf function (authored by aheinecke).
Add gpgrt based std::string printf function
Dec 1 2020, 5:32 PM
aheinecke committed rO3154ae7a8e41: Read compliance name from libkleopatrarc (authored by aheinecke).
Read compliance name from libkleopatrarc
Dec 1 2020, 5:32 PM
aheinecke committed rOf957b44dbaac: Unify icons for OpenPGP and S/MIME (authored by aheinecke).
Unify icons for OpenPGP and S/MIME
Dec 1 2020, 5:32 PM
aheinecke committed rO04ba931792ab: Add oomhelper for folder picker (authored by aheinecke).
Add oomhelper for folder picker
Dec 1 2020, 5:32 PM
szszszsz-nitrokey updated the task description for T5163: Cannot import NIST-P521 key to OpenPGP v3.3 smart card.
Dec 1 2020, 2:23 PM · Restricted Project, gnupg, scd, Bug Report
aheinecke triaged T5155: GPGol: Will work for one user and not another on the same machine. Windows 10 Outlook 2016 GPGOL 2.4.8 (gpg4win-3.1.14) as Low priority.

Changing this to priority low until I see a second report from a different user with a similar log.
This looks more like a broken Outlook setup on this users account then a problem where we can actually help.

Dec 1 2020, 2:16 PM · Bug Report
szszszsz-nitrokey created T5163: Cannot import NIST-P521 key to OpenPGP v3.3 smart card in the S1 Public space.
Dec 1 2020, 2:14 PM · Restricted Project, gnupg, scd, Bug Report
aheinecke added a comment to T5155: GPGol: Will work for one user and not another on the same machine. Windows 10 Outlook 2016 GPGOL 2.4.8 (gpg4win-3.1.14).

No, which addons are active is a user property. So maybe you can try disabling all others but GpgOL, and then basically bisect which one it is that is conflicting.

Dec 1 2020, 2:12 PM · Bug Report
werner committed rG4f9ac5dac093: doc: Add parameters for batch generation of ECC keys. (authored by Jens Meißner <meissner@b1-systems.de>).
doc: Add parameters for batch generation of ECC keys.
Dec 1 2020, 10:02 AM
werner committed rGa3f95a29b97d: doc: Add parameters for batch generation of ECC keys. (authored by Jens Meißner <meissner@b1-systems.de>).
doc: Add parameters for batch generation of ECC keys.
Dec 1 2020, 9:59 AM
werner created T5162: Import problem due to disabled brainpool curves.
Dec 1 2020, 9:35 AM · Bug Report, libgcrypt, gnupg (gpg22)
werner added a comment to T5141: GnuPG: Make quick-gen-key work for keys on PIV cards.

Go ahead (but w/o the /*if (keytime*)*/ line ;-)

Dec 1 2020, 9:11 AM · gnupg (gpg23)
werner added a comment to T5159: make check fails for libgcrypt on Apple Silicon / ARM Mac.

The problem is that posix_spawn is not portable enough for libgcrypt. It is really time that we move the spawn functions from gnupg to gpgrt so that we can use them also in Libgcrypt.

Dec 1 2020, 9:08 AM · Restricted Project, MacOS, libgcrypt, Bug Report
gniibe closed T5151: GPGME++ : bad passphrase problems as Resolved.
Dec 1 2020, 5:34 AM · segv, gpgme, Bug Report
gniibe added a comment to T5159: make check fails for libgcrypt on Apple Silicon / ARM Mac.

BTW, I'm not sure if the claim in T5009#136688 is correct.

Dec 1 2020, 4:18 AM · Restricted Project, MacOS, libgcrypt, Bug Report
gniibe added a comment to T5159: make check fails for libgcrypt on Apple Silicon / ARM Mac.

See also: https://dev.gnupg.org/T5009#136688

Dec 1 2020, 3:16 AM · Restricted Project, MacOS, libgcrypt, Bug Report
gniibe added a comment to T5159: make check fails for libgcrypt on Apple Silicon / ARM Mac.

See my comment in: https://dev.gnupg.org/T5024#139701

Dec 1 2020, 3:10 AM · Restricted Project, MacOS, libgcrypt, Bug Report
gniibe added a comment to T5024: libtool problem for some platforms for 'make check' (program built with -no-install won't work without installation).

For macOS, with SIP, some program like libgcrypt/tests/random fails, because the hack for DYLD_LIBRARY_PATH by libtool doesn't work for child process:
https://developer.apple.com/library/archive/documentation/Security/Conceptual/System_Integrity_Protection_Guide/RuntimeProtections/RuntimeProtections.html

Dec 1 2020, 3:09 AM · toolchain

Nov 30 2020

ikloecker added a comment to T5141: GnuPG: Make quick-gen-key work for keys on PIV cards.

The following (probably not entirely correct) patch fixes the problem because it marks the PIV card key as pCARDKEY even though keytime is 0.

diff --git a/g10/keygen.c b/g10/keygen.c
index b510525e3..03c929c0b 100644
--- a/g10/keygen.c
+++ b/g10/keygen.c
@@ -4720,7 +4720,8 @@ quick_generate_keypair (ctrl_t ctrl, const char *uid, const char *algostr,
Nov 30 2020, 9:48 PM · gnupg (gpg23)
mbirth added a comment to T5159: make check fails for libgcrypt on Apple Silicon / ARM Mac.

After disabling SIP, now all checks pass without having the library symlinked to /usr/local/lib. So it might be T2056: libgcrypt: make check fails "random" test on OS X 10.11 with link error after all.

Nov 30 2020, 9:03 PM · Restricted Project, MacOS, libgcrypt, Bug Report
mbirth added a comment to T5159: make check fails for libgcrypt on Apple Silicon / ARM Mac.

After doing:

Nov 30 2020, 8:32 PM · Restricted Project, MacOS, libgcrypt, Bug Report
jeffb255 added a comment to T5155: GPGol: Will work for one user and not another on the same machine. Windows 10 Outlook 2016 GPGOL 2.4.8 (gpg4win-3.1.14).

Wouldn't the incompatibility cause all the users to have the same problem, rather than one not and all others to have the problem?
Attached is the file that you requested.

Nov 30 2020, 8:13 PM · Bug Report
bernhard added a comment to T5056: About Kleopatra showing unknown version number.

@s7r Thanks for testing and letting us know!

Nov 30 2020, 5:20 PM · kleopatra