Page MenuHome GnuPG
Feed Advanced Search

Feb 24 2016

werner lowered the priority of T2135: Keyring locking on Windows broken from High to Normal.
Feb 24 2016, 2:24 PM · Bug Report, gpg4win, Windows, gnupg, Windows 32
werner added a comment to T2135: Keyring locking on Windows broken.

Okay, so I can backport this to 2.0 ?

Feb 24 2016, 2:24 PM · Bug Report, gpg4win, Windows, gnupg, Windows 32
sa set Version to 2.3.0 on T2265: SSH confirmation with gpg-agent on Windows has the Allow button as the default action.
Feb 24 2016, 1:32 PM · Bug Report, gpg4win
sa added a comment to T2265: SSH confirmation with gpg-agent on Windows has the Allow button as the default action.

Feb 24 2016, 1:32 PM · Bug Report, gpg4win
sa added projects to T2265: SSH confirmation with gpg-agent on Windows has the Allow button as the default action: gpg4win, Bug Report.
Feb 24 2016, 1:32 PM · Bug Report, gpg4win

Feb 23 2016

danf added a comment to T2256: (Near) endless loop in gcry_mpi_powm.

I tried the patch and the problem hasn't shown up for me after an hour of
continuously running the test suite, so it looks fixed! Thanks for the fast
turnaround on this tricky problem.

Feb 23 2016, 10:48 PM · Bug Report, libgcrypt
ueno added a comment to T2034: pinentry emacs features need documentation.

It has been there since the 21.1 release. The relevant commits are:
http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=b021ef186f6062705a29ae8e3840ad32db451811
http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=719349f6d0e464d4f71963b87f6bfa08ac630aa7

Feb 23 2016, 8:14 AM · Bug Report, pinentry
gniibe added a comment to T2256: (Near) endless loop in gcry_mpi_powm.

By "all zero", I mean that a limb can be with bits of all zeros, so that e =
ep[i] can be zero.

Feb 23 2016, 6:10 AM · Bug Report, libgcrypt
gniibe added a comment to T2256: (Near) endless loop in gcry_mpi_powm.

D359: 783_mpi-pow-normalize-expo.diff

Feb 23 2016, 6:07 AM · Bug Report, libgcrypt
gniibe added a comment to T2256: (Near) endless loop in gcry_mpi_powm.

Thank you very much. It is reproducible for me, too. I located the issue.
I think that it is reproducible for any libgcrypt (even < 1.5.3).
With the patch attached, problem seems to be gone.
Problem is that the DH exchange introduced in the commit fc4a969a in libssh2,
the EXPO argument is coming without normalization, so, count_leading_zeros
results undefined value on IA-32.
In libssh2, it's random bytes, so, it can be all 0.

Feb 23 2016, 6:07 AM · Bug Report, libgcrypt

Feb 22 2016

danf added a comment to T2256: (Near) endless loop in gcry_mpi_powm.

A couple more point: openssh must be installed on the system so the test suite
will work. Also, the problem seems to have started in commit fc4a969a in libssh2.

Feb 22 2016, 10:51 PM · Bug Report, libgcrypt
danf added a comment to T2256: (Near) endless loop in gcry_mpi_powm.

This recipe generally causes a hang within no more than 5 minutes of running
through the test suite on my system. libcrypt is assumed to be installed in the
normal location, or set PKG_CONFIG_PATH appropriately. Run "src/curl --version"
to make sure it says libssh2/1.7.0_DEV to prove it's picked up the right libssh2
and "ldd src/.libs/lt-curl" to make sure it's using gcrypt.

git clone https://github.com/libssh2/libssh2.git
cd libssh2
./buildconf
./configure --prefix=/tmp/install --with-libgcrypt
make -j6 && make install
cd ..
curl -O https://curl.haxx.se/download/curl-7.47.1.tar.lzma
tar xaf curl-7.47.1.tar.lzma
cd curl-7.47.1
PKG_CONFIG_PATH=/tmp/install/lib/pkgconfig ./configure --enable-debug
--without-ssl --with-libssh2
make -j6
while true; do make -j6 test TEST_Q='-a -p -n SFTP SCP'; done

