Page MenuHome GnuPG
Feed Advanced Search

Feb 17 2017

justus added projects to T2965: WKD lookup fails due to overly specific Host: header: gnupg (gpg22), gnupg, Bug Report.
Feb 17 2017, 1:57 PM · Bug Report, gnupg, RC, gnupg (gpg22), dirmngr
shuffle2 added a comment to T2939: Should not be required to manually `killagent` on card removal.

gpg --version

gpg (GnuPG) 2.0.30 (Gpg4win 2.3.3)
libgcrypt 1.6.6
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: C:/Users/<username>/AppData/Roaming/gnupg
Supported algorithms:
Pubkey: RSA, RSA, RSA, ELG, DSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,

CAMELLIA128, CAMELLIA192, CAMELLIA256

Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2

Yes...seems old! But this is what latest gpg4win packages. :(
It is also the latest stable gpg release...so normal, I guess.

I've installed gpg on various recent Windows 10 builds (~10 machines/builds)
and noticed the behavior on all of them. For example builds 14939, 14986, and some
others.

Feb 17 2017, 3:54 AM · gnupg (gpg20), Bug Report, gnupg
dkg added a comment to T2928: stop fetching PTR records entirely.

Thanks for these fixes! I'm not sure i understand why ptr lookups are needed
for keyserver --hosttable. Can we drop those too?

Feb 17 2017, 3:48 AM · Debian, Bug Report, gnupg, dirmngr
dkg added projects to T2964: dirmngr and gpg-agent should work automatically even when GNUPGHOME is larger than sun_path: dirmngr, gnupg, Bug Report.
Feb 17 2017, 1:52 AM · Stalled, scd, gpgagent, Bug Report, gnupg, dirmngr

Feb 16 2017

dkg added a comment to T2933: gnupg-2.1.18 fails to read a Yubikey Neo that gnupg-2.1.17 reads fine.

This sounds like issues we were seeing in debian, which i believe have been
fixed in git already.

we're shipping the following two patches in debian against 2.1.18:

https://sources.debian.net/src/gnupg2/2.1.18-6/debian/patches/0028-scd-Backport-two-fixes-from-master.patch/
https://sources.debian.net/src/gnupg2/2.1.18-6/debian/patches/0029-scd-Fix-use-case-of-PC-SC.patch/

Feb 16 2017, 11:00 PM · gnupg, Bug Report
justus added projects to T2963: gpgme_op_revuid fails silently trying to revoke a non-existent uid: Bug Report, gpgme.
Feb 16 2017, 5:48 PM · gpgme, Bug Report
justus set Version to master on T2963: gpgme_op_revuid fails silently trying to revoke a non-existent uid.
Feb 16 2017, 5:48 PM · gpgme, Bug Report
justus set Version to master on T2962: --quick-revoke-uid fails silently trying to revoke a non-existent uid.
Feb 16 2017, 5:46 PM · Bug Report, gnupg, gnupg (gpg22)
justus added projects to T2962: --quick-revoke-uid fails silently trying to revoke a non-existent uid: gnupg (gpg22), gnupg, Bug Report.
Feb 16 2017, 5:46 PM · Bug Report, gnupg, gnupg (gpg22)
justus added projects to T2961: gpgme_op_revuid silently fails to remove the last UID: Bug Report, gpgme.
Feb 16 2017, 5:40 PM · gpgme (gpgme 1.23.x), Bug Report
justus added projects to T2960: --quick-revoke-uid can be used to revoke last uid, contrary to docs: gnupg (gpg22), gnupg, Bug Report.
Feb 16 2017, 5:26 PM · Bug Report, gnupg, gnupg (gpg22)
ilovezfs added a comment to T2933: gnupg-2.1.18 fails to read a Yubikey Neo that gnupg-2.1.17 reads fine.

We have Homebrew users reporting this problem to us.

https://github.com/Homebrew/homebrew-versions/commit/bece3fdbb732bcf646589c051f2f882e2bbf0875#commitcomment-20846337
https://github.com/Homebrew/homebrew-versions/commit/bece3fdbb732bcf646589c051f2f882e2bbf0875#commitcomment-20910048

"I had to revert to 2.1.17, gnupg was unable to access my yubikey with 2.1.18.
The error was "gpg: selecting openpgp failed: Operation not supported by
device". Not sure if I'm the only one with the problem, if not I'd recommend
reverting the version."

Feb 16 2017, 2:41 PM · gnupg, Bug Report

Feb 15 2017

werner added a comment to T2928: stop fetching PTR records entirely.

I have fixed some things. In general PTR lookups are onow only used when you
run the 'keyserver --hosttable' command.

Feb 15 2017, 7:24 PM · Debian, Bug Report, gnupg, dirmngr

Feb 14 2017

werner assigned T2959: with --tofu-default-policy=ask, Assertion "conflict_set" in get_trust failed (../../g10/tofu.c:2787) to neal.
Feb 14 2017, 9:28 PM · Restricted Project, Debian, Bug Report, gnupg
werner updated subscribers of T2959: with --tofu-default-policy=ask, Assertion "conflict_set" in get_trust failed (../../g10/tofu.c:2787).
Feb 14 2017, 9:28 PM · Restricted Project, Debian, Bug Report, gnupg
dkg added a comment to T2959: with --tofu-default-policy=ask, Assertion "conflict_set" in get_trust failed (../../g10/tofu.c:2787).

I note that even if i drop the "--trust-model tofu+pgp" and subsequently invoke
just "gpg --tofu-default-policy ask --fingerprint" i get the same crash.

however, if i just execute that in a fresh homedir without ever having set
"--trust-model tofu+pgp" i don't get a crash. so there is some sort of state
being set up that is then tickling the assertion later.

Feb 14 2017, 4:40 PM · Restricted Project, Debian, Bug Report, gnupg
dkg set External Link to https://bugs.debian.org/854829 on T2959: with --tofu-default-policy=ask, Assertion "conflict_set" in get_trust failed (../../g10/tofu.c:2787).
Feb 14 2017, 4:21 PM · Restricted Project, Debian, Bug Report, gnupg
dkg set Version to 2.1.18 on T2959: with --tofu-default-policy=ask, Assertion "conflict_set" in get_trust failed (../../g10/tofu.c:2787).
Feb 14 2017, 4:21 PM · Restricted Project, Debian, Bug Report, gnupg
dkg added projects to T2959: with --tofu-default-policy=ask, Assertion "conflict_set" in get_trust failed (../../g10/tofu.c:2787): gnupg, Bug Report, Debian.
Feb 14 2017, 4:21 PM · Restricted Project, Debian, Bug Report, gnupg
werner added a project to T2903: "gpg --card-status" does not add any entries to the private key ring: yubikey.
Feb 14 2017, 3:25 PM · Info Needed, Bug Report, gnupg
werner added a comment to T2903: "gpg --card-status" does not add any entries to the private key ring.

Yet another Yubikey think, I'll better a a keyword for this.

Feb 14 2017, 3:25 PM · Info Needed, Bug Report, gnupg
werner added projects to T2938: scd-event is annoying to use on Windows: Windows, scd, Windows 32.
Feb 14 2017, 3:21 PM · Windows 32, scd, Windows, Bug Report, gnupg
werner added a comment to T2938: scd-event is annoying to use on Windows.

Never use system() anywhere!

You need to call cmd with the script. However, there are some security issues
with than too and thus I consider it better use a dedicated executabe for this.

If you can tell us what the script shall do, we may distribute a simple
executable for that purpose.

Feb 14 2017, 3:21 PM · Windows 32, scd, Windows, Bug Report, gnupg
werner added a comment to T2942: gpg needs to offer a way to list OpenPGP packets without consuming them.

For a key listing I would suggest this

  gpg --dry-run --import-options import-show --import  FILE

This uses the regular key listing code.

Feb 14 2017, 3:13 PM · Bug Report, gnupg
werner updated subscribers of T2939: Should not be required to manually `killagent` on card removal.
Feb 14 2017, 3:06 PM · gnupg (gpg20), Bug Report, gnupg
werner assigned T2939: Should not be required to manually `killagent` on card removal to gniibe.
Feb 14 2017, 3:06 PM · gnupg (gpg20), Bug Report, gnupg
werner added a comment to T2939: Should not be required to manually `killagent` on card removal.

Please tell us which version of GnUPG ayou are using and on what OS.

Feb 14 2017, 3:06 PM · gnupg (gpg20), Bug Report, gnupg
werner added a comment to T2956: http://jenkins.gnupg.org/ 403s, should redirect to https instead.

jenkins is redirected from kerckhoffs to soro using pound features. Please
check out /etc/pound/pound.cfg on kerckhoffs. The jenkins server on soro is
running on a non-standard port - may be this is the reason for the wrong redirect.

I can't easily test this because I am living in the same network.

Regarding HSTS (HTTP Strict Transport Security): The Jenkins server needs to
generate that header

Feb 14 2017, 3:04 PM · Bug Report, gpgweb
aheinecke closed T2324: gpg --batch --export-secret-key fails (requires user interaction) if key has no passphrase as Resolved.
Feb 14 2017, 1:43 PM · gnupg, OpenPGP, Bug Report
aheinecke added a comment to T2324: gpg --batch --export-secret-key fails (requires user interaction) if key has no passphrase.

Tested this again with 2.1.18 and it works now as expected. Export secret key
just exports a key if it has no passphrase. So I think this issue can be marked
as resolved.

Feb 14 2017, 1:43 PM · gnupg, OpenPGP, Bug Report
werner added a project to T2957: gpg --export-ssh-key does not work for primary keys marked as authentication-capable: Restricted Project.
Feb 14 2017, 10:59 AM · Bug Report, Restricted Project, gnupg
werner added a comment to T2957: gpg --export-ssh-key does not work for primary keys marked as authentication-capable.

Done with commit b456e5be

gpg: Make --export-ssh-key work for the primary key.

* g10/export.c (export_ssh_key): Also check the primary key.
--

If no suitable subkey was found for export, we now check whether the
primary key is suitable for export and export this one.  Without this
change it was only possible to export the primary key by using the '!'
suffix in the key specification.

Also added a sample key for testing this.
Feb 14 2017, 10:59 AM · Bug Report, Restricted Project, gnupg
justus added a comment to T2956: http://jenkins.gnupg.org/ 403s, should redirect to https instead.

I don't know about HSTS, but I'd love to see a forced redirect.

It seems Jenkins sometimes generates a redirect that strips the httpS off, e.g.
go to https://jenkins.gnupg.org/manage, click on [Manage Plugins] (the link
itself looks fine), but one is for some reason redirected to
http://jenkins.gnupg.org/pluginManager/.

