Page MenuHome GnuPG
Feed Advanced Search

Jan 16 2017

linsam added a comment to T2923: trust signature domain restrictions don't work.

Attached example patch prevents escaping normal lowercase letters.

Note that this isn't a general solution, though it does solve the issue for me.
For example, some email addresses have numbers (I don't know if having backslash
before numbers is an issue like it is for letters)

Jan 16 2017, 6:53 AM · gnupg (gpg14), Bug Report
linsam added a comment to T2923: trust signature domain restrictions don't work.

Attached example are the following setup:

user1 tsign user2 with full trust, depth 1, domain="customer.com". User2 signs
user3 through user5 (regular signatures). User4 is at customer.com, users 3 and
5 are at example.com.

Jan 16 2017, 6:50 AM · gnupg (gpg14), Bug Report
linsam added a comment to T2923: trust signature domain restrictions don't work.

Jan 16 2017, 6:50 AM · gnupg (gpg14), Bug Report
linsam set Version to 1.4.20, 2.0.22, 2.1.11 on T2923: trust signature domain restrictions don't work.
Jan 16 2017, 6:43 AM · gnupg (gpg14), Bug Report
linsam added projects to T2923: trust signature domain restrictions don't work: gnupg (gpg21), gnupg (gpg14), gnupg (gpg20), gnupg, Bug Report.
Jan 16 2017, 6:43 AM · gnupg (gpg14), Bug Report

Jan 15 2017

grempe added a comment to T2853: Signature Verification returning 'gpg: DBG: tofu.c:2772: strtoul failed for DB returned string (tail=): Invalid argument'.

I had a chance to run this test against 2.1.17 today as that version has been recently
released via homebrew. The error is essentially the same, but the debug output is
indeed slightly different. Now the debug line numbers are different and there is the
addition of string=''; in the debug output. I didn't notice anything else that looked
significantly different.

/tmp$ gpg2 --verify TrueTimeStamp-certificate-4793.txt
gpg: Signature made Wed Nov 23 23:08:29 2016 PST
gpg: using DSA key 0x6F3B2E6AB748A8F8
gpg: Good signature from "TrueTimeStamp <signing-department@TrueTimeStamp.org>"
[marginal]
gpg: DBG: tofu.c:3068: strtoul failed for TOFU DB data; returned string (string='';
tail=''): Invalid argument
gpg: DBG: tofu.c:3070: strtoul failed for TOFU DB data; returned string (string='';
tail=''): Invalid argument
gpg: signing-department@truetimestamp.org: Verified 1 signature in the past

5 weeks.  Encrypted 0 messages.

gpg: Warning: we've only seen one message signed using this key and user id!
gpg: Warning: you have yet to encrypt a message to this key!
gpg: Warning: if you think you've seen more signatures by this key and user

id, then this key might be a forgery!  Carefully examine the email address
for small variations.  If the key is suspect, then use
  gpg --tofu-policy bad 83289060F40DED088CF246B56F3B2E6AB748A8F8
to mark it as being bad.

gpg: WARNING: This key is not certified with sufficiently trusted signatures!
gpg: It is not certain that the signature belongs to the owner.
Primary key fingerprint: 8328 9060 F40D ED08 8CF2 46B5 6F3B 2E6A B748 A8F8

Jan 15 2017, 11:39 PM · Bug Report, gnupg
grempe changed Version from 2.1.16 to 2.1.17 on T2853: Signature Verification returning 'gpg: DBG: tofu.c:2772: strtoul failed for DB returned string (tail=): Invalid argument'.
Jan 15 2017, 11:39 PM · Bug Report, gnupg
infinity0 added projects to T2922: export-minimal does not work as advertised and leaks information: gnupg, Bug Report.
Jan 15 2017, 4:03 PM · Bug Report, gnupg
infinity0 set Version to 2.1.17 on T2922: export-minimal does not work as advertised and leaks information.
Jan 15 2017, 4:03 PM · Bug Report, gnupg

Jan 14 2017

neal added a comment to T2914: TOFU Conflict Status fd output broken.

It's true that the user is listed 4 times, but this is because tofu.c:get_trust
is called four times. For instance, the first time it is called to show the
"gpg: Good signature from "tofu_conflict@example.com" [marginal]" line, and the
second time is it called to register the signature (tofu_register_signature).
This also explains why the signature count increases between the first and
second versions.

Note that each of these outputs is preceded by a KEY_CONSIDERED lined (for the
same key). Since the TOFU conflict information is per key, I'd expect an
implementation to say: Oh, there is already some conflict information for key X.
This must be a more up to date version, so I'll delete that first instead of
appending to it. Is this an unreasonable expectation?

It should be possible to change the behavior to only output the TOFU_STATS lines
if a TOFU_STATS_LONG line is also output (but I need to think about it some
more). Would this be better?

Jan 14 2017, 11:31 PM · RC, Bug Report, gnupg, TOFU

Jan 13 2017

Dr_IT added a comment to T2883: GpgOL: Move/Copy/Save/Export mail doesn't work.