Feb 22 2016, 10:43 PM · Bug Report, libgcrypt
aheinecke added a comment to T2247: inst_gpgol = false ha no affect.

Hi,

I've looked at the code and everything seems finde there. Config file is read
and if the entry is set the installation section is unselected.

To verify it works:
I've uninstalled gpg4win on a testsystem (Win 10 32 bit but that should really
have no influence at all)

  • Verified that GpgOL was unregistered and did not show up in outlook
  • Closed outlook
  • Installed Gpg4win from the command line: C:\Users\aheinecke>C:\Users\aheinecke\Downloads\gpg4win-2.3.0.exe /S

/C=C:\Users\aheinecke\Desktop\gpg4win.ini

The Gpg4win.ini was minimal and only contained one line:
inst_gpgol=false

-> Confirmed that GpgOL.dll is not installed in the installation direcotry.
-> Confirmed that GpgOL does not show up in Outlook.

Then I've downloaded the gpg4win.ini you've uploaded here and tried again with
that. Still everything works as expected. No GpgOL is installed and it does not
show up in Outlook. Then I've changed inst_gpgex to false in your ini and tried
again and confirmed that GpgEX is also not installed. (Just to verify that
really that file is used.)

Is there something special with the Path where you have the gpg4win.ini ? E.g.
Is it on a Network directory? (This might fail with windows UAC) or does the
Path contain spaces?

Regards,
Andre

Feb 22 2016, 3:47 PM · Info Needed, Bug Report, gpg4win
aheinecke added a project to T2247: inst_gpgol = false ha no affect: Info Needed.
Feb 22 2016, 3:47 PM · Info Needed, Bug Report, gpg4win
neal added a comment to T2034: pinentry emacs features need documentation.

@ueno: This is reasonable. Thanks for the explanation. Do you happen to know
approximately what version started to enable these protections?

Feb 22 2016, 11:32 AM · Bug Report, pinentry
aheinecke added a comment to T2135: Keyring locking on Windows broken.

Tested this with keybox and it appears to be working. When running a keylist
while importing the import holds for a bit and continues after the keylist.
Not tested this with keyring yet.

Feb 22 2016, 11:14 AM · Bug Report, gpg4win, Windows, gnupg, Windows 32
bernhard added a comment to T2247: inst_gpgol = false ha no affect.

xyzspeedy wrote to me that the behaviour is reproducable with
Windows 7, 8.1 and 10 (each time pro x64)

Feb 22 2016, 10:41 AM · Info Needed, Bug Report, gpg4win
gniibe added a comment to T2256: (Near) endless loop in gcry_mpi_powm.

If it is difficult for you to minimize your test case, as long as it is
reproducible, please let us have your test case. We'll try to figure out the bug.

Feb 22 2016, 6:38 AM · Bug Report, libgcrypt
ueno reopened T2034: pinentry emacs features need documentation as "Open".
Feb 22 2016, 3:18 AM · Bug Report, pinentry
ueno added a comment to T2034: pinentry emacs features need documentation.

D315: 782_0001-doc-Make-Emacs-frontend-description-more-accurate.patch

Feb 22 2016, 3:18 AM · Bug Report, pinentry
ueno added a comment to T2034: pinentry emacs features need documentation.

Thanks for writing this up, Neal. However, I found the claim a bit
inaccurate by now. I am attaching a proposed fix for this.

Emacs keeps all key presses buffered.
(You can see the recent key presses by typing @code{C-h l}
(@code{view-lossage}) in emacs.)

