Page MenuHome GnuPG
Feed All Stories

Oct 4 2019

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
werner committed rGec81c437e71b: gpg: Fix expand GPG groups when resolving a key (authored by werner).
gpg: Fix expand GPG groups when resolving a key
Sep 30 2019, 2:13 PM
werner edited projects for T4708: gpg cannot retrieve key via wkd from http2 server, added: Documentation, FAQ; removed Bug Report.
Sep 30 2019, 9:39 AM · FAQ, Documentation, dirmngr
werner renamed T3053: Change license for the website to CC BY-SA 4.0 from Chnage license for the website to CC BY-SA 4.0 to Change license for the website to CC BY-SA 4.0.
Sep 30 2019, 9:31 AM · Stalled, Verein, legal, gpgweb
werner placed T3811: New website design up for grabs.
Sep 30 2019, 9:30 AM · gpgweb, Verein
werner added a comment to T4714: Gnupg can't import or generate private key as root.

You should always run gpg with --verbose if you run into an unknown error. It shows more information; in your case info about the requested pinentry. The strace does not show this. You probably have no permission to launch the X version opf the pinentry because the xauth does not work. As a quick test use ssh -X root@localhost instead.

Sep 30 2019, 8:27 AM · Bug Report

Sep 29 2019

bionade24 added a comment to T4714: Gnupg can't import or generate private key as root.
sysconfdir:/etc/gnupg
bindir:/usr/bin
libexecdir:/usr/lib/gnupg
libdir:/usr/lib/gnupg
datadir:/usr/share/gnupg
localedir:/usr/share/locale
socketdir:/root/.gnupg
dirmngr-socket:/root/.gnupg/S.dirmngr
agent-ssh-socket:/root/.gnupg/S.gpg-agent.ssh
agent-extra-socket:/root/.gnupg/S.gpg-agent.extra
agent-browser-socket:/root/.gnupg/S.gpg-agent.browser
agent-socket:/root/.gnupg/S.gpg-agent
homedir:/root/.gnupg
Sep 29 2019, 7:54 PM · Bug Report
bionade24 updated the task description for T4714: Gnupg can't import or generate private key as root.
Sep 29 2019, 7:52 PM · Bug Report
werner added a comment to T4714: Gnupg can't import or generate private key as root.

Please provide a full description of what you did. What command line did you use, have you su-ed or logged in regular.? What is the output of "gpgcof --list-dirs" ?

Sep 29 2019, 7:40 PM · Bug Report
bionade24 created T4714: Gnupg can't import or generate private key as root.
Sep 29 2019, 11:21 AM · Bug Report
gniibe created T4713: Bug in get_best_pubkey_byname.
Sep 29 2019, 10:44 AM · Restricted Project, gnupg (gpg23)

Sep 28 2019

gniibe added a project to T4620: no support for multiple (yubikey) smartcards plugged in at the same time: Restricted Project.
Sep 28 2019, 6:53 PM · Restricted Project, Bug Report
Laurent Montel <montel@kde.org> committed rKLEOPATRA53a068e7fe13: Fix hidpi support (authored by Laurent Montel <montel@kde.org>).
Fix hidpi support
Sep 28 2019, 5:53 PM
asv awarded T4620: no support for multiple (yubikey) smartcards plugged in at the same time a Like token.
Sep 28 2019, 4:36 PM · Restricted Project, Bug Report
werner committed rC3de8991c8543: ecc: Add a keygrip testcase for cv25519. (authored by werner).
ecc: Add a keygrip testcase for cv25519.
Sep 28 2019, 12:04 PM
werner committed rCf67b6492e0b0: ecc: Fix regression in keygrip computation for cv25519. (authored by werner).
ecc: Fix regression in keygrip computation for cv25519.
Sep 28 2019, 11:12 AM
werner lowered the priority of T4712: Keygrip broken in master for cv25519 from Unbreak Now! to Normal.
Sep 28 2019, 11:08 AM · Restricted Project, Bug Report, libgcrypt
werner created T4712: Keygrip broken in master for cv25519.
Sep 28 2019, 10:56 AM · Restricted Project, Bug Report, libgcrypt

Sep 27 2019

werner committed rG9698761933f7: Merge branch 'switch-to-gpgk' into master (authored by werner).
Merge branch 'switch-to-gpgk' into master
Sep 27 2019, 4:00 PM
werner committed rGb966a7c142ab: gpg: Fix a recently introduced printf format buglet. (authored by werner).
gpg: Fix a recently introduced printf format buglet.
Sep 27 2019, 4:00 PM
werner committed rG8e5741304821: kbx: Fix error code return in keyboxd. (authored by werner).
kbx: Fix error code return in keyboxd.
Sep 27 2019, 2:29 PM
werner committed rG0af1c6447dc0: kbx: Store the UBIB in the blob. (authored by werner).
kbx: Store the UBIB in the blob.
Sep 27 2019, 2:29 PM
gniibe renamed T4563: gpg-agent fails to sign request of PKISSH from gpg-agent fails to sign request to gpg-agent fails to sign request of PKISSH.
Sep 27 2019, 1:45 PM · Feature Request, gpgagent
werner closed T4711: Misleading error messages and debug logs for DNS failures while fetching via WKD as Resolved.