Feb 14 2017, 10:55 AM · Bug Report, gpgweb
werner claimed T2957: gpg --export-ssh-key does not work for primary keys marked as authentication-capable.
Feb 14 2017, 10:37 AM · Bug Report, Restricted Project, gnupg
dkg added projects to T2957: gpg --export-ssh-key does not work for primary keys marked as authentication-capable: gnupg, Bug Report.
Feb 14 2017, 2:48 AM · Bug Report, Restricted Project, gnupg
dkg set Version to 2.1.18 on T2957: gpg --export-ssh-key does not work for primary keys marked as authentication-capable.
Feb 14 2017, 2:48 AM · Bug Report, Restricted Project, gnupg

Feb 13 2017

werner added a project to T2944: gpgconf --change-option should not print a warning when the relevant conf file does not exist: Restricted Project.
Feb 13 2017, 8:22 PM · Restricted Project, Bug Report, gnupg
werner added a comment to T2944: gpgconf --change-option should not print a warning when the relevant conf file does not exist.

Fixed with commit 30dac04 but not properly tested.

Feb 13 2017, 8:22 PM · Restricted Project, Bug Report, gnupg
werner added a comment to T2943: gpg should issue a warning when it is run without a command.

Frankly I am used to leave out the -d to use the default. I have seen the -d in
action only in CitizenFour ;-)