This is not the case with the common `read-passwd' function, which
clears the log on every key press. See:
http://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/subr.el#n2126

Because of this concern, Emacs doesn't
enable this by default (the user has to run @code{(pinentry-start)},
e.g., from his or her @code{.emacs} file, explicitly).

This is no longer true. Emacs checks the allow-emacs-pinentry option
of gpg-agent, and start it if desired.

Further, Emacs is a huge program,
which doesn't provide any process isolation to speak of. As such,
having it handle the passphrase adds a huge chunk of code to the
user's trusted computing base.

Yes. However, all official packages on elpa.gnu.org are digitally
signed and supposed to work courteously. Users can still use unsigned
or 3rd party packages, but I think it is similar to the situation
where distribution packages are used.

In conclusion, I would say the Emacs pinentry provides the same level
of security as the current pinentry-gtk2 (as long as the
implementation is sane). My only concern was that Emacs `read-passwd'
is implemented in Elisp and thus cannot use secure memory. However,
it is also true for pinentry-gtk2, which uses the default GtkEntry
now.

Feb 22 2016, 3:18 AM · Bug Report, pinentry

Feb 19 2016

neal added a comment to T2229: make check 14 0f 35 tests failed.

Thanks! I'm mark this as resolved.

Feb 19 2016, 6:59 PM · Bug Report, gnupg
neal removed a project from T2229: make check 14 0f 35 tests failed: Restricted Project.
Feb 19 2016, 6:59 PM · Bug Report, gnupg
neal closed T2229: make check 14 0f 35 tests failed as Resolved.
Feb 19 2016, 6:59 PM · Bug Report, gnupg
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: Restricted Project.
Feb 19 2016, 6:57 PM · gnupg (gpg22), Bug Report
neal 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.

I've pushed a slightly different version of this patch (2d1d795). Please test
not only that --edit-key detects duplicates and reorders out of place
signatures, but also that revocation certifications, self-sigs, etc. are
correctly checked. Thanks!

Feb 19 2016, 4:42 PM · gnupg (gpg22), Bug Report
bernhard updated subscribers of T2247: inst_gpgol = false ha no affect.
Feb 19 2016, 8:14 AM · Info Needed, Bug Report, gpg4win
bernhard assigned T2247: inst_gpgol = false ha no affect to aheinecke.
Feb 19 2016, 8:14 AM · Info Needed, Bug Report, gpg4win
bernhard added a comment to T2247: inst_gpgol = false ha no affect.

Andre,
let us fix this for 2.3.1.

Feb 19 2016, 8:14 AM · Info Needed, Bug Report, gpg4win
uldis added projects to T2262: Use protable unix commands and arguments in tests: gnupg, Bug Report.
Feb 19 2016, 8:04 AM · Bug Report, gnupg
uldis added a comment to T2262: Use protable unix commands and arguments in tests.

D363: 781_gnupg_test_with_portable_shell_commands.patch

Feb 19 2016, 8:04 AM · Bug Report, gnupg
uldis added a comment to T2261: Disable gpgtar tests when configured with --disable-gpgtar.

D362: 780_gnupg_do_not_run_gpgtar_test_when_not_built.patch

Feb 19 2016, 8:00 AM · Bug Report, gnupg
uldis added projects to T2261: Disable gpgtar tests when configured with --disable-gpgtar: gnupg, Bug Report.
Feb 19 2016, 8:00 AM · Bug Report, gnupg

Feb 18 2016

t8m added a comment to T2229: make check 14 0f 35 tests failed.

Yes, that patch fixed the problem for me.

Feb 18 2016, 5:24 PM · Bug Report, gnupg
werner added a comment to T1810: Overhaul rndunix.c and rndw32.c.

Note that we need a 64 bit Libgcrypt for a 64 bit GpgOL. Thus checking that
rndw32.c works proberly on 64 bit Windows will soon be important.

Feb 18 2016, 9:29 AM · Bug Report, libgcrypt

Feb 17 2016

gniibe added a comment to T2256: (Near) endless loop in gcry_mpi_powm.

I can't show you math proof at hand, but I'm confident enough J can't be negative.
This implementation of mpi_powm was introduced in October 2013.

libgcrypt 1.5.3 was the one with old implementation.

Feb 17 2016, 1:14 PM · Bug Report, libgcrypt
uldis added a comment to T2260: npth resource locking not working on AIX.

D361: 779_npth_broken_sem_init.patch