Well if this works, i could live with it temporary, but not indefinitely. While
this f.e. for my wife will not work, not user friendly enough :(
So hopefully you can work this out somewhere in the future, but from you reply i
understand this is not something i should expect soon (or ever)...
I'm also testing EM Client which has promised to come with PGP support, so will
wait a little longer and then decide which (best available) way i'm going to use
(now temporary disabled online encryption).

Jan 13 2017, 5:03 PM · Duplicate, Stalled, Bug Report, gpgol
Dr_IT added a comment to T2892: GpgOL: Encrypt is selected on Reply/Forward.

Thank you for making this an optional setting! Any idea in what release this
will be planned?

Jan 13 2017, 4:57 PM · Unreleased, gpgol, Bug Report
dpcolgan11 set Version to 2.2.0 on T2921: NEWBIE: Command Line decrypt.
Jan 13 2017, 2:41 PM · gnupg
dpcolgan11 added projects to T2921: NEWBIE: Command Line decrypt: gpa, Bug Report.
Jan 13 2017, 2:41 PM · gnupg
aheinecke added a comment to T2737: gpg4win-3.0.0-beta187 and gpg4win-2.3.3 result in crashes of Outlook 2016 (64 bit).

Thanks for testing the beta and your report. I can reproduce some weird crashes
when the preview pane is disabled, too. It's not 100% for me but some times
after sending a crypto mail sometimes later it crashes, sometimes when switching
folders it crashes, very weird. Sometimes the decrypted contents of a mail are
not shown after opening it.

And with preview everything is fine.

Looking into it.

Jan 13 2017, 2:34 PM · Unreleased, Bug Report, gpgol
aheinecke claimed T2737: gpg4win-3.0.0-beta187 and gpg4win-2.3.3 result in crashes of Outlook 2016 (64 bit).
Jan 13 2017, 2:34 PM · Unreleased, Bug Report, gpgol
aheinecke claimed T2861: GpgOL: Problem decrypting inline image.
Jan 13 2017, 2:00 PM · Unreleased, Bug Report, gpgol
aheinecke added a project to T2861: GpgOL: Problem decrypting inline image: Unreleased.
Jan 13 2017, 2:00 PM · Unreleased, Bug Report, gpgol
aheinecke added a comment to T2861: GpgOL: Problem decrypting inline image.

Yes, We fixed that. Sorry I didn't see your bugreport then.

Btw. You can also send such E-Mails encrypted with GpgOL nowadays :-)

http://files.intevation.de/users/aheinecke/gpgol-kitten.png

Jan 13 2017, 2:00 PM · Unreleased, Bug Report, gpgol
aheinecke closed T2861: GpgOL: Problem decrypting inline image as Resolved.
Jan 13 2017, 2:00 PM · Unreleased, Bug Report, gpgol
aheinecke added a comment to T2883: GpgOL: Move/Copy/Save/Export mail doesn't work.

As a user are these workarounds acceptable to you. < This should have been a
question ;-)

Jan 13 2017, 1:56 PM · Duplicate, Stalled, Bug Report, gpgol
aheinecke added a comment to T2883: GpgOL: Move/Copy/Save/Export mail doesn't work.

Hi,

Again thanks for your feedback on the GpgOL-Beta. You might want to give the
latest one from http://files.gpg4win.org/Beta/gpgol/ (beta-246 currently) a try
it's much improved and there were several potential crashes fixed. I'm currently
working on an improved certificate selection and certificate details dialog and
then we will release a new gpg4win beta with that.

To your problem: Yes this is a serious problem, but we currently don't have a
solution for this, only a workaround. The workaround is to do the Copy / Move /
Modify while the mail is not shown decrypted. In the current beta:

If you unselect the crypto mail you can move / copy / modify (e.g. flag) the
message through right clicking it.

To save the message as .msg you can drag & drop it (even when opened) to a
target windows explorer folder.

An opened messaage can still be moved to trash. Any other moves will sadly
result in an "File name or directory name is not valid" error.

We inform the user about this only when he tries to modify a mail (see attached
screenshot) we should probably also do that for other things.

The underlying problem is pretty complicated and we spent a lot of time
struggling with that, but basically we must prevent outlook from saving the
decrypted content. Otherwise the mail will break and can no longer be shown in
other MUAs. And worse the Plaintext may be resynced to the server. One
workaround we had was to restore the crypto contents before outlook saved the
mail then decrypt it again. But this caused several other problems. E.g. Outlook
resynced the mail to imap and Signatures might be broken, and if we did this at
the wrong time outlook would do into an indefinite sync loop. So we decided
better to have clear workarounds and be otherwise stable then to have buggy /
strange behavior.

As a user are these workarounds acceptable to you.

Jan 13 2017, 1:56 PM · Duplicate, Stalled, Bug Report, gpgol
aheinecke added a comment to T2883: GpgOL: Move/Copy/Save/Export mail doesn't work.

Jan 13 2017, 1:56 PM · Duplicate, Stalled, Bug Report, gpgol
aheinecke claimed T2883: GpgOL: Move/Copy/Save/Export mail doesn't work.
Jan 13 2017, 1:56 PM · Duplicate, Stalled, Bug Report, gpgol
brammel set Version to 0.9.7-3 on T2920: pinentry-gnome3's window has no default title.
Jan 13 2017, 1:52 PM · Bug Report, pinentry
brammel added projects to T2920: pinentry-gnome3's window has no default title: pinentry, Bug Report.
Jan 13 2017, 1:52 PM · Bug Report, pinentry
aheinecke claimed T2892: GpgOL: Encrypt is selected on Reply/Forward.
Jan 13 2017, 1:37 PM · Unreleased, gpgol, Bug Report
aheinecke added a comment to T2892: GpgOL: Encrypt is selected on Reply/Forward.

Hi,

Thanks for feedback on the beta!

This was actually a feature request and I consider this a feature. Because it's
a security usability problem if someone replies to an encrypted mail in plain
text with a full quote of the originally encrypted mail. KMail for example does
the same preselection.

But I see your usecase. I'll make it optional (a config setting) but the default
will be "enabled".

Jan 13 2017, 1:37 PM · Unreleased, gpgol, Bug Report
aheinecke added a comment to T2917: --locate-key should re-fetch key via WKD if it is expired.

For what it's worth i think WKD checks should be done even more regularly then
when they are explicitly triggered thorugh locate keys because we need to see
updates on key rollover / revocation of keys or uids. Something like the
parcimonie style auto-key-refesh that is currently planned.

But yes re fetching on locate-keys if the key / uid for key-locate is expired
would be a first step.

Jan 13 2017, 1:34 PM · gnupg (gpg22), Bug Report

Jan 12 2017

dkg added a comment to T2902: dimrngr over tor fails obscurely on IPv6 records when NoIPv6Traffic flag is set.