Need to think again about this.

(The last line in T2943 (wk on Feb 13 2017, 07:22 PM / Roundup) was garbage)

Feb 13 2017, 8:21 PM · Bug Report, gnupg
werner added a project to T2948: libdns lookups fails when nssswitch has no "dns" section: Restricted Project.
Feb 13 2017, 8:18 PM · Restricted Project, Bug Report, gnupg, dirmngr
werner added a comment to T2948: libdns lookups fails when nssswitch has no "dns" section.

Fixed with commit dee026d7.

If no DNS method is found in nsswitch.conf we now append one. Using dirmngr w/o
DNS does not work anyway thus this seems to be the best solution.

Feb 13 2017, 8:18 PM · Restricted Project, Bug Report, gnupg, dirmngr
werner added a comment to T2948: libdns lookups fails when nssswitch has no "dns" section.

Right, the proposed chnage will not fallback to the standard resolver.

I need to modify the patch because it was too simple: Need to explicitly look
for an dns entry and append it to the list iff it is missing.

Feb 13 2017, 7:51 PM · Restricted Project, Bug Report, gnupg, dirmngr
dkg added a comment to T2943: gpg should issue a warning when it is run without a command.

I'll just note that the only programmatic unattended uses i've seen have been
*not* decryption. they're attempts to list a keyring. So switching to
decrypted mode there will provide the same amount of breakage as requiring an
explicit command, but without the benefit of requiring explicit intent.