Feb 17 2016, 12:11 PM · Bug Report, npth
uldis set Version to 1.2 on T2260: npth resource locking not working on AIX.
Feb 17 2016, 12:11 PM · Bug Report, npth
uldis added projects to T2260: npth resource locking not working on AIX: npth, Bug Report.
Feb 17 2016, 12:11 PM · Bug Report, npth
danf added a comment to T2256: (Near) endless loop in gcry_mpi_powm.

The code that's failing is single threaded and passes valgrind, address sanitizer
and undefined sanitizer tests. I can't think of how the stack could be corrupted
from outside the routine, except perhaps that a signal handler is involved. If
you're confident that j could never be negative in the normal case, then I'll try
tracking down how that could happen.

Feb 17 2016, 10:07 AM · Bug Report, libgcrypt
gniibe added a comment to T2256: (Near) endless loop in gcry_mpi_powm.

Thank you for your experiment.
I suspect other cause(s). In the code itself, there is no possibility J can be
negative. However, it could be possible, in practice, when the stack is
corrupted because of wrong allocation of memory or by other threads.

Feb 17 2016, 12:45 AM · Bug Report, libgcrypt

Feb 16 2016

pmawson added a project to T2259: --key-gen failing on Solaris 10: Bug Report.
Feb 16 2016, 8:20 PM · gnupg, gnupg (gpg14), Bug Report
pmawson set Version to 1.4.20,REV=2016.02.05 on T2259: --key-gen failing on Solaris 10.
Feb 16 2016, 8:20 PM · gnupg, gnupg (gpg14), Bug Report
neal 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.

The branch neal/issue2236 contains an initial fix. It does two things:

  • It identifies duplicate signatures (based on their message digest) and removes

duplicates.

  • Instead of blindly moving signatures around, this systematically tests each

signature against its alleged component (= primary key / subkey / user id) and
if it is bad, it tries the other components in the key block and moves it if
appropriate. (If it doesn't belong to any components, then the sig is just left
where it is and GnuPG will ignore it).

I've tested this with a few keys and it seems to work well. Lucas' key just has
a lot of duplicate signatures.

Starting program: /home/us/neal/work/gpg/build/gnupg/g10/gpg2 --check-key
0x06EAA066E397832F
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
gpg: WARNING: unsafe permissions on homedir '/tmp/luca'
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: Ignored 852 duplicate signatures (total: 2079).
gpg: public key E397832F: timestamp: 2009-07-01 14:44:59 (1246459499)
gpg: user id: Luca Capello <luca@pca.it>
gpg: sig: class: 0x10, issuer: 109E6244, timestamp: 2013-02-05 02:24:16
(1360031056), digest: eb c3
gpg: Good signature over last major component!
gpg: sig: class: 0x13, issuer: E397832F, timestamp: 2009-07-01 14:44:59
(1246459499), digest: 93 7a
gpg: Good signature over last major component!
gpg: sig: class: 0x13, issuer: E397832F, timestamp: 2009-07-01 14:58:17
(1246460297), digest: 53 4f
gpg: Good signature over last major component!
gpg: sig: class: 0x13, issuer: E397832F, timestamp: 2010-10-10 21:44:51
(1286747091), digest: be d5
gpg: Good signature over last major component!
gpg: user id: Luca Capello <gismo@debian.org>
gpg: sig: class: 0x10, issuer: 109E6244, timestamp: 2013-02-05 02:24:16
(1360031056), digest: 4e 92
gpg: Good signature over last major component!
gpg: sig: class: 0x13, issuer: E397832F, timestamp: 2009-07-01 14:57:12
(1246460232), digest: 9c 3d
gpg: Good signature over last major component!
gpg: sig: class: 0x13, issuer: E397832F, timestamp: 2010-10-10 21:52:18
(1286747538), digest: 54 c1
gpg: Good signature over last major component!
gpg: user id: Luca Capello <luca.capello@infomaniak.ch>
gpg: sig: class: 0x13, issuer: E397832F, timestamp: 2016-01-24 14:44:42
(1453646682), digest: 79 a4
gpg: Good signature over last major component!
gpg: user id: Luca Capello <luca.capello@infomaniak.com>
gpg: sig: class: 0x13, issuer: E397832F, timestamp: 2016-01-29 22:49:59
(1454107799), digest: 43 19
gpg: Good signature over last major component!
gpg: subkey 2BB95F4B: timestamp: 2009-07-01 14:55:55 (1246460155)
gpg: sig: class: 0x18, issuer: E397832F, timestamp: 2009-07-01 14:55:55
(1246460155), digest: 4b d9
gpg: Good signature over last major component!
gpg: subkey 3BE9F36D: timestamp: 2009-07-01 15:09:03 (1246460943)
gpg: sig: class: 0x18, issuer: E397832F, timestamp: 2009-07-01 15:09:03
(1246460943), digest: c2 f9
gpg: Good signature over last major component!
gpg: Couldn't check 1216 signatures due to missing issuer keys.