gpg: keybox '/home/dkg/tmp/tmp.0Ew9D45cz7/gpg/pubring.kbx' created
gpg: /home/dkg/tmp/tmp.0Ew9D45cz7/gpg/trustdb.gpg: trustdb created
gpg: key 7638D0442B90D010: public key "Debian Archive Automatic Signing Key
(8/jessie) <ftpmaster@debian.org>" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: imported: 1
S # hosttable (idx, ipv6, ipv4, dead, name, time):
S # 0 hkps.pool.sks-keyservers.net
S # . hkps.pool.sks-keyservers.net
S # . --> 15 14 13 12 11 10 19 18* 17 16 9 8 7 6 5 4 3 2 1
S # 1 6 [2a02:898:31:0:48:4558:73:6b73]
S # 2 6 [2a01:4a0:59:1000:223:9eff:fe00:100f]
S # 3 6 [2a00:14b0:4200:3000:27::27]
S # 4 6 [2606:9500:201:1::141]
S # 5 6 [2606:1c00:2802::b]
S # 6 6 [2001:bc8:4700:2300::10:f15]
S # 7 6 [2001:bc8:2515::1]
S # 8 6 [2001:720:418:caf1::8]
S # 9 6 [2001:470:1:116::6]
S # 10 4 216.66.15.2
S # 11 4 212.12.48.27
S # 12 4 209.135.211.141
S # 13 4 192.94.109.73
S # 14 4 163.172.29.20
S # 15 4 130.206.1.8
S # 16 4 94.142.242.225
S # 17 4 92.43.111.21
S # 18 4 51.15.53.138
S # 19 4 37.191.238.78
OK
2017-01-12 11:35:25 dirmngr[833] listening on socket
'/home/dkg/tmp/tmp.0Ew9D45cz7/gpg/S.dirmngr'
2017-01-12 11:35:25 dirmngr[834.0] permanently loaded certificates: 0
2017-01-12 11:35:25 dirmngr[834.0] runtime cached certificates: 0
2017-01-12 11:35:25 dirmngr[834.0] failed to open cache dir file
'/home/dkg/tmp/tmp.0Ew9D45cz7/gpg/crls.d/DIR.txt': No such file or directory
2017-01-12 11:35:25 dirmngr[834.0] creating directory
'/home/dkg/tmp/tmp.0Ew9D45cz7/gpg/crls.d'
2017-01-12 11:35:25 dirmngr[834.0] new cache dir file
'/home/dkg/tmp/tmp.0Ew9D45cz7/gpg/crls.d/DIR.txt' created
2017-01-12 11:35:26 dirmngr[834.6] handler for fd 6 started
2017-01-12 11:35:26 dirmngr[834.6] connection from process 831 (1000:1000)
2017-01-12 11:35:26 dirmngr[834.6] DBG: dns: libdns initialized (tor mode)
2017-01-12 11:35:27 dirmngr[834.6] DBG: dns:
getsrv(_pgpkey-https._tcp.hkps.pool.sks-keyservers.net) -> 0 records
2017-01-12 11:35:27 dirmngr[834.6] DBG: dns: libdns initialized (tor mode)
2017-01-12 11:35:28 dirmngr[834.6] DBG: dns:
resolve_dns_name(hkps.pool.sks-keyservers.net): Success
2017-01-12 11:35:28 dirmngr[834.6] resolve_dns_addr for
'hkps.pool.sks-keyservers.net': '[2a02:898:31:0:48:4558:73:6b73]'
2017-01-12 11:35:28 dirmngr[834.6] resolve_dns_addr for
'hkps.pool.sks-keyservers.net': '[2a01:4a0:59:1000:223:9eff:fe00:100f]'
2017-01-12 11:35:28 dirmngr[834.6] resolve_dns_addr for
'hkps.pool.sks-keyservers.net': '[2a00:14b0:4200:3000:27::27]'
2017-01-12 11:35:28 dirmngr[834.6] resolve_dns_addr for
'hkps.pool.sks-keyservers.net': '[2606:9500:201:1::141]'
2017-01-12 11:35:28 dirmngr[834.6] resolve_dns_addr for
'hkps.pool.sks-keyservers.net': '[2606:1c00:2802::b]'
2017-01-12 11:35:28 dirmngr[834.6] resolve_dns_addr for
'hkps.pool.sks-keyservers.net': '[2001:bc8:4700:2300::10:f15]'
2017-01-12 11:35:28 dirmngr[834.6] resolve_dns_addr for
'hkps.pool.sks-keyservers.net': '[2001:bc8:2515::1]'
2017-01-12 11:35:28 dirmngr[834.6] resolve_dns_addr for
'hkps.pool.sks-keyservers.net': '[2001:720:418:caf1::8]'
2017-01-12 11:35:28 dirmngr[834.6] resolve_dns_addr for
'hkps.pool.sks-keyservers.net': '[2001:470:1:116::6]'
2017-01-12 11:35:28 dirmngr[834.6] resolve_dns_addr for
'hkps.pool.sks-keyservers.net': '216.66.15.2'
2017-01-12 11:35:28 dirmngr[834.6] resolve_dns_addr for
'hkps.pool.sks-keyservers.net': '212.12.48.27'
2017-01-12 11:35:28 dirmngr[834.6] resolve_dns_addr for
'hkps.pool.sks-keyservers.net': '209.135.211.141'
2017-01-12 11:35:28 dirmngr[834.6] resolve_dns_addr for
'hkps.pool.sks-keyservers.net': '192.94.109.73'
2017-01-12 11:35:28 dirmngr[834.6] resolve_dns_addr for
'hkps.pool.sks-keyservers.net': '163.172.29.20'
2017-01-12 11:35:28 dirmngr[834.6] resolve_dns_addr for
'hkps.pool.sks-keyservers.net': '130.206.1.8'
2017-01-12 11:35:28 dirmngr[834.6] resolve_dns_addr for
'hkps.pool.sks-keyservers.net': '94.142.242.225'
2017-01-12 11:35:28 dirmngr[834.6] resolve_dns_addr for
'hkps.pool.sks-keyservers.net': '92.43.111.21'
2017-01-12 11:35:28 dirmngr[834.6] resolve_dns_addr for
'hkps.pool.sks-keyservers.net': '51.15.53.138'
2017-01-12 11:35:28 dirmngr[834.6] resolve_dns_addr for
'hkps.pool.sks-keyservers.net': '37.191.238.78'
2017-01-12 11:35:28 dirmngr[834.6] DBG: http.c:connect_server: trying
name='51.15.53.138' port=443
2017-01-12 11:35:28 dirmngr[834.6] DBG: dns: resolve_dns_name(51.15.53.138): Success
2017-01-12 11:35:31 dirmngr[834.6] DBG: http.c:1706:socket_new: object
0x00007f57e400a5d0 for fd 8 created
2017-01-12 11:35:34 dirmngr[834.6] DBG: http.c:request:
2017-01-12 11:35:34 dirmngr[834.6] DBG: >> GET
/pks/lookup?op=get&options=mr&search=0x126C0D24BD8A2942CC7DF8AC7638D0442B90D010
HTTP/1.0\r\n
2017-01-12 11:35:34 dirmngr[834.6] DBG: >> Host:
hkps.pool.sks-keyservers.net:443\r\n
2017-01-12 11:35:34 dirmngr[834.6] DBG: http.c:request-header:
2017-01-12 11:35:34 dirmngr[834.6] DBG: >> \r\n
2017-01-12 11:35:37 dirmngr[834.6] handler for fd 6 terminated
2017-01-12 11:35:37 dirmngr[834.6] handler for fd 6 started
2017-01-12 11:35:37 dirmngr[834.6] connection from process 841 (1000:1000)
2017-01-12 11:35:37 dirmngr[834.6] handler for fd 6 terminated