Do not use this legacy debug stuff. Use --debug CATEGORY. For example

Sep 27 2019, 10:52 AM · FAQ
gniibe edited projects for T4563: gpg-agent fails to sign request of PKISSH, added: Feature Request; removed Info Needed, Bug Report.
Sep 27 2019, 10:17 AM · Feature Request, gpgagent
werner committed rG280e9c9cfac3: kbx: First take on a cache for the keyboxd. (authored by werner).
kbx: First take on a cache for the keyboxd.
Sep 27 2019, 10:08 AM
werner committed rG4be79b5abeae: kbx,gpg: Allow lookup using a UBID. (authored by werner).
kbx,gpg: Allow lookup using a UBID.
Sep 27 2019, 10:08 AM
werner committed rGd38f877bd88c: doc: Minor doc updates and a typo fix. (authored by werner).
doc: Minor doc updates and a typo fix.
Sep 27 2019, 10:08 AM
werner committed rG1f987516f6b1: tests: Add two user-id parsing test cases. (authored by werner).
tests: Add two user-id parsing test cases.
Sep 27 2019, 10:08 AM
gniibe added a comment to T4563: gpg-agent fails to sign request of PKISSH.

OK, I identify the problem.

Sep 27 2019, 8:23 AM · Feature Request, gpgagent

Sep 26 2019

jukivili updated the task description for T4460: libgcrypt performance TODOs.
Sep 26 2019, 9:09 PM · libgcrypt
jukivili committed rC4bebafb7bae8: Add stitched ChaCha20-Poly1305 ARMv8/AArch64 implementation (authored by jukivili).
Add stitched ChaCha20-Poly1305 ARMv8/AArch64 implementation
Sep 26 2019, 8:24 PM
jukivili committed rC96b91e164160: Small tweak for PowerPC Chacha20-Poly1305 round loop (authored by jukivili).
Small tweak for PowerPC Chacha20-Poly1305 round loop
Sep 26 2019, 8:24 PM
jukivili committed rC664370ea02df: Reduce size of x86-64 stitched Chacha20-Poly1305 implementations (authored by jukivili).
Reduce size of x86-64 stitched Chacha20-Poly1305 implementations
Sep 26 2019, 8:23 PM
mgorny created T4711: Misleading error messages and debug logs for DNS failures while fetching via WKD.
Sep 26 2019, 2:12 PM · FAQ

Sep 25 2019

martin.von.wittich added a comment to T4710: Cannot use Secure PIN Entry for Reset Code.

For pinpadtest.py, you need to offer an option --add (adding dummy byte), when you are using Cherry ST-2xxx.

Sep 25 2019, 2:55 PM · Not A Bug, Documentation, OpenPGP, scd, Bug Report
gniibe added a comment to T4710: Cannot use Secure PIN Entry for Reset Code.

For pinpadtest.py, you need to offer an option --add (adding dummy byte), when you are using Cherry ST-2xxx.

Sep 25 2019, 1:39 PM · Not A Bug, Documentation, OpenPGP, scd, Bug Report
martin.von.wittich added a comment to T4710: Cannot use Secure PIN Entry for Reset Code.

It is not supported, by CCID protocol itself. So, it is not supported by scdaemon, and by any of card readers (which I know of), either.

Sep 25 2019, 1:26 PM · Not A Bug, Documentation, OpenPGP, scd, Bug Report
gniibe claimed T4710: Cannot use Secure PIN Entry for Reset Code.

It is not supported, by CCID protocol itself. So, it is not supported by scdaemon, and by any of card readers (which I know of), either.

Sep 25 2019, 12:09 PM · Not A Bug, Documentation, OpenPGP, scd, Bug Report
werner triaged T4710: Cannot use Secure PIN Entry for Reset Code as Normal priority.
Sep 25 2019, 9:23 AM · Not A Bug, Documentation, OpenPGP, scd, Bug Report

Sep 24 2019

martin.von.wittich created T4710: Cannot use Secure PIN Entry for Reset Code.
Sep 24 2019, 3:12 PM · Not A Bug, Documentation, OpenPGP, scd, Bug Report
gniibe committed rEf73605e03949: Fix gpg-error.c for preprocessor use. (authored by gniibe).
Fix gpg-error.c for preprocessor use.
Sep 24 2019, 1:39 PM

Sep 23 2019

omega12 created T4709: kleopatra silently fails to overwrite existing exported secret key.
Sep 23 2019, 11:43 AM · kleopatra, Bug Report, gpg4win

Sep 22 2019