Interestingly, your key contains a bad signature (the hash has been corrupted).

The reason that I haven't pushed this to master is that I need to work our how
the output should look. Also, this functionality will probably only be
available via the --edit-key menu. This patch includes an argument --check-key,
which will probably be removed.

If you have an opportunity to test this, I'd appreciate it.

Feb 16 2016, 3:56 PM · gnupg (gpg22), Bug Report
danf added a comment to T2256: (Near) endless loop in gcry_mpi_powm.

I tried doing exactly that, but it didn't reproduce the problem. I assumed that
either the internal representation of the input values set up in my test program
with gcry_mpi_scan() and gcry_mpi_set_ui() subtly differed from the ones
encountered in production, or there was some code path that uses an uninitialized
variable, but I don't know if either theory could be the case.

Feb 16 2016, 3:49 PM · Bug Report, libgcrypt
gniibe added a comment to T2256: (Near) endless loop in gcry_mpi_powm.

When you get negative value for J on entry of the for loop, you can examine four
arguments to _gcry_mpi_powm. And then, you can write standalone program to
emulate it. Debugger or printf.

Feb 16 2016, 1:04 PM · Bug Report, libgcrypt
gniibe claimed T2256: (Near) endless loop in gcry_mpi_powm.
Feb 16 2016, 12:15 PM · Bug Report, libgcrypt
gniibe added a comment to T2256: (Near) endless loop in gcry_mpi_powm.

In what condition can J can be initialized < 0?
Do you have some idea?

Feb 16 2016, 12:15 PM · Bug Report, libgcrypt
drzraf added a project to T2258: successive runs of `gpg-agent --enable-ssh-support` kills the $SSH_AUTH_SOCK file: Bug Report.
Feb 16 2016, 12:06 AM · gnupg, Bug Report
drzraf set Version to 2.0.26 on T2258: successive runs of `gpg-agent --enable-ssh-support` kills the $SSH_AUTH_SOCK file.
Feb 16 2016, 12:06 AM · gnupg, Bug Report

Feb 15 2016

werner added a project to T2257: libgpg-error test hangs due to stream locking race condition: In Progress.
Feb 15 2016, 8:41 PM · Bug Report, gpgrt
werner added a comment to T2257: libgpg-error test hangs due to stream locking race condition.

Thanks for debugging this. An alternative for your patch would be to use
es_fileno_unlocked but your idea is also fine.

Feb 15 2016, 8:41 PM · Bug Report, gpgrt
uldis set Version to 1.21 on T2257: libgpg-error test hangs due to stream locking race condition.
Feb 15 2016, 4:27 PM · Bug Report, gpgrt
uldis added projects to T2257: libgpg-error test hangs due to stream locking race condition: gpgrt, Bug Report.
Feb 15 2016, 4:27 PM · Bug Report, gpgrt
neal closed T2243: pinentry sends libsecret error messages to stdout, which causes IPC error as Resolved.
Feb 15 2016, 9:18 AM · Bug Report, pinentry
neal added a comment to T2243: pinentry sends libsecret error messages to stdout, which causes IPC error.

I reported this to the libsecret maintainers, but it turns out that it was our
bug. Stef kindly replied a patch, which I've now applied (2f5bfa0). Looking
again at dkg's original message, he doesn't suggest that the problem is with
libsecret, but in fact correctly identified pinentry at the culprit.