Jan 12 2017, 5:39 PM · Debian, Bug Report, gnupg, dirmngr
dkg added a comment to T2902: dimrngr over tor fails obscurely on IPv6 records when NoIPv6Traffic flag is set.

gpg: keybox '/home/dkg/tmp/tmp.swbfPRERsO/gpg/pubring.kbx' created
gpg: keyserver receive failed: Server indicated a failure
S # hosttable (idx, ipv6, ipv4, dead, name, time):
S # 0 hkps.pool.sks-keyservers.net
OK
2017-01-12 11:36:01 dirmngr[851] listening on socket
'/home/dkg/tmp/tmp.swbfPRERsO/gpg/S.dirmngr'
2017-01-12 11:36:01 dirmngr[852.0] permanently loaded certificates: 0
2017-01-12 11:36:01 dirmngr[852.0] runtime cached certificates: 0
2017-01-12 11:36:01 dirmngr[852.0] failed to open cache dir file
'/home/dkg/tmp/tmp.swbfPRERsO/gpg/crls.d/DIR.txt': No such file or directory
2017-01-12 11:36:01 dirmngr[852.0] creating directory
'/home/dkg/tmp/tmp.swbfPRERsO/gpg/crls.d'
2017-01-12 11:36:01 dirmngr[852.0] new cache dir file
'/home/dkg/tmp/tmp.swbfPRERsO/gpg/crls.d/DIR.txt' created
2017-01-12 11:36:02 dirmngr[852.6] handler for fd 6 started
2017-01-12 11:36:02 dirmngr[852.6] connection from process 849 (1000:1000)
2017-01-12 11:36:02 dirmngr[852.6] DBG: dns: libdns initialized (tor mode)
2017-01-12 11:36:12 dirmngr[852.6] DBG: dns:
getsrv(_pgpkey-https._tcp.hkps.pool.sks-keyservers.net): Server indicated a failure
2017-01-12 11:36:12 dirmngr[852.6] command 'KS_GET' failed: Server indicated a
failure <Unspecified source>
2017-01-12 11:36:12 dirmngr[852.6] handler for fd 6 terminated
2017-01-12 11:36:12 dirmngr[852.6] handler for fd 6 started
2017-01-12 11:36:12 dirmngr[852.6] connection from process 854 (1000:1000)
2017-01-12 11:36:12 dirmngr[852.6] handler for fd 6 terminated

Jan 12 2017, 5:39 PM · Debian, Bug Report, gnupg, dirmngr
dkg added a comment to T2902: dimrngr over tor fails obscurely on IPv6 records when NoIPv6Traffic flag is set.