Any variation in behavior between automated and "attended" use is a debugging
pain point that actually seems to create work in the rest of the ecosystem. The
more GnuPG can keep its rules and behavior simple to understand, the better.

Feb 13 2017, 7:48 PM · Bug Report, gnupg
dkg added a comment to T2948: libdns lookups fails when nssswitch has no "dns" section.

right, the configuration is not an error, but a different way of handling the
DNS lookups.

just to clarify: this change means that dirmngr will continue to use libdns in
the event of finding no understood directives in nsswitch.conf. it is *not* the
equivalent of falling back to standard-resolver. right? If that's correct,
then i agree that an extra warning is probably too much noise.

Feb 13 2017, 7:39 PM · Restricted Project, Bug Report, gnupg, dirmngr
werner renamed T2945: gpg should explicitly set output file permissions during decryption from gpg creates publicly readable files during decryption to gpg should explicitly set output file permissions during decryption.
Feb 13 2017, 7:29 PM · Feature Request, gnupg
werner added a comment to T2948: libdns lookups fails when nssswitch has no "dns" section.

You would see that error message then with every first DNS call. My
understanding is that on systemd the unknown keywords are not an error but a
featyre of systemd-resolver(?).

Feb 13 2017, 7:24 PM · Restricted Project, Bug Report, gnupg, dirmngr
werner added a comment to T2943: gpg should issue a warning when it is run without a command.

I meant decryption. My idea is:

  1. In attended mode: Just print a warning message.
  2. In unattended mode (--batch or --with-colons): Make --decrypt the default

and do not print a warning message. That would be a hardfailure for everything
but encrypted data

The idea is that attended command line use keeps on working but using it in
scripts (--batch, etc) will hard failure.

make the default operation --decrypt

Feb 13 2017, 7:22 PM · Bug Report, gnupg
dkg added a comment to T2943: gpg should issue a warning when it is run without a command.

Right, agreed -- there is no way to get to the "improved --list-packets" without
using the dubious approach of not specifying a command at all.

I agree that a hard failure when --batch is given without an explicit command
would be reasonable (though that means we will be effectively breaking
python-gnupg and others like it, which do try to use it). I'm not sure i
understand the reasoning behind a hard failure for --with-colons without an
explicit command.

Feb 13 2017, 5:52 PM · Bug Report, gnupg
dkg added a comment to T2948: libdns lookups fails when nssswitch has no "dns" section.

looks reasonable to me, though i haven't tried it myself (my nsswitch.conf
doesn't have the initial property reported).

Perhaps there should be an additional explicit log message for the
!ld.resolv_conf->lookup[0] case since dirmngr is falling back?

Feb 13 2017, 5:26 PM · Restricted Project, Bug Report, gnupg, dirmngr
werner added a comment to T2932: gpgv error messages are confusing.