Feb 15 2016, 9:18 AM · Bug Report, pinentry
werner added a comment to T2256: (Near) endless loop in gcry_mpi_powm.

Thanks for writing the report - that is better than having your report ticked
only in my mail folder.

Feb 15 2016, 8:38 AM · Bug Report, libgcrypt
danf added projects to T2256: (Near) endless loop in gcry_mpi_powm: libgcrypt, Bug Report.
Feb 15 2016, 8:18 AM · Bug Report, libgcrypt
danf set Version to 1.6.4 on T2256: (Near) endless loop in gcry_mpi_powm.
Feb 15 2016, 8:18 AM · Bug Report, libgcrypt
lennylenny added a comment to T2249: Pinetry field "enter passphrase" won't let me paste in.

see attached, this is a part of gpg, enter password, I need to be able
to paste into that field. Nobody seems to know how to fix this!

Feb 15 2016, 7:43 AM · Feature Request, Info Needed, pinentry
lennylenny added a comment to T2249: Pinetry field "enter passphrase" won't let me paste in.

Feb 15 2016, 7:43 AM · Feature Request, Info Needed, pinentry
lennylenny added a comment to T2249: Pinetry field "enter passphrase" won't let me paste in.

I'm not using pinetry, it is part of the pgp software. just trying to
get to the bottom of this. I am a user, not a programmer. Pinetry just
makes the popup that's asking for the password. I attached a screenshot
of it.

Feb 15 2016, 7:43 AM · Feature Request, Info Needed, pinentry

Feb 14 2016

neal closed T2240: calc_header_length as Resolved.
Feb 14 2016, 4:25 PM · Bug Report, gnupg
neal added a comment to T2240: calc_header_length.

Given how trivial the fix is, I applied that.

Feb 14 2016, 4:25 PM · Bug Report, gnupg
neal added a comment to T2249: Pinetry field "enter passphrase" won't let me paste in.

Note: recent versions of pinentry-gtk-2 are using native widgets. If you are
using that program and not the latest version of pinentry, then please try that
first.

Feb 14 2016, 4:10 PM · Feature Request, Info Needed, pinentry
neal added a project to T2249: Pinetry field "enter passphrase" won't let me paste in: Info Needed.
Feb 14 2016, 4:08 PM · Feature Request, Info Needed, pinentry
neal added a comment to T2249: Pinetry field "enter passphrase" won't let me paste in.

There is no version 2.0.22 of pinentry (the most recent version is 0.9.7). Can
you please figure out what version of pinentry you are using and which pinentry
program (there are five: pinentry-gnome3, pinentry-gtk-2, pinentry-qt,
pinentry-curses and pinentry-tty). Thanks!

Feb 14 2016, 4:08 PM · Feature Request, Info Needed, pinentry
neal added a comment to T2255: Doesn't import secret key on console mode.

gpg doesn't normally directly ask for a password. Instead, operations that
require a password are typically handled by gpg-agent, which is a small server
that is started on demand. (Normally, there is only a single gpg-agent per
user.) When gpg-agent needs a password, it invokes a pinentry program. The
default pinentry can be determined using `gpgconf --list-config'. This can be
overridden using the pinentry-program configuration option in gpg-agent.conf.
(If you change that file, you'll need to restart gpg-agent using something like
`gpgconf --reload gpg-agent'.)