gpg: keybox '/home/dkg/tmp/tmp.vOaRFt7s4L/gpg/pubring.kbx' created
gpg: keyserver receive failed: Permission denied
S # hosttable (idx, ipv6, ipv4, dead, name, time):
S # 0 hkps.pool.sks-keyservers.net
S # . hkps.pool.sks-keyservers.net
S # . --> 15 14 13 12 11 10 19 18 17 16 9 8 7 6 5 4 3 2* 1
S # 1 6 [2a02:898:31:0:48:4558:73:6b73]
S # 2 6 [2a01:4a0:59:1000:223:9eff:fe00:100f]
S # 3 6 [2a00:14b0:4200:3000:27::27]
S # 4 6 [2606:9500:201:1::141]
S # 5 6 [2606:1c00:2802::b]
S # 6 6 [2001:bc8:4700:2300::10:f15]
S # 7 6 [2001:bc8:2515::1]
S # 8 6 [2001:720:418:caf1::8]
S # 9 6 [2001:470:1:116::6]
S # 10 4 216.66.15.2
S # 11 4 212.12.48.27
S # 12 4 209.135.211.141
S # 13 4 192.94.109.73
S # 14 4 163.172.29.20
S # 15 4 130.206.1.8
S # 16 4 94.142.242.225
S # 17 4 92.43.111.21
S # 18 4 51.15.53.138
S # 19 4 37.191.238.78
OK
2017-01-12 11:36:23 dirmngr[866] listening on socket
'/home/dkg/tmp/tmp.vOaRFt7s4L/gpg/S.dirmngr'
2017-01-12 11:36:23 dirmngr[867.0] permanently loaded certificates: 0
2017-01-12 11:36:23 dirmngr[867.0] runtime cached certificates: 0
2017-01-12 11:36:23 dirmngr[867.0] failed to open cache dir file
'/home/dkg/tmp/tmp.vOaRFt7s4L/gpg/crls.d/DIR.txt': No such file or directory
2017-01-12 11:36:23 dirmngr[867.0] creating directory
'/home/dkg/tmp/tmp.vOaRFt7s4L/gpg/crls.d'
2017-01-12 11:36:23 dirmngr[867.0] new cache dir file
'/home/dkg/tmp/tmp.vOaRFt7s4L/gpg/crls.d/DIR.txt' created
2017-01-12 11:36:24 dirmngr[867.6] handler for fd 6 started
2017-01-12 11:36:24 dirmngr[867.6] connection from process 864 (1000:1000)
2017-01-12 11:36:24 dirmngr[867.6] DBG: dns: libdns initialized (tor mode)
2017-01-12 11:36:26 dirmngr[867.6] DBG: dns:
getsrv(_pgpkey-https._tcp.hkps.pool.sks-keyservers.net) -> 0 records
2017-01-12 11:36:26 dirmngr[867.6] DBG: dns: libdns initialized (tor mode)
2017-01-12 11:36:27 dirmngr[867.6] DBG: dns:
resolve_dns_name(hkps.pool.sks-keyservers.net): Success
2017-01-12 11:36:27 dirmngr[867.6] resolve_dns_addr for
'hkps.pool.sks-keyservers.net': '[2a02:898:31:0:48:4558:73:6b73]'
2017-01-12 11:36:27 dirmngr[867.6] resolve_dns_addr for
'hkps.pool.sks-keyservers.net': '[2a01:4a0:59:1000:223:9eff:fe00:100f]'
2017-01-12 11:36:27 dirmngr[867.6] resolve_dns_addr for
'hkps.pool.sks-keyservers.net': '[2a00:14b0:4200:3000:27::27]'
2017-01-12 11:36:27 dirmngr[867.6] resolve_dns_addr for
'hkps.pool.sks-keyservers.net': '[2606:9500:201:1::141]'
2017-01-12 11:36:27 dirmngr[867.6] resolve_dns_addr for
'hkps.pool.sks-keyservers.net': '[2606:1c00:2802::b]'
2017-01-12 11:36:27 dirmngr[867.6] resolve_dns_addr for
'hkps.pool.sks-keyservers.net': '[2001:bc8:4700:2300::10:f15]'
2017-01-12 11:36:27 dirmngr[867.6] resolve_dns_addr for
'hkps.pool.sks-keyservers.net': '[2001:bc8:2515::1]'
2017-01-12 11:36:27 dirmngr[867.6] resolve_dns_addr for
'hkps.pool.sks-keyservers.net': '[2001:720:418:caf1::8]'
2017-01-12 11:36:27 dirmngr[867.6] resolve_dns_addr for
'hkps.pool.sks-keyservers.net': '[2001:470:1:116::6]'
2017-01-12 11:36:27 dirmngr[867.6] resolve_dns_addr for
'hkps.pool.sks-keyservers.net': '216.66.15.2'
2017-01-12 11:36:27 dirmngr[867.6] resolve_dns_addr for
'hkps.pool.sks-keyservers.net': '212.12.48.27'
2017-01-12 11:36:27 dirmngr[867.6] resolve_dns_addr for
'hkps.pool.sks-keyservers.net': '209.135.211.141'
2017-01-12 11:36:27 dirmngr[867.6] resolve_dns_addr for
'hkps.pool.sks-keyservers.net': '192.94.109.73'
2017-01-12 11:36:27 dirmngr[867.6] resolve_dns_addr for
'hkps.pool.sks-keyservers.net': '163.172.29.20'
2017-01-12 11:36:27 dirmngr[867.6] resolve_dns_addr for
'hkps.pool.sks-keyservers.net': '130.206.1.8'
2017-01-12 11:36:27 dirmngr[867.6] resolve_dns_addr for
'hkps.pool.sks-keyservers.net': '94.142.242.225'
2017-01-12 11:36:27 dirmngr[867.6] resolve_dns_addr for
'hkps.pool.sks-keyservers.net': '92.43.111.21'
2017-01-12 11:36:27 dirmngr[867.6] resolve_dns_addr for
'hkps.pool.sks-keyservers.net': '51.15.53.138'
2017-01-12 11:36:27 dirmngr[867.6] resolve_dns_addr for
'hkps.pool.sks-keyservers.net': '37.191.238.78'
2017-01-12 11:36:27 dirmngr[867.6] DBG: http.c:connect_server: trying
name='2a01:4a0:59:1000:223:9eff:fe00:100f' port=443
2017-01-12 11:36:27 dirmngr[867.6] DBG: dns:
resolve_dns_name(2a01:4a0:59:1000:223:9eff:fe00:100f): Success
2017-01-12 11:36:27 dirmngr[867.6] can't connect to
'2a01:4a0:59:1000:223:9eff:fe00:100f': Permission denied
2017-01-12 11:36:27 dirmngr[867.6] error connecting to
'https://[2a01:4a0:59:1000:223:9eff:fe00:100f]:443': Permission denied
2017-01-12 11:36:27 dirmngr[867.6] command 'KS_GET' failed: Permission denied
2017-01-12 11:36:27 dirmngr[867.6] handler for fd 6 terminated
2017-01-12 11:36:27 dirmngr[867.6] handler for fd 6 started
2017-01-12 11:36:27 dirmngr[867.6] connection from process 869 (1000:1000)
2017-01-12 11:36:27 dirmngr[867.6] handler for fd 6 terminated

Jan 12 2017, 5:38 PM · Debian, Bug Report, gnupg, dirmngr
dkg added a comment to T2902: dimrngr over tor fails obscurely on IPv6 records when NoIPv6Traffic flag is set.

Here's the reproducer script i'm using:

--------

#!/bin/bash

WORKDIR=$(mktemp -d)
export GNUPGHOME="$WORKDIR/gpg"
mkdir -p -m 0700 "$GNUPGHOME"
cat > "$GNUPGHOME/dirmngr.conf" <<EOF
debug dns,network
verbose
use-tor
log-file $WORKDIR/dirmngr.log
EOF