I understand, So this is another special case like the one when a keyring has
permissions which don't allow it to be read.

Feb 13 2017, 4:33 PM · Bug Report, gnupg, gpgv
werner added a comment to T2936: pubring.kbx to pubring.kbx~.

Right, but it would double the write time and we won't have an atomic update -
which we need.

Feb 13 2017, 4:30 PM · Bug Report, gnupg
werner added a comment to T2951: GnuPG page at gnu.org is outdated.

Done. It is now redirected via refresh, javascript, or a link to click. Thus
most users won't see the gnu pages at all (because most(tm) use Javascript)

Feb 13 2017, 4:25 PM · Bug Report, gpgweb
werner closed T2951: GnuPG page at gnu.org is outdated as Resolved.
Feb 13 2017, 4:25 PM · Bug Report, gpgweb
werner added a comment to T2956: http://jenkins.gnupg.org/ 403s, should redirect to https instead.

I do not understand your request. Do you mean we shall use HSTS and forced
redirection to https for jenkins?

Feb 13 2017, 3:56 PM · Bug Report, gpgweb
neal added a comment to T2950: Unable to set expiry when using --faked-system-time.

Unfortunately, it is also used in the test suite to deal with expiration times.

Feb 13 2017, 3:50 PM · gnupg, Bug Report
werner lowered the priority of T2950: Unable to set expiry when using --faked-system-time from Normal to Low.
Feb 13 2017, 3:47 PM · gnupg, Bug Report
werner added a project to T2950: Unable to set expiry when using --faked-system-time: gnupg.
Feb 13 2017, 3:47 PM · gnupg, Bug Report
werner added a comment to T2950: Unable to set expiry when using --faked-system-time.

--faked-system-time is debug hack, so I degrade this to a minor-bug.

Feb 13 2017, 3:47 PM · gnupg, Bug Report
werner added a comment to T2940: dirmngr fails for hkps when http-proxy is in use.

Oh well, using a curl based key server helper this might have worked in the
past. We better implement that for 2.2

Feb 13 2017, 3:46 PM · Feature Request, gnupg (gpg22), Debian, gnupg, dirmngr
werner added projects to T2940: dirmngr fails for hkps when http-proxy is in use: gnupg (gpg22), Feature Request.
Feb 13 2017, 3:46 PM · Feature Request, gnupg (gpg22), Debian, gnupg, dirmngr
werner added a comment to T2940: dirmngr fails for hkps when http-proxy is in use.

There has never been support in GnuPG for https via an http proxy.
So can we change this to a feature request?

Feb 13 2017, 3:43 PM · Feature Request, gnupg (gpg22), Debian, gnupg, dirmngr
werner added a comment to T2943: gpg should issue a warning when it is run without a command.

Also note that the key listing is different from a real key listing and in
effect more like an improved --list-packets. Maybe we should make a hard break
and only do encryption without an command - at least when --batch or
--with-colons is given.

Feb 13 2017, 3:10 PM · Bug Report, gnupg
werner removed a project from T2943: gpg should issue a warning when it is run without a command: In Progress.
Feb 13 2017, 3:04 PM · Bug Report, gnupg
werner added a comment to T2943: gpg should issue a warning when it is run without a command.

I implemented that but then I found this in the man page:

  This command differs from the default operation, as it never writes
  to the filename which is included in the file and it rejects files
  that don't begin with an encrypted message.

Thus decryption is the default operation. The problem is that the
code also tries to do other things if it does not find encrypted data.
Note that the "never writes to the filename which is included in the
file" is wrong because gpg does not do that by default.

Feb 13 2017, 3:04 PM · Bug Report, gnupg
werner added a comment to T2943: gpg should issue a warning when it is run without a command.

Good idea.
The "This looks like foo" might be a bit complicated but the warning is easy to
implement. I will add that one immediately.

Feb 13 2017, 1:05 PM · Bug Report, gnupg
werner added a project to T2943: gpg should issue a warning when it is run without a command: In Progress.
Feb 13 2017, 1:05 PM · Bug Report, gnupg
werner claimed T2943: gpg should issue a warning when it is run without a command.
Feb 13 2017, 1:05 PM · Bug Report, gnupg
werner added a comment to T2948: libdns lookups fails when nssswitch has no "dns" section.

I guess the best solution is to handle this the same way as a missing
nsswitch file. Here is a non-tested patch; for a quick test the
change of the condition is sufficient.

diff --git a/dirmngr/dns-stuff.c b/dirmngr/dns-stuff.c
index f0de357..956fe72 100644

  • a/dirmngr/dns-stuff.c

+++ b/dirmngr/dns-stuff.c
@@ -496,14 +496,15 @@ libdns_init (void)

fname = "/etc/nsswitch.conf";
err = libdns_error_to_gpg_error
  (dns_nssconf_loadpath (ld.resolv_conf, fname));
  • if (err)

+ if (err || !ld.resolv_conf->lookup[0])

{
  • log_error ("failed to load '%s': %s\n", fname, gpg_strerror (err));
  • /* not fatal, nsswitch.conf is not used on all systems; assume
  • * classic behavior instead. Our dns library states "bf" which tries
  • * DNS then Files, which is not classic; FreeBSD
  • * /usr/src/lib/libc/net/gethostnamadr.c defines default_src[] which
  • * is Files then DNS, which is. */

+ if (err)
+ log_error ("failed to load '%s': %s\n", fname, gpg_strerror (err));
+ /* Not fatal, nsswitch.conf is not used on all systems;
+ * assume classic behavior instead. Note that some systemd
+ * based systems allow for custom keywords which are not
+ * known to us and thus lead to an empty result set; we then
+ * also fallback to classic behavior. */

if (opt_debug)
  log_debug ("dns: fallback resolution order, files then DNS\n");
ld.resolv_conf->lookup[0] = 'f';
Feb 13 2017, 1:03 PM · Restricted Project, Bug Report, gnupg, dirmngr
werner claimed T2948: libdns lookups fails when nssswitch has no "dns" section.
Feb 13 2017, 1:03 PM · Restricted Project, Bug Report, gnupg, dirmngr
werner added a comment to T2952: SmartCard v2.1 : factory reset fails.

Please ask on the gnupg-users at gnupg.org mailing list for help. Note that you
do not need to subscribe but just a wait a bit until our moderators will approve
your mail. But anyway here is a quick hint in case you did not already tried:

$ gpg --card-edit
gpg/card> admin
gpg/card> factory-reset

Feb 13 2017, 12:47 PM · Support, Bug Report
werner closed T2952: SmartCard v2.1 : factory reset fails as Resolved.
Feb 13 2017, 12:47 PM · Support, Bug Report
werner added a project to T2952: SmartCard v2.1 : factory reset fails: Support.
Feb 13 2017, 12:47 PM · Support, Bug Report
werner added a comment to T2928: stop fetching PTR records entirely.

I have seen that discussion and will takle care of this bug soon.

Feb 13 2017, 12:39 PM · Debian, Bug Report, gnupg, dirmngr
werner claimed T2928: stop fetching PTR records entirely.
Feb 13 2017, 12:39 PM · Debian, Bug Report, gnupg, dirmngr
werner lowered the priority of T2953: scdaemon fails to decrypt if unusual key-size is chosen from High to Normal.
Feb 13 2017, 12:34 PM · Bug Report, gnupg, scd
aheinecke added a project to T2955: [PATCH] gpgme fails to build with GCC 7.0: Unreleased.
Feb 13 2017, 10:38 AM · gpgme, Bug Report
aheinecke added a comment to T2955: [PATCH] gpgme fails to build with GCC 7.0.

Thank you very much. Straightforward fix. Applied the patch.

Feb 13 2017, 10:38 AM · gpgme, Bug Report
aheinecke closed T2955: [PATCH] gpgme fails to build with GCC 7.0 as Resolved.
Feb 13 2017, 10:38 AM · gpgme, Bug Report
justus claimed T2910: gpgme 1.8 build failure: strdup undeclared on MacOSX Sierra.
Feb 13 2017, 10:33 AM · MacOS, gpgme, Bug Report
justus raised the priority of T2954: signing a file shows me my short keyid instead of long from Low to Normal.
Feb 13 2017, 9:52 AM · gnupg
justus claimed T2954: signing a file shows me my short keyid instead of long.
Feb 13 2017, 9:52 AM · gnupg
justus closed T2954: signing a file shows me my short keyid instead of long as Invalid.
Feb 13 2017, 9:52 AM · gnupg
justus added a comment to T2954: signing a file shows me my short keyid instead of long.

This is because you use a short key id in your gpg.conf. gpg is merely echoing
back whatever you specify there:

% touch tmp ; gpg2 --detach-sign tmp
gpg: NOTE: THIS IS A DEVELOPMENT VERSION!
gpg: It is only intended for test purposes and should NOT be
gpg: used in a production environment or with production keys!
gpg: using "baz" as default secret key for signing
% grep default-key gpg.conf
default-key baz

Feb 13 2017, 9:52 AM · gnupg
justus added a comment to T2955: [PATCH] gpgme fails to build with GCC 7.0.

Delegating to our resident C++ expert.

Feb 13 2017, 9:42 AM · gpgme, Bug Report
justus updated subscribers of T2955: [PATCH] gpgme fails to build with GCC 7.0.
Feb 13 2017, 9:42 AM · gpgme, Bug Report
justus assigned T2955: [PATCH] gpgme fails to build with GCC 7.0 to aheinecke.
Feb 13 2017, 9:42 AM · gpgme, Bug Report
justus added projects to T2956: http://jenkins.gnupg.org/ 403s, should redirect to https instead: gpgweb, Bug Report.
Feb 13 2017, 9:03 AM · Bug Report, gpgweb

Feb 12 2017

dkg added a comment to T2034: pinentry emacs features need documentation.

So i'm left a little confused here about what the resolution is. neal added
documentation, but ueno suggested it was wrong and contributed a patch for it.
However, that patch hasn't been applied.

Some additional questions about pinentry-emacs and INSIDE_EMACS that came up in
discussion over on https://bugs.debian.org/854797:

    What's the best way to debug a problem when emacs pinentry
    isn't working?  do we look at gpg?  gpg-agent?  pinentry? emacs itself?
    all of those places?  What happens when the user has two separate
    instances of emacs running?  What if there's an instance of emacs
    running and someone uses tramp to connect to a remote ssh server, and
    gpg-agent is providing the ssh-agent interface?  What if someone uses
    ssh from *outside* of emacs and it talks to a gpg-agent that was
    auto-launched from within an emacs session?  What about when there's an
    instance of emacs running in a graphical session on a machine where the
    same user is also logged into the machine via ssh, and they're using a
    different graphical session?  how does pinentry-emacs interact with
    emacs --daemon and multiple emacsclient instances?

Another few questions:

Why does emacs use /tmp/emacs$UID for the ephemeral socket instead of

/run/user/$UID ?

If OPTION allow-pinentry-emacs is set, but the emacs process isn't

repsonsive (or nothing is listening at all) should pinentry do a second layer of
fallback, e.g. to curses?

Feb 12 2017, 8:36 PM · Bug Report, pinentry

Feb 11 2017

ignatenkobrain added projects to T2955: [PATCH] gpgme fails to build with GCC 7.0: Bug Report, gpgme.
Feb 11 2017, 8:47 AM · gpgme, Bug Report

Feb 10 2017

anarcat set Version to 2.1.18 on T2954: signing a file shows me my short keyid instead of long.
Feb 10 2017, 11:58 PM · gnupg
anarcat added projects to T2954: signing a file shows me my short keyid instead of long: gnupg, Bug Report.
Feb 10 2017, 11:58 PM · gnupg

Feb 9 2017

bslbckr added a comment to T2953: scdaemon fails to decrypt if unusual key-size is chosen.

I'm having trouble decrypting some mails. I use an encryption sub-key with a
unusual length of 3104 bits. I described my problem in the gnupg-users mailing
list and there the following problem was identified:
<quote>
I think that it is deterministic; The cause is that the RSA keysize is
not the one in the set of: 1024, 1536, 2048, 3072, 4096. When data to
be decrypted is padded, scdaemon can't decrypt, I suppose.

I am not sure the exact reason why scdaemon only supports limited set of
keysize for encryption. But we have this handling of padding in the
current code:

https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=blob;f=scd/app-openpgp.c;h=71c9e1b83003af07b0984688ba1ec5e9013b877c;hb=refs/heads/master#l4334

       /* We might encounter a couple of leading zeroes in the
          cryptogram.  Due to internal use of MPIs these leading zeroes
          are stripped.  However the OpenPGP card expects exactly 128
          bytes for the cryptogram (for a 1k key).  Thus we need to fix
          it up.  We do this for up to 16 leading zero bytes; a
          cryptogram with more than this is with a very high
          probability anyway broken.  If a signed conversion was used
          we may also encounter one leading zero followed by the correct
          length.  We fix that as well.  */
       if (indatalen >= (128-16) && indatalen < 128)      /* 1024 bit key.  */
         fixuplen = 128 - indatalen;
       else if (indatalen >= (192-16) && indatalen < 192) /* 1536 bit key.  */
         fixuplen = 192 - indatalen;
       else if (indatalen >= (256-16) && indatalen < 256) /* 2048 bit key.  */
         fixuplen = 256 - indatalen;
       else if (indatalen >= (384-16) && indatalen < 384) /* 3072 bit key.  */
         fixuplen = 384 - indatalen;
       else if (indatalen >= (512-16) && indatalen < 512) /* 4096 bit key.  */
         fixuplen = 512 - indatalen;
       else if (!*(const char *)indata && (indatalen == 129
                                           || indatalen == 193
                                           || indatalen == 257
                                           || indatalen == 385
                                           || indatalen == 513))
         fixuplen = -1;
       else
         fixuplen = 0;

Perhaps, it was due to support all existing OpenPGP card
implementations, I mean, somehow historical, and it was easier to list
up specific keysizes.

This should be fixed.
</quote>

I also attached to log-files of the scdaemon. One for a successful and one for a
failed decryption attempt.

Please let me know if you need any additional information.

Feb 9 2017, 8:46 PM · Bug Report, gnupg, scd
bslbckr added a comment to T2953: scdaemon fails to decrypt if unusual key-size is chosen.

Feb 9 2017, 8:42 PM · Bug Report, gnupg, scd
bslbckr added projects to T2953: scdaemon fails to decrypt if unusual key-size is chosen: scd, gnupg, Bug Report.
Feb 9 2017, 8:42 PM · Bug Report, gnupg, scd

Feb 8 2017

dkg added a comment to T2928: stop fetching PTR records entirely.

The unnecessary PTR lookup is causing problems for other people too, over on
https://bugs.debian.org/854359

Feb 8 2017, 11:33 PM · Debian, Bug Report, gnupg, dirmngr
dkg set External Link to https://bugs.debian.org/854359 on T2928: stop fetching PTR records entirely.
Feb 8 2017, 11:33 PM · Debian, Bug Report, gnupg, dirmngr
Gaudencio added a comment to T2949: GPGME library returned unexpected error at keytable.c150 - Debian.

Hello. Im not that much of an expert. So Im not sure what kind of
information you need. But its Debian 8.7, amd64, Cinnamon, 16 GB ram
Or can you say what kind of information?
Today I freshly installed Debian 8.7.1 (latest stable), Gnome, amd64 using
VirtualBox with Windows 10 as the host, and then installed GPA on this
Debian. But it still has the same problem. Im boggled as to why I have this
problem.

Feb 8 2017, 6:57 PM · Too Old, Bug Report, gpa
fibmoro set Version to 2.1 on T2952: SmartCard v2.1 : factory reset fails.
Feb 8 2017, 3:59 PM · Support, Bug Report
fibmoro added a project to T2952: SmartCard v2.1 : factory reset fails: Bug Report.
Feb 8 2017, 3:59 PM · Support, Bug Report
justus removed a project from T2929: tofu: Missing entry in the bindings table for new key: Restricted Project.
Feb 8 2017, 2:53 PM · Bug Report, gnupg, gnupg (gpg22)