There are several different pinentry programs: pinentry-gtk-2, pinentry-qt,
pinentry-curses and pinentry-tty. (pinentry is typically an alias that is
configured by the system's package manager.) Even if you use pinentry-gtk-2, it
will normally fall back the curses backend if there is no X display.

The issue you might be having is that pinentry might be showing up on a
different display / console.

So, I think this might just be a configuration problem. Nevertheless, I
encourage you to investigate some more and try to figure out what is going on
and report back here. Thanks!

Feb 14 2016, 3:03 PM · Not A Bug, Bug Report, gnupg
aixtools reopened T2074: Redeclaration of internal functions to use "external" typedef prevents build on AIX as "Open".
Feb 14 2016, 1:42 PM · Bug Report, libgcrypt
aixtools added a comment to T2074: Redeclaration of internal functions to use "external" typedef prevents build on AIX.

Feb 14 2016, 1:42 PM · Bug Report, libgcrypt
aixtools added a comment to T2074: Redeclaration of internal functions to use "external" typedef prevents build on AIX.

on vacation, will test when I am home.

Feb 14 2016, 1:42 PM · Bug Report, libgcrypt

Feb 13 2016

gjuniioor added projects to T2255: Doesn't import secret key on console mode: gnupg, Bug Report.
Feb 13 2016, 7:36 AM · Not A Bug, Bug Report, gnupg

Feb 12 2016

neal added a comment to T2229: make check 14 0f 35 tests failed.

This should be fixed in acac103. (I was able to exactly reproduce your problem
and the patch fixed it for me.) If you are able to test and it works for you,
please report back here.

Thanks!

Feb 12 2016, 10:13 PM · Bug Report, gnupg
neal added a project to T2229: make check 14 0f 35 tests failed: Restricted Project.
Feb 12 2016, 10:13 PM · Bug Report, gnupg
uldis added a comment to T2251: Tests not working if build folder path longer than 81 character.

Note, tests work together with patch from T2253

Feb 12 2016, 5:10 PM · Bug Report, gnupg
uldis added a comment to T2251: Tests not working if build folder path longer than 81 character.

Attached patch for gpg-preset-passphrase. eval_redirect code copied from
libassuna and modifies.
Second patch creates socked redirection for tests if neccesary

Feb 12 2016, 5:07 PM · Bug Report, gnupg
uldis added a project to T2251: Tests not working if build folder path longer than 81 character: Bug Report.
Feb 12 2016, 5:07 PM · Bug Report, gnupg
werner added a comment to T2229: make check 14 0f 35 tests failed.

From looking at the strace in T2229 (t8m on Feb 02 2016, 10:32 AM / Roundup) it seems that the client died after
having seen the first PROGRESS line. The client in this case is
gpg-preset-passphrase which is an old hack and not a proper Assuan
client. It received the 'S PROGRESS' line but does not expect it and
returns an error.

We should re-implement that tool in terms of gpg-connect-agent and for
the test scripts use gpg-connect-agent directly. Justus is currently
reworking the test suite anyway.

Feb 12 2016, 1:34 PM · Bug Report, gnupg
neal updated subscribers of T2253: libassuan not opening redirected socket if $GNUPGHOME/S.gpg-agent path longer than sun_path.
Feb 12 2016, 1:31 PM · Bug Report, libassuan
neal assigned T2253: libassuan not opening redirected socket if $GNUPGHOME/S.gpg-agent path longer than sun_path to werner.
Feb 12 2016, 1:31 PM · Bug Report, libassuan
uldis set Version to 2.4.2 on T2253: libassuan not opening redirected socket if $GNUPGHOME/S.gpg-agent path longer than sun_path.
Feb 12 2016, 1:29 PM · Bug Report, libassuan
uldis added projects to T2253: libassuan not opening redirected socket if $GNUPGHOME/S.gpg-agent path longer than sun_path: libassuan, Bug Report.
Feb 12 2016, 1:29 PM · Bug Report, libassuan
mdeslaur added a comment to T2246: Regression: home dir no longer automatically created.

Patch looks good, thanks!

Feb 12 2016, 1:10 PM · Bug Report, gnupg
gniibe added a comment to T2246: Regression: home dir no longer automatically created.

Sorry, here it is.

Feb 12 2016, 6:32 AM · Bug Report, gnupg
gniibe added a comment to T2246: Regression: home dir no longer automatically created.

D347: 767_0001-g10-Make-sure-to-have-the-directory-for-trustdb-v3.patch

Feb 12 2016, 6:32 AM · Bug Report, gnupg
mdeslaur added a comment to T2246: Regression: home dir no longer automatically created.

I think you attached the original patch once again by mistake...

Feb 12 2016, 5:54 AM · Bug Report, gnupg
gniibe added a comment to T2246: Regression: home dir no longer automatically created.

D348: 766_0001-g10-Make-sure-to-have-the-directory-for-trustdb-v3.patch

Feb 12 2016, 1:59 AM · Bug Report, gnupg
gniibe added a comment to T2246: Regression: home dir no longer automatically created.

This would be final version.
If !create, we can let it return earlier.

Feb 12 2016, 1:59 AM · Bug Report, gnupg
gniibe added a comment to T2246: Regression: home dir no longer automatically created.

You are right to have the check against CREATE.
I'll include that check.

Feb 12 2016, 1:39 AM · Bug Report, gnupg

Feb 11 2016

guilhem 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.

I found the following comment above g10/keyedit.c' fix_key_signature_order
function, which is responsible for printing the "moving a key signature to the
correct place" lines upon --edit-key.

  /*
   * There are some keys out (due to a bug in gnupg), where the sequence
   * of the packets is wrong.  This function fixes that.
   * Returns: true if the keyblock has been fixed.
   *        
   * Note:  This function does not work if there is more than one user ID.
   */

When was the mentioned bug introduced and fixed? git blame tells me the comment
predates Thu Jun 5 07:14:21 2003 +0000, date when cvs2svn created branch
'GNUPG-1-9-BRANCH' (commit 72503314). But Lucas' key was generated much later,
on 2009-07-01.

Of the 100 keys with lowest MSD http://pgp.cs.uu.nl/doc/top_1000.html, 27 have
badly ordered packets; 26 of these have multiple UIDs; and only 20 of the 120
uids with a creation date have been generated before 2009-07-01.

Is there a technical reason which "This function does not work if there is more
than one user ID"? (I guess gpg could try to verify the sig against each
UID/UAT to find out which one it binds to.) Or is Luca's key (among many
others) broken from a WoT perspective due to the multiple UIDs?