gpg --recv 126C0D24BD8A2942CC7DF8AC7638D0442B90D010

gpg-connect-agent --dirmngr 'keyserver --hosttable' /bye

cat "$WORKDIR/dirmngr.log"

rm -rf "$WORKDIR"

I just ran it three times in a row, and i got three different results, which
i'll paste as separate messages for easier visibility.

Jan 12 2017, 5:37 PM · Debian, Bug Report, gnupg, dirmngr
werner added a comment to T2902: dimrngr over tor fails obscurely on IPv6 records when NoIPv6Traffic flag is set.

Can you run dirmngr with

debug dns,network
verbose

I don't think that gnutls debug is required.

Jan 12 2017, 12:32 PM · Debian, Bug Report, gnupg, dirmngr
dkg added a comment to T2902: dimrngr over tor fails obscurely on IPv6 records when NoIPv6Traffic flag is set.

They don't solve the bug for me, unfortunately. with those patches applied, i
now get "permission denied" errors:

an 11 15:57:18 alice dirmngr[20203]: DBG: gnutls:L3: ASSERT:
mpi.c[_gnutls_x509_read_uint]:246
Jan 11 15:57:18 alice dirmngr[20203]: DBG: gnutls:L5: REC[0x7f07c0008640]:
Allocating epoch #0
Jan 11 15:57:18 alice dirmngr[20203]: can't connect to
'2a02:898:31:0:48:4558:73:6b73': Permission denied
Jan 11 15:57:18 alice dirmngr[20203]: error connecting to
'https://[2a02:898:31:0:48:4558:73:6b73]:443': Permission denied

which also don't mark the IPv6 address as dead, so they're effectively permanent
until i clear them out.

As a workaround, i've been clearing out all IPv6 addresses with this terrible hack:

0 dkg@alice:~$ cat bin/dirmngr-flush-ipv6
#!/bin/bash

drop all IPv6 keyservers from dirmngr:

gpg-connect-agent --dirmngr 'keyserver --hosttable' /bye |\

awk '/\[.*:.*\]/{ print "keyserver --dead " $5 } ' |\
gpg-connect-agent --dirmngr

0 dkg@alice:~$

Jan 12 2017, 12:37 AM · Debian, Bug Report, gnupg, dirmngr

Jan 11 2017

werner added a comment to T2902: dimrngr over tor fails obscurely on IPv6 records when NoIPv6Traffic flag is set.

I just pushed two patches:
76fb2fe dirmngr: Mark hosts dead on ENETDOWN.
09aeac4 dirmngr: Fix Tor access for v6 addresses.
which should solve this bug.

Jan 11 2017, 4:48 PM · Debian, Bug Report, gnupg, dirmngr
werner added a project to T2902: dimrngr over tor fails obscurely on IPv6 records when NoIPv6Traffic flag is set: Restricted Project.
Jan 11 2017, 4:48 PM · Debian, Bug Report, gnupg, dirmngr
RJVB added a comment to T2733: alternate header directory (--includedir) isn't set in GpgmeppConfig.cmake.

It seems like indeed it should have been resolved. I have also resolved the issue
by moving the old headers from KDEPIMLibs 4 to a private location, and KF5
projects have apparently been updated to work with gpgme++ installed in
$prefix/include/gpgme++ .

Jan 11 2017, 4:39 PM · gpgme, Bug Report
RJVB reopened T2733: alternate header directory (--includedir) isn't set in GpgmeppConfig.cmake as "Open".
Jan 11 2017, 4:39 PM · gpgme, Bug Report
aheinecke closed T2733: alternate header directory (--includedir) isn't set in GpgmeppConfig.cmake as Resolved.
Jan 11 2017, 4:01 PM · gpgme, Bug Report
aheinecke added a comment to T2733: alternate header directory (--includedir) isn't set in GpgmeppConfig.cmake.

I think this was already resolved by:

https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpgme.git;a=commitdiff;h=7302791c0d308c3284ac24a743035d27a0c0b6ba

Please let me know if it still does not work for you.

Jan 11 2017, 4:01 PM · gpgme, Bug Report
aheinecke closed T2877: GpgmeppConfig.cmake is broken (contains @libsuffix@) as Resolved.
Jan 11 2017, 3:59 PM · gpgme, Bug Report
aheinecke added a project to T2877: GpgmeppConfig.cmake is broken (contains @libsuffix@): Unreleased.
Jan 11 2017, 3:59 PM · gpgme, Bug Report
aheinecke added a comment to T2877: GpgmeppConfig.cmake is broken (contains @libsuffix@).

I am very sorry for this problem, was a bad mistake.

This was fixed immediately after the release but we need a new release to roll
it out.

Jan 11 2017, 3:59 PM · gpgme, Bug Report
aheinecke added a comment to T2885: missing prototypes in qpgme (OS X).

Thanks, applied!

Forgot to give you credit / mention this bug in the commit message. Apologies
for that.

Jan 11 2017, 3:55 PM · Unreleased, MacOS, Bug Report
aheinecke added a project to T2885: missing prototypes in qpgme (OS X): Unreleased.
Jan 11 2017, 3:55 PM · Unreleased, MacOS, Bug Report
aheinecke closed T2885: missing prototypes in qpgme (OS X) as Resolved.
Jan 11 2017, 3:55 PM · Unreleased, MacOS, Bug Report
wiz added projects to T2919: fix gpgme/gpgsm pipe server session with use_descriptor_passing (was: mutt + gpgme problems with some Outlook S/MIME emails): Bug Report, gpgme.
Jan 11 2017, 2:27 PM · gpgme, Bug Report
werner added a comment to T2902: dimrngr over tor fails obscurely on IPv6 records when NoIPv6Traffic flag is set.

The reason why we see an EINVAL for a v6 address is that
we create the socket for AF_INET6 but then use that very socket with AF_INET to
sonnect to the socks5 proxy. Cleary a socket for v6 can't be used to connect to
a v4 address.

Jan 11 2017, 12:51 PM · Debian, Bug Report, gnupg, dirmngr

