Page MenuHome GnuPG
Feed All Stories

Oct 15 2019

gniibe committed rGfe02709ffd3c: po: Update Japanese translation. (authored by gniibe).
po: Update Japanese translation.
Oct 15 2019, 3:07 AM
gniibe committed rG66eb953f4380: gpg: The first key should be in candidates. (authored by gniibe).
gpg: The first key should be in candidates.
Oct 15 2019, 2:48 AM
gniibe committed rG2924ac374eb8: gpg: Fix a memory leak in get_best_pubkey_byname. (authored by gniibe).
gpg: Fix a memory leak in get_best_pubkey_byname.
Oct 15 2019, 2:48 AM
gniibe committed rGc933c15d587a: scd,ccid: Add 08e6:34c2 (GEMPC_EZIO). (authored by gniibe).
scd,ccid: Add 08e6:34c2 (GEMPC_EZIO).
Oct 15 2019, 2:46 AM
gniibe added projects to T4654: Gemalto Ezio Shield (CT710): CCID command failed: Parameter error at offset 7: Restricted Project, scd.

@pow, thanks for a reference. But problem here is that there are multiple products with same name.

Oct 15 2019, 2:44 AM · scd, Restricted Project, Bug Report

Oct 14 2019

Laurent Montel <montel@kde.org> committed rLIBKLEOafe7635652c1: GIT_SILENT: Time to increase dependancy. Now we depend against new KF5… (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Time to increase dependancy. Now we depend against new KF5…
Oct 14 2019, 2:14 PM
Laurent Montel <montel@kde.org> committed rKLEOPATRA881779fcc637: GIT_SILENT: Time to increase dependancy. Now we depend against new KF5… (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Time to increase dependancy. Now we depend against new KF5…
Oct 14 2019, 1:55 PM
npreining added a comment to T2760: Populate comment field when exporting authentication key for SSH.

@werner Yes, that sounds great, and would help already a lot, but extending it for card keys would be optimal. Thanks for your work.

Oct 14 2019, 12:58 PM · gnupg24, ssh, Feature Request
werner edited projects for T2760: Populate comment field when exporting authentication key for SSH, added: gnupg (gpg23), ssh; removed gnupg.

In master (to be 2.3) you can add a Label: line into the sub key file of on-disk keys. I use this for quite some time now to show me alabel for my on-disk ssh keys so that I known which one was requested. We can and should extend this to card keys.

Oct 14 2019, 9:28 AM · gnupg24, ssh, Feature Request
npreining added a comment to T2760: Populate comment field when exporting authentication key for SSH.

Same here, having YubiKeys and on-disk ssh keys from several computers, it is a bit a pain not to know which key is actually used. Any chances to get at least an update via manual editing of the comment?

Oct 14 2019, 7:01 AM · gnupg24, ssh, Feature Request

Oct 12 2019

werner committed rG926cccef8541: doc: Fix c+p bug in the examples for --import-filter. (authored by werner).
doc: Fix c+p bug in the examples for --import-filter.
Oct 12 2019, 12:38 PM
werner committed rGbeeab41e47d3: doc: Fix c+p bug in the examples for --import-filter. (authored by werner).
doc: Fix c+p bug in the examples for --import-filter.
Oct 12 2019, 12:38 PM

Oct 11 2019

bjmgeek added a comment to T3020: Lock files not compatible between Windows and Linux (invalid size).

I've also noticed this issue on windows when trying to symlink %APPDATA%\gnupg to $HOME/.gnupg under msys32.

Oct 11 2019, 8:18 PM · Bug Report, gnupg
bjmgeek awarded T3020: Lock files not compatible between Windows and Linux (invalid size) a Haypence token.
Oct 11 2019, 8:15 PM · Bug Report, gnupg
gniibe committed rCff0f1782560e: ecc: Handle ephemeral key as opaque octets. (authored by gniibe).
ecc: Handle ephemeral key as opaque octets.
Oct 11 2019, 10:17 AM
Laurent Montel <montel@kde.org> committed rLIBKLEOaab68f33c6d8: GIT_SILENT: Prepare 5.12.3 (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Prepare 5.12.3
Oct 11 2019, 7:45 AM
Laurent Montel <montel@kde.org> committed rKLEOPATRAacb3bc5fb57d: GIT_SILENT: Prepare 5.12.3 (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Prepare 5.12.3
Oct 11 2019, 7:06 AM

Oct 10 2019

gniibe committed rCf6aac4771921: ecc: again. (authored by gniibe).
ecc: again.
Oct 10 2019, 10:13 AM
gniibe committed rC459944f1cd27: ecc: Fix X448 entry. (authored by gniibe).
ecc: Fix X448 entry.
Oct 10 2019, 10:12 AM
gniibe committed rC8053a23a091e: ecc: Use fixed-size little-endian bytes for ECC_DIALECT_SAFECURVE. (authored by gniibe).
ecc: Use fixed-size little-endian bytes for ECC_DIALECT_SAFECURVE.
Oct 10 2019, 10:09 AM
gniibe committed rCf44cdcd7e4fc: Merge branch 'master' into gniibe/x448 (authored by gniibe).
Merge branch 'master' into gniibe/x448
Oct 10 2019, 10:09 AM
gniibe committed rC80cf289905ac: ecc: Consolidate encoding a point for Montgomery curve. (authored by gniibe).
ecc: Consolidate encoding a point for Montgomery curve.
Oct 10 2019, 6:31 AM

Oct 9 2019

pow added a comment to T4654: Gemalto Ezio Shield (CT710): CCID command failed: Parameter error at offset 7.

Dear Martin,

Oct 9 2019, 11:56 PM · scd, Restricted Project, Bug Report
gniibe committed rCcca98375b556: ecc: Introduce ECC_DIALECT_SAFECURVE. (authored by gniibe).
ecc: Introduce ECC_DIALECT_SAFECURVE.
Oct 9 2019, 1:56 PM
gniibe committed rC82f092bebd9c: ecc: Use "X448" instead of "Curve448". (authored by gniibe).
ecc: Use "X448" instead of "Curve448".
Oct 9 2019, 1:56 PM
gniibe committed rC7fd4dcdbc0eb: ecc: Add Curve448. (authored by gniibe).
ecc: Add Curve448.
Oct 9 2019, 1:56 PM
martin.von.wittich added a comment to T4654: Gemalto Ezio Shield (CT710): CCID command failed: Parameter error at offset 7.

Not sure what I did wrong this time, but it's broken again - GPG will again prompt for the PIN on my computer instead of on the Gemalto Ezio Shield reader :(

I'm using GnuPG 2.2.4-1ubuntu1.2 with your patch applied:

Oct 9 2019, 1:26 PM · scd, Restricted Project, Bug Report
gniibe committed rCba0b31f26366: ecc: More clean-up for Ed25519 and Curve25519. (authored by gniibe).
ecc: More clean-up for Ed25519 and Curve25519.
Oct 9 2019, 10:39 AM
gniibe added a project to T4158: UIF (User Interaction Flag) DO support: Restricted Project.
Oct 9 2019, 4:17 AM · Restricted Project, Feature Request, scd, gnupg
gniibe added a project to T4633: gpg argument "--passphrase=" yields 'missing argument for option "--passphrase="': Restricted Project.
Oct 9 2019, 4:16 AM · Restricted Project, gnupg (gpg22), Bug Report
gniibe added a project to T4713: Bug in get_best_pubkey_byname: Restricted Project.
Oct 9 2019, 4:15 AM · Restricted Project, gnupg (gpg23)
gniibe added a project to T4695: Remove SERIALNO as an identifier to select keys: Restricted Project.
Oct 9 2019, 4:15 AM · Restricted Project, Feature Request, gnupg
gniibe committed rG7535f1d47a35: gpg: The first key should be in candidates. (authored by gniibe).
gpg: The first key should be in candidates.
Oct 9 2019, 2:48 AM
gniibe changed the status of T4713: Bug in get_best_pubkey_byname from Open to Testing.

I believe that constraint of ret_keyblock != NULL is OK.
Pushing the fix.
Perhaps, backport to 2.2 should be done, too.

Oct 9 2019, 2:44 AM · Restricted Project, gnupg (gpg23)

Oct 8 2019

gniibe committed rC7bbc3adc8bc7: Merge branch 'gniibe/x448' of playfair.gnupg.org:/git/libgcrypt (authored by gniibe).
Merge branch 'gniibe/x448' of playfair.gnupg.org:/git/libgcrypt
Oct 8 2019, 9:27 AM
gniibe committed rC2ec2ea3d66ff: ecc: Add Curve448. (authored by gniibe).
ecc: Add Curve448.
Oct 8 2019, 9:27 AM
gniibe committed rCd66a4856eb0c: ecc: Fix hard-coded value for 25519 to allow other modern curves. (authored by gniibe).
ecc: Fix hard-coded value for 25519 to allow other modern curves.
Oct 8 2019, 9:13 AM
gniibe committed rC13038098e099: Merge branch 'gniibe/x448' of playfair.gnupg.org:/git/libgcrypt (authored by gniibe).
Merge branch 'gniibe/x448' of playfair.gnupg.org:/git/libgcrypt
Oct 8 2019, 8:34 AM
gniibe committed rC254c5279058f: ecc: Clean up for decoding point. (authored by gniibe).
ecc: Clean up for decoding point.
Oct 8 2019, 8:27 AM
Laurent Montel <montel@kde.org> committed rKLEOPATRA5660c3d7ce7d: Add kde release version (authored by Laurent Montel <montel@kde.org>).
Add kde release version
Oct 8 2019, 8:11 AM
gniibe committed rC6e57242c61bc: random: Clean up unused old internal API. (authored by gniibe).
random: Clean up unused old internal API.
Oct 8 2019, 5:36 AM

Oct 7 2019

werner committed rG2b922465cb59: doc: Clarify that code assignments for g10 code and me terminated. (authored by werner).
doc: Clarify that code assignments for g10 code and me terminated.
Oct 7 2019, 4:04 PM
werner committed rGf4bdf8e59087: kbx: Implement update for the STORE command. (authored by werner).
kbx: Implement update for the STORE command.
Oct 7 2019, 4:04 PM
OliverL added a comment to T3917: GPGOL: No body in the mail and gpgolXXX.dat file attached when opening with Thunderbird/Enigmail + Exchange and Exquilla.

I have the same effect if I send a signed text-only or HTML email using Outlook 365 and our Exchange 365 and if I view the mail on Outlook on Android. The mail shows no contents only the file. If I view the mail using Outlook 365 on my PC or Windows 10 Mail it looks fine.
If I address it also to my Microsoft account and my Gmail account (using all adresses in the TO: field of the same mail) the email looks normal in the Gmail Android app and (!) in Outlook for Android.
So the same mail - both in the same Outlook for Android app - looks correct in my Microsoft account inbox but only shows the file in my Exchange inbox - in the same Outlook App. Weird… Nokia 7 plus, Android 9, newest patch level (September 2019) and no updates in Google Play Store.
BTW: In Exchange 365 I configured the message flow, default remote domain (there is no other) to never to use Rich Text, always and only HTML.

Oct 7 2019, 2:54 PM · gpgol, Bug Report, gpg4win
flockinger64 closed T4720: GPG hangs on 100% CPU after kernel update as Resolved.
Oct 7 2019, 12:08 PM · Bug Report
flockinger64 added a comment to T4720: GPG hangs on 100% CPU after kernel update.

Thanks for the feedback! Right now it hangs only for a few seconds, then works as usual. No idea how this come, but I'll close the issue and contact the ML if it appears again.

Oct 7 2019, 12:07 PM · Bug Report
pow added a comment to T4475: Gemalto IDBridge CT710 && Pinentry.

Put

log-file /somewhere/scd.log
debug ipc,cardio
verbose

into ~/.gnupg/scdaemon.conf and kill scdaemon. Then look at the output. I would suggest to first stop the pcscd so that GnuPG's internal CCID driver will be used. Make also sure that there is no a permission problem with the usb port. In case of a CCID (card reader protocol) problem a

debug-ccid-driver

in scdaemon.conf will also be helpful.

Oct 7 2019, 8:49 AM · Feature Request
Laurent Montel <montel@kde.org> committed rKLEOPATRA5dea10a57535: Add quit icon (authored by Laurent Montel <montel@kde.org>).
Add quit icon
Oct 7 2019, 8:48 AM
Laurent Montel <montel@kde.org> committed rKLEOPATRA6c9f9323b3eb: Fix Bug 410123 - Please add icons to actions in tray context menu (authored by Laurent Montel <montel@kde.org>).
Fix Bug 410123 - Please add icons to actions in tray context menu
Oct 7 2019, 8:42 AM
gniibe added a comment to T4713: Bug in get_best_pubkey_byname.

If we can assume ret_keyblock != NULL (it is, in current implementation), it can be as simple as:

diff --git a/g10/getkey.c b/g10/getkey.c
index 6802026f6..27bbd354c 100644
--- a/g10/getkey.c
+++ b/g10/getkey.c
@@ -1354,6 +1354,8 @@ get_best_pubkey_byname (ctrl_t ctrl, enum get_pubkey_modes mode,
   int is_mbox = is_valid_mailbox (name);
   int wkd_tried = 0;
Oct 7 2019, 3:58 AM · Restricted Project, gnupg (gpg23)
gniibe committed rGe28572116fe4: gpg: Fix a memory leak in get_best_pubkey_byname. (authored by gniibe).
gpg: Fix a memory leak in get_best_pubkey_byname.
Oct 7 2019, 3:51 AM

Oct 4 2019

werner added a comment to T4720: GPG hangs on 100% CPU after kernel update.

Please try with the latest GnuPG version (2.2.17) - it is unlikely that we can give support for an old version with Ubuntu's own set of patches. It is also advisable to post to the gnupg-users ML because over there you have hundreds of Ubuntu users.

Oct 4 2019, 10:55 PM · Bug Report
flockinger64 created T4720: GPG hangs on 100% CPU after kernel update.
Oct 4 2019, 8:13 PM · Bug Report
bernhard committed rW270371dddd46: web: add wiki as explicit support link (authored by bernhard).
web: add wiki as explicit support link
Oct 4 2019, 6:12 PM
bernhard committed rW20299051d01e: web: removing duplicated section of NEWS.last (authored by bernhard).
web: removing duplicated section of NEWS.last
Oct 4 2019, 6:12 PM
marian001 created T4719: Outlook plugin GpgOL causes Outlook not to include message body into reply email.
Oct 4 2019, 4:36 PM · Bug Report
aheinecke moved T4525: GpgOL: Error when moving opened S/MIME Mails with attachments on Exchange from Backlog to In Progress on the g10code board.
Oct 4 2019, 4:34 PM · g10code, gpg4win, Bug Report, gpgol
aheinecke moved T4543: GpgOL: Moved S/MIME mails can no longer be read by other clients from Backlog to In Progress on the g10code board.
Oct 4 2019, 4:34 PM · g10code, S/MIME, gpg4win, gpgol
aheinecke added a project to T4525: GpgOL: Error when moving opened S/MIME Mails with attachments on Exchange: g10code.
Oct 4 2019, 4:32 PM · g10code, gpg4win, Bug Report, gpgol
aheinecke added a project to T4543: GpgOL: Moved S/MIME mails can no longer be read by other clients: g10code.
Oct 4 2019, 4:31 PM · g10code, S/MIME, gpg4win, gpgol
aheinecke committed rOee6c1cb59204: Restore msg class for S/MIME after move (authored by aheinecke).
Restore msg class for S/MIME after move
Oct 4 2019, 4:19 PM
aheinecke renamed T4543: GpgOL: Moved S/MIME mails can no longer be read by other clients from GpgOL: Moved S/MIME mails with attachments can no longer be read by other clients to GpgOL: Moved S/MIME mails can no longer be read by other clients.
Oct 4 2019, 4:14 PM · g10code, S/MIME, gpg4win, gpgol
aheinecke created T4718: GpgOL: Permanently decrypt - Ensure that message headers are fixed too.
Oct 4 2019, 2:49 PM
gniibe added a comment to T4713: Bug in get_best_pubkey_byname.
diff --git a/g10/getkey.c b/g10/getkey.c
index de5024198..051b21203 100644
--- a/g10/getkey.c
+++ b/g10/getkey.c
@@ -1272,6 +1272,48 @@ only_expired_enc_subkeys (kbnode_t keyblock)
   return any? 1 : 0;
 }
Oct 4 2019, 8:58 AM · Restricted Project, gnupg (gpg23)
werner added a comment to T4683: Release Libgcrypt 1.8.5.

See https://minerva.crocs.fi.muni.cz/ for a description of the timing attack.

Oct 4 2019, 8:57 AM · CVE, Release Info, libgcrypt
gniibe added a comment to T4713: Bug in get_best_pubkey_byname.
Oct 4 2019, 8:56 AM · Restricted Project, gnupg (gpg23)

Oct 3 2019

werner committed rG7d9aad63c4f1: gpg: Ignore all SHA-1 signatures in 3rd party key signatures. (authored by werner).
gpg: Ignore all SHA-1 signatures in 3rd party key signatures.
Oct 3 2019, 6:21 PM
werner committed rGedc36f59fcfc: gpg: Be prepared for chosen-prefix SHA-1 collisions in key signatures. (authored by werner).
gpg: Be prepared for chosen-prefix SHA-1 collisions in key signatures.
Oct 3 2019, 5:49 PM
werner committed rGc4f2d9e3e1d7: gpg: Be prepared for chosen-prefix SHA-1 collisions in key signatures. (authored by werner).
gpg: Be prepared for chosen-prefix SHA-1 collisions in key signatures.
Oct 3 2019, 5:47 PM
werner committed rG63dbc817e7dc: gpg: Read the UBID from the keybox and detect wrong blob type. (authored by werner).
gpg: Read the UBID from the keybox and detect wrong blob type.
Oct 3 2019, 5:47 PM
werner committed rG61765136cf92: common: New function hex2fixedbuf. (authored by werner).
common: New function hex2fixedbuf.
Oct 3 2019, 5:47 PM
werner committed rGc7293a4d125c: kbx: Add first version of STORE command to keyboxd. (authored by werner).
kbx: Add first version of STORE command to keyboxd.
Oct 3 2019, 5:47 PM
aheinecke committed rOe3e96e4a6052: Handle an error return in get_object_name (authored by aheinecke).
Handle an error return in get_object_name
Oct 3 2019, 3:30 PM
aheinecke committed rO91c86d7cd53a: Restore S/MIME message class after decrypt (authored by aheinecke).
Restore S/MIME message class after decrypt
Oct 3 2019, 3:30 PM
aheinecke created T4717: Kleopatra: Changing expiry does not change expiry for subkeys.
Oct 3 2019, 3:29 PM · Restricted Project, kleopatra, gpg4win
aheinecke committed rKLEOPATRAbe36be70e9e6: Allow hiding config modules (authored by aheinecke).
Allow hiding config modules
Oct 3 2019, 2:07 PM
aheinecke added a subtask for T4716: Kleopatra: Allow hiding of config modules on Windows: T4660: Gpg4win 3.1.11.
Oct 3 2019, 1:56 PM · gpg4win, g10code
aheinecke added a parent task for T4660: Gpg4win 3.1.11: T4716: Kleopatra: Allow hiding of config modules on Windows.
Oct 3 2019, 1:56 PM · Release Info, gpg4win
aheinecke created T4716: Kleopatra: Allow hiding of config modules on Windows.
Oct 3 2019, 1:56 PM · gpg4win, g10code
gniibe committed rCf55b26a500d1: ecc: Add Curve448. (authored by gniibe).
ecc: Add Curve448.
Oct 3 2019, 7:01 AM

Oct 2 2019

dkg reopened T4400: GnuPG fails to parse algorithm preferences (and presumably features) from direct key signatures as "Open".

I agree with @werner that when presented with a User ID with self-sig with preference, the preferences subpackets from the self-sig should take precedence.

Oct 2 2019, 4:33 PM · Bug Report
gniibe added a project to T4712: Keygrip broken in master for cv25519: Restricted Project.

I modified _gcry_ecc_fill_in_curve so that g_y has new value in eid4730.

Oct 2 2019, 8:29 AM · Restricted Project, Bug Report, libgcrypt
gniibe committed rC1cfe2329b91c: ecc: Fix regression in keygrip computation for cv25519 (2). (authored by gniibe).
ecc: Fix regression in keygrip computation for cv25519 (2).
Oct 2 2019, 5:07 AM

Oct 1 2019

bisson added a comment to T4714: Gnupg can't import or generate private key as root.

I believe the issue is as follows. When given the option ttyname=... pinentry will open() the given tty and that fails since it is owned by the regular user and not root; strace reports:

openat(AT_FDCWD, "/dev/pts/1", O_RDONLY) = -1 EACCES (Permission denied)

However, when not given this option, pinentry will simply write() to stdout which causes no permission problem; through sudo and the terminal this goes to /dev/pts/1.

Oct 1 2019, 9:54 PM · Bug Report
bisson added a comment to T4714: Gnupg can't import or generate private key as root.

I found a way to replicate that error with just pinentry by doing (as root):

# tty
/dev/pts/1
# pinentry
OK Pleased to meet you
OPTION ttyname=/dev/pts/1
OK
GETPIN
S ERROR gtk2.open_tty_for_read 83918849
ERR 83918849 Permission denied <Pinentry>

When I remove OPTION ttyname=... there is no error.

Oct 1 2019, 9:42 PM · Bug Report
bisson added a comment to T4714: Gnupg can't import or generate private key as root.

My other terminals (xterm) are /dev/pts/1, /dev/pts/2, etc. and I can reproduce the bug in them too.

Oct 1 2019, 8:46 PM · Bug Report
werner committed rD9daeae717218: web: Add a stub page for poldi. (authored by werner).
web: Add a stub page for poldi.
Oct 1 2019, 5:37 PM
werner added a comment to T4715: Move old poldi webpage to gnupg.org.

See also apt-get show libpam-poldi

Oct 1 2019, 4:16 PM · poldi, gpgweb
werner created T4715: Move old poldi webpage to gnupg.org.
Oct 1 2019, 4:15 PM · poldi, gpgweb
werner added a comment to T4714: Gnupg can't import or generate private key as root.

Also in another terminal?

Oct 1 2019, 12:00 PM · Bug Report
bisson added a comment to T4714: Gnupg can't import or generate private key as root.

I did not (neither in my root shell nor in my user shell) but setting and exporting this environment variable does not make any difference: gpg --gen-key still fails as above. (Note that tty indeed returns /dev/pts/0 .)

Oct 1 2019, 10:41 AM · Bug Report
werner added a comment to T4714: Gnupg can't import or generate private key as root.

Do you have

GPG_TTY=$(tty)
export GPG_TTY
Oct 1 2019, 9:51 AM · Bug Report
werner committed rM2b2977c215fe: doc: Remove cruft from a doc entry. (authored by werner).
doc: Remove cruft from a doc entry.
Oct 1 2019, 8:31 AM
gniibe claimed T4712: Keygrip broken in master for cv25519.

That's my badness. I think that I haven't seen this problem, because I mainly use tokens (where keygrip difference doesn't matter, after --card-status).

Oct 1 2019, 7:17 AM · Restricted Project, Bug Report, libgcrypt
njcooke closed T4647: "gpg.exe -se" fails when run programmatically, but does not fail when run from the command line as Resolved.
Oct 1 2019, 2:48 AM · Info Needed, gpg4win, Bug Report
njcooke added a comment to T4647: "gpg.exe -se" fails when run programmatically, but does not fail when run from the command line.

Hi
FYI here is what I did to resolve:
running gpg.exe and gpg-agent.exe as Administrator and XP mode....
gp-agent:
set service Priority to REALTIME
Disabled Windows UAC virtualization.

Oct 1 2019, 2:48 AM · Info Needed, gpg4win, Bug Report

Sep 30 2019

bisson added a comment to T4714: Gnupg can't import or generate private key as root.

Thanks for your help investigating this.

Sep 30 2019, 11:12 PM · Bug Report
werner added a comment to T4714: Gnupg can't import or generate private key as root.

if you run

Sep 30 2019, 10:43 PM · Bug Report
bisson added a comment to T4714: Gnupg can't import or generate private key as root.

What is weird is that pinentry supposedly detects the absence of an X session and falls back on curses. For instance, I have:

Sep 30 2019, 8:49 PM · Bug Report
werner committed rGa605dbb430b1: gpg: Fix --recv-key in case of a given fingerprint. (authored by werner).
gpg: Fix --recv-key in case of a given fingerprint.
Sep 30 2019, 6:04 PM