Feb 11 2016, 4:41 PM · gnupg (gpg22), Bug Report

Feb 10 2016

mdeslaur added a comment to T2246: Regression: home dir no longer automatically created.

D349: 765_0001-g10-Make-sure-to-have-the-directory-for-trustdb-v2.patch

Feb 10 2016, 1:23 PM · Bug Report, gnupg
mdeslaur added a comment to T2246: Regression: home dir no longer automatically created.

Thanks for the patch, but it still needs a small change. You don't want to
create the directory or the lock file if the user specified --no-auto-check-trustdb.

How about this patch?

Feb 10 2016, 1:23 PM · Bug Report, gnupg
lennylenny added projects to T2249: Pinetry field "enter passphrase" won't let me paste in: pinentry, Bug Report.
Feb 10 2016, 10:03 AM · Feature Request, Info Needed, pinentry
lennylenny set Version to 2.0.22 on T2249: Pinetry field "enter passphrase" won't let me paste in.
Feb 10 2016, 10:03 AM · Feature Request, Info Needed, pinentry
gniibe added a project to T2246: Regression: home dir no longer automatically created: Restricted Project.
Feb 10 2016, 2:37 AM · Bug Report, gnupg
gniibe added a comment to T2246: Regression: home dir no longer automatically created.

Please try attached patch.
While I understand it's a regression (and it's urgent for you), I downgrade the
priority.
It will be soon in the repo.

Feb 10 2016, 2:37 AM · Bug Report, gnupg
gniibe added a comment to T2246: Regression: home dir no longer automatically created.

D350: 764_0001-g10-Make-sure-to-have-the-directory-for-trustdb.patch

Feb 10 2016, 2:37 AM · Bug Report, gnupg
gniibe lowered the priority of T2246: Regression: home dir no longer automatically created from High to Normal.
Feb 10 2016, 2:37 AM · Bug Report, gnupg
gniibe added a comment to T2246: Regression: home dir no longer automatically created.

Thank you for the report. Confirmed. It was my mistake, I didn't test the code
path with no homedir.

Feb 10 2016, 12:53 AM · Bug Report, gnupg
gniibe claimed T2246: Regression: home dir no longer automatically created.
Feb 10 2016, 12:53 AM · Bug Report, gnupg