Laurent Montel <montel@kde.org> committed rLIBKLEO766f7252dbfd: GIT_SILENT: Time to increase dependancy. Use new macro for generating designer… (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Time to increase dependancy. Use new macro for generating designer…
Sep 22 2019, 9:40 AM
Laurent Montel <montel@kde.org> committed rKLEOPATRA976709fde397: GIT_SILENT: Time to increase dependancy. Use new macro for generating designer… (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Time to increase dependancy. Use new macro for generating designer…
Sep 22 2019, 9:25 AM

Sep 21 2019

werner added a comment to T4123: Pinentry-qt does not always become active foreground window (especially when requesting pin for authentication).

It is not just about being annoying but for security reasons. It would be too easy for other applications *think webbrowser or Acrobat) to take a screenshot and pop up a modified version of that screenshot with data entries to act as a MitM.

Sep 21 2019, 11:00 AM · pinentry, Bug Report, gpg4win

Sep 20 2019

deep42thought added a comment to T4708: gpg cannot retrieve key via wkd from http2 server.

$ gpg-connect-agent --dirmngr 'getinfo version' /bye
D 2.2.17
OK

Sep 20 2019, 7:44 PM · FAQ, Documentation, dirmngr
mgn awarded T4123: Pinentry-qt does not always become active foreground window (especially when requesting pin for authentication) a Like token.
Sep 20 2019, 1:49 PM · pinentry, Bug Report, gpg4win
werner added a comment to T4708: gpg cannot retrieve key via wkd from http2 server.

Can you check which dirmngr version you are running

gpg-connect-agent --dirmngr 'getinfo version' /bye
Sep 20 2019, 1:19 PM · FAQ, Documentation, dirmngr
deep42thought added a comment to T4708: gpg cannot retrieve key via wkd from http2 server.

thanks for the dns explanation - IMHO, there should be added something about that in the wiki
When it does not work for you on http1 either, then I guess, it's really just some outdatedness of my gpg/dirmngr and this ticket can be closed.

Sep 20 2019, 9:59 AM · FAQ, Documentation, dirmngr
werner added a comment to T4708: gpg cannot retrieve key via wkd from http2 server.

It does not work either. Your problem is the use of a wildcard DNS for archlinux32.org:

Sep 20 2019, 9:50 AM · FAQ, Documentation, dirmngr
werner added a comment to T4708: gpg cannot retrieve key via wkd from http2 server.

The test above was with gpg master but I got the same result with current 2.2:

Sep 20 2019, 9:27 AM · FAQ, Documentation, dirmngr
deep42thought added a comment to T4708: gpg cannot retrieve key via wkd from http2 server.

ok, I disabled it again. btw: why do we need openpgpkey.archlinux32.org in the cert? Is this standard or did I misconfigure something?

Sep 20 2019, 9:23 AM · FAQ, Documentation, dirmngr
werner triaged T4708: gpg cannot retrieve key via wkd from http2 server as Normal priority.
Sep 20 2019, 9:16 AM · FAQ, Documentation, dirmngr
werner added a comment to T4708: gpg cannot retrieve key via wkd from http2 server.

Thanks. Here is a dirmngr log:

Sep 20 2019, 9:16 AM · FAQ, Documentation, dirmngr
gniibe committed rGbb5ed9fe1abf: build: Build gpg-pair-tool only when there is newer libgcrypt. (authored by gniibe).
build: Build gpg-pair-tool only when there is newer libgcrypt.
Sep 20 2019, 7:21 AM

Sep 19 2019

deep42thought added a comment to T4708: gpg cannot retrieve key via wkd from http2 server.

I set archlinux32.org back to http2 - so you can see for yourself, how gpg fails to retrieve the key for buildmaster@archlinux32.org

Sep 19 2019, 6:02 PM · FAQ, Documentation, dirmngr
deep42thought added a comment to T4708: gpg cannot retrieve key via wkd from http2 server.

I believe, it means, that it may fall back to http1.1 - the documentation is not clear to me on this.
A simple test however shows, that at least curl has no problems to use http1.1 or http1.0 with the http2 enabled nginx.

Sep 19 2019, 6:01 PM · FAQ, Documentation, dirmngr
werner added a project to T4708: gpg cannot retrieve key via wkd from http2 server: dirmngr.

Does your ngix configuration mean that there is no fallback to standard http?

Sep 19 2019, 5:07 PM · FAQ, Documentation, dirmngr
deep42thought created T4708: gpg cannot retrieve key via wkd from http2 server.
Sep 19 2019, 3:44 PM · FAQ, Documentation, dirmngr
gniibe committed rG7c81e5cb97c7: tools: Fix gpg-pair-tool to follow new API. (authored by gniibe).
tools: Fix gpg-pair-tool to follow new API.
Sep 19 2019, 11:37 AM
gniibe committed rGf22a00416149: tools: Use new API of libgcrypt for gpg-pair-tool. (authored by gniibe).
tools: Use new API of libgcrypt for gpg-pair-tool.
Sep 19 2019, 11:37 AM