Jan 10 2017

werner added a project to T2917: --locate-key should re-fetch key via WKD if it is expired: gnupg (gpg22).
Jan 10 2017, 5:30 PM · gnupg (gpg22), Bug Report
werner added a comment to T2917: --locate-key should re-fetch key via WKD if it is expired.

Good point.

Jan 10 2017, 5:30 PM · gnupg (gpg22), Bug Report
jolson added a project to T2918: First-run behaviour differs depending on which home directory is requested: Bug Report.
Jan 10 2017, 4:00 AM · Bug Report

Jan 9 2017

hanno set Version to 2.1.17 on T2917: --locate-key should re-fetch key via WKD if it is expired.
Jan 9 2017, 3:48 PM · gnupg (gpg22), Bug Report
hanno added projects to T2917: --locate-key should re-fetch key via WKD if it is expired: gnupg, Bug Report.
Jan 9 2017, 3:48 PM · gnupg (gpg22), Bug Report
hanno added a comment to T2917: --locate-key should re-fetch key via WKD if it is expired.

Jan 9 2017, 3:48 PM · gnupg (gpg22), Bug Report
justus claimed T2881: Gpgme gpgconf changes are sometimes not made.
Jan 9 2017, 11:23 AM · gpgme, Bug Report, Windows 32, Windows
werner added a project to T2745: gpg 2.1.15, *no* keyservers found for submit/recv, "DNS query returned an error or no records: No such domain (nxdomain)": Restricted Project.
Jan 9 2017, 10:57 AM · gnupg, Bug Report, dirmngr
werner added a comment to T2745: gpg 2.1.15, *no* keyservers found for submit/recv, "DNS query returned an error or no records: No such domain (nxdomain)".

Please try current master where I hopefully fixed T2451. This may also fix
this issue.

Jan 9 2017, 10:57 AM · gnupg, Bug Report, dirmngr
werner added a project to T2451: _hkp_tcp SRV record doesn't work: Restricted Project.
Jan 9 2017, 10:55 AM · gnupg, Bug Report, dirmngr
werner added a comment to T2451: _hkp_tcp SRV record doesn't work.

Fixed in master:

0cc975d dirmngr: Use "pgpkey-hkps" and "pgpkey-hkp" for SRV record lookups.
c2cbe2f dirmngr: Do not use a SRV record for HKP if a port was specified.

Jan 9 2017, 10:55 AM · gnupg, Bug Report, dirmngr
werner claimed T2451: _hkp_tcp SRV record doesn't work.
Jan 9 2017, 9:37 AM · gnupg, Bug Report, dirmngr
werner added a comment to T2745: gpg 2.1.15, *no* keyservers found for submit/recv, "DNS query returned an error or no records: No such domain (nxdomain)".

This seems to be closely related to T2451.

The ML discussion started during my fall vacation and thus scrolled out of my
sight :-(. While doing some unrelated SRV experiments yesterday, I figured the
problem myself and K_F pointed me to the discussion.

The actual cause for the bugs might be that I missed to forward-port David's
patch from 2009 for changing the service name to the 2.1 branch. I will further
investigate. The move to libdns introduced other bugs and covered the actual bug.

Jan 9 2017, 9:36 AM · gnupg, Bug Report, dirmngr

Jan 6 2017

neal added projects to T2915: Key import on a machine with date moved back: gnupg, Bug Report.
Jan 6 2017, 9:25 PM · Bug Report, gnupg
werner added a comment to T2908: dirmngr can't be build w/o LDAP.

We should use the wrapper as long as we don't have full control over libldap
(select, timeout, etc.)

Jan 6 2017, 7:13 PM · dirmngr, gnupg (gpg22), Bug Report, gnupg
werner added a project to T2908: dirmngr can't be build w/o LDAP: gnupg (gpg22).
Jan 6 2017, 7:13 PM · dirmngr, gnupg (gpg22), Bug Report, gnupg
werner renamed T2908: dirmngr can't be build w/o LDAP from dirmngr, ldap, dirmngr_ldap, and the ldap "wrapper" to dirmngr can't be build w/o LDAP.
Jan 6 2017, 7:12 PM · dirmngr, gnupg (gpg22), Bug Report, gnupg
werner added a project to T2908: dirmngr can't be build w/o LDAP: dirmngr.
Jan 6 2017, 7:12 PM · dirmngr, gnupg (gpg22), Bug Report, gnupg
werner added a project to T2910: gpgme 1.8 build failure: strdup undeclared on MacOSX Sierra: MacOS.
Jan 6 2017, 7:09 PM · MacOS, gpgme, Bug Report
werner added a comment to T2910: gpgme 1.8 build failure: strdup undeclared on MacOSX Sierra.

We don't see that on our Sierra box.

Jan 6 2017, 7:09 PM · MacOS, gpgme, Bug Report
werner added a comment to T2911: Key creation problem with 2.1.16 (passphrase param).

Workaround is to use --passphrase

Jan 6 2017, 7:07 PM · Bug Report, gnupg
werner added a project to T2914: TOFU Conflict Status fd output broken: RC.
Jan 6 2017, 7:06 PM · RC, Bug Report, gnupg, TOFU
werner closed T1964: make distclean forgets tests/crls.d and tests/S.dirmngr as Resolved.
Jan 6 2017, 5:36 PM · Bug Report, gnupg
werner added a comment to T1964: make distclean forgets tests/crls.d and tests/S.dirmngr.

The tests framework has anyway been reworked and thus I doubt that this is still
a bug.

Jan 6 2017, 5:36 PM · Bug Report, gnupg
aheinecke added projects to T2914: TOFU Conflict Status fd output broken: TOFU, gnupg, Bug Report.
Jan 6 2017, 5:34 PM · RC, Bug Report, gnupg, TOFU
aheinecke set Version to master on T2914: TOFU Conflict Status fd output broken.
Jan 6 2017, 5:34 PM · RC, Bug Report, gnupg, TOFU
werner added a project to T2115: Spurious error on symmetric encryption: Not A Bug.
Jan 6 2017, 5:34 PM · Not A Bug, gnupg, Bug Report
werner closed T2115: Spurious error on symmetric encryption as Resolved.
Jan 6 2017, 5:34 PM · Not A Bug, gnupg, Bug Report
werner closed T2118: Command --quick-gen-key ignores --default-cert-expire, --edit-key ignores --default-sig-expire as Resolved.
Jan 6 2017, 5:33 PM · Won't Fix, gnupg (gpg21), Bug Report, gnupg
werner added a project to T2255: Doesn't import secret key on console mode: Not A Bug.
Jan 6 2017, 5:31 PM · Not A Bug, Bug Report, gnupg
werner closed T2255: Doesn't import secret key on console mode as Resolved.
Jan 6 2017, 5:31 PM · Not A Bug, Bug Report, gnupg
werner removed a project from T2273: Using GPA and Kleopatra in gpg4win does not allow you to change cipher-algo: Unreleased.
Jan 6 2017, 5:30 PM · gnupg, Bug Report, S/MIME
werner raised the priority of T2387: GNUPGHOME with newlines breaks standard parsing of gpgconf --list-dirs from Low to Normal.
Jan 6 2017, 5:29 PM · gnupg (gpg22), Bug Report, gnupg
werner added a project to T2387: GNUPGHOME with newlines breaks standard parsing of gpgconf --list-dirs: gnupg (gpg22).
Jan 6 2017, 5:29 PM · gnupg (gpg22), Bug Report, gnupg
werner added a project to T2423: configure: error: Sorry, the current implemenation requires mmap. due to empty CFLAGS (missing -fPIC): gnupg (gpg22).
Jan 6 2017, 5:26 PM · gnupg (gpg22), Bug Report, gnupg
werner raised the priority of T2423: configure: error: Sorry, the current implemenation requires mmap. due to empty CFLAGS (missing -fPIC) from Low to Normal.
Jan 6 2017, 5:26 PM · gnupg (gpg22), Bug Report, gnupg
werner added a project to T2397: error messages from gpg_keys_hkp's stderr are printed in gpg's stdout: gnupg (gpg14).
Jan 6 2017, 5:24 PM · gnupg (gpg14), Bug Report, gnupg
werner closed T2406: Sockets created in GNUPGHOME instead of /run/user/UID/gnupg if specified. as Resolved.
Jan 6 2017, 5:22 PM · Not A Bug, Bug Report, gnupg
werner closed T2427: Allow universal --batch more, with STDIN reads as Resolved.
Jan 6 2017, 5:21 PM · Won't Fix, Not A Bug, Bug Report, gnupg
werner added a comment to T2736: gnupg 1.4 fixed-list-mode fails to take effect when listing keys.

A major problem with gpg FILE-WITH-KEYS is that its behaviour was never well
defined and it is more a side effect than a a reguarl feature.

It should be fixed, however.

Jan 6 2017, 5:20 PM · gnupg (gpg14), Bug Report, gnupg
werner added a project to T2736: gnupg 1.4 fixed-list-mode fails to take effect when listing keys: gnupg (gpg14).
Jan 6 2017, 5:20 PM · gnupg (gpg14), Bug Report, gnupg
werner raised the priority of T2741: --quick-gen-key prints duplicate fingerprint from Low to Normal.
Jan 6 2017, 5:17 PM · Bug Report, gnupg
werner raised the priority of T2851: redefinition of typedef 'rfc822parse_t' from Low to Normal.
Jan 6 2017, 5:16 PM · Bug Report, gnupg
werner added a comment to T2236: Importing a key with badly ordered packets doesn't reorder it, and while --edit-key does reorder it doesn't move the signature packets to the right place.

From the ML:

Hi there,

Some keys are found on the keyserver network with non-self signatures
incorrectly attached to a subkey instead of a UID (cf. Issue2236).

Since 2.1.13 it's possible to reorder fix these keys by running the
‘check’ command of the gpg shell. However the procedure currently has
to be repeated after refreshing the keyring, since each --refresh-keys
command downloads the badly ordered key again.

In T2236 (wk on May 06 2016, 08:18 PM / Roundup) Werner wrote that “We will eventually call that reorder
function during import. But let's wait for bug reports with the
--edit-key triggered code.” This code has been working fine for me
since 2.1.13, so I was wondering if it could be activated for --import
(and --recv-key) in 2.1.18? (So we get this in the next Debian stable
:-)

Moreover, as Neal pointed out to me privately, there is no overhead for
keys that don't have incorrectly placed signature packets.

Thanks!

Cheers,

Guilhem.

Jan 6 2017, 5:10 PM · gnupg (gpg22), Bug Report
neal added a project to T2236: Importing a key with badly ordered packets doesn't reorder it, and while --edit-key does reorder it doesn't move the signature packets to the right place: gnupg (gpg22).
Jan 6 2017, 3:57 PM · gnupg (gpg22), Bug Report
neal added projects to T2913: python: default op_keylist_start parameters.: Bug Report, gpgme.
Jan 6 2017, 3:39 PM · gpgme, Bug Report
neal set External Link to https://lists.gnupg.org/pipermail/gnupg-devel/2016-December/032272.html on T2913: python: default op_keylist_start parameters..
Jan 6 2017, 3:39 PM · gpgme, Bug Report
neal updated subscribers of T2913: python: default op_keylist_start parameters..
Jan 6 2017, 3:39 PM · gpgme, Bug Report
neal set External Link to https://lists.gnupg.org/pipermail/gnupg-devel/2016-November/032235.html on T2911: Key creation problem with 2.1.16 (passphrase param).
Jan 6 2017, 3:25 PM · Bug Report, gnupg
neal added projects to T2911: Key creation problem with 2.1.16 (passphrase param): gnupg, Bug Report.
Jan 6 2017, 3:25 PM · Bug Report, gnupg
neal set Version to 1.8.0 on T2910: gpgme 1.8 build failure: strdup undeclared on MacOSX Sierra.
Jan 6 2017, 3:01 PM · MacOS, gpgme, Bug Report