Page MenuHome GnuPG
Feed Advanced Search

Feb 14 2016

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
gniibe closed T2150: Generating keys on OpenPGP card yields wrong public key as Resolved.
Feb 10 2016, 12:25 AM · Bug Report, gnupg, gnupg (gpg21)
gniibe removed a project from T2150: Generating keys on OpenPGP card yields wrong public key: Restricted Project.
Feb 10 2016, 12:25 AM · Bug Report, gnupg, gnupg (gpg21)
gniibe added a comment to T2074: Redeclaration of internal functions to use "external" typedef prevents build on AIX.

I believe 1.6.5 has no problem.

Feb 10 2016, 12:23 AM · Bug Report, libgcrypt
gniibe closed T2074: Redeclaration of internal functions to use "external" typedef prevents build on AIX as Resolved.
Feb 10 2016, 12:23 AM · Bug Report, libgcrypt
gniibe removed a project from T2074: Redeclaration of internal functions to use "external" typedef prevents build on AIX: Restricted Project.
Feb 10 2016, 12:23 AM · Bug Report, libgcrypt

Feb 9 2016

segfault set Version to 0.8.3 to 0.9.7 on T2248: pinentry-gtk-2 causes GNOME3 menus to hang.
Feb 9 2016, 4:30 PM · Bug Report, pinentry
segfault added projects to T2248: pinentry-gtk-2 causes GNOME3 menus to hang: pinentry, Bug Report.
Feb 9 2016, 4:30 PM · Bug Report, pinentry
werner closed T2113: libgcrypt 1.6.4 as Resolved.
Feb 9 2016, 10:53 AM · Not A Bug, Bug Report, libgcrypt
werner closed T2213: gcry_mpi_scan does not set scanned length as Resolved.
Feb 9 2016, 10:48 AM · Won't Fix, Bug Report, libgcrypt
werner added a project to T2213: gcry_mpi_scan does not set scanned length: Won't Fix.
Feb 9 2016, 10:48 AM · Won't Fix, Bug Report, libgcrypt
werner added a comment to T2213: gcry_mpi_scan does not set scanned length.

This has been fixed in 1.6.4 or earlier.
We won't fix it for 1.5.

Feb 9 2016, 10:48 AM · Won't Fix, Bug Report, libgcrypt
werner closed T1807: Failing unit tests for libgcrypt as Resolved.
Feb 9 2016, 10:36 AM · Info Needed, Bug Report, libgcrypt
werner closed T2102: again: Fix constant division for AMD64 assembly on Solaris/x86 as Invalid.
Feb 9 2016, 10:35 AM · libgcrypt
werner added a comment to T2102: again: Fix constant division for AMD64 assembly on Solaris/x86.

Thanks for this info

Feb 9 2016, 10:35 AM · libgcrypt
werner added a comment to T2074: Redeclaration of internal functions to use "external" typedef prevents build on AIX.

to be released with 1.6.5

Feb 9 2016, 10:31 AM · Bug Report, libgcrypt
werner added a comment to T2242: Crash in libgcrypt from gnome-keyring in AES cipher in ARM assembler.

This _might_ have been fixed in 1.6.4

Feb 9 2016, 10:23 AM · Bug Report, libgcrypt

Feb 8 2016

xyzspeedy added a comment to T2247: inst_gpgol = false ha no affect.

Feb 8 2016, 3:28 PM · Info Needed, Bug Report, gpg4win
xyzspeedy added projects to T2247: inst_gpgol = false ha no affect: gpg4win, Bug Report.
Feb 8 2016, 3:28 PM · Info Needed, Bug Report, gpg4win
neal added a comment to T2245: pinentry on wrong monitor.

I think I wasn't clear. I have two monitors, but only one X DISPLAY. This is
about the screen, not the X display, where the pinentry is shown.

Feb 8 2016, 3:01 PM · Stalled, Feature Request, pinentry
mdeslaur added projects to T2246: Regression: home dir no longer automatically created: gnupg, Bug Report.
Feb 8 2016, 2:42 PM · Bug Report, gnupg
werner added a comment to T2245: pinentry on wrong monitor.

You may use gpg-agent's --keep-display to force the pinentry to show up on the
display you started the agent. The agent needs to be started explicit, though.

Feb 8 2016, 1:09 PM · Stalled, Feature Request, pinentry
werner added a comment to T2243: pinentry sends libsecret error messages to stdout, which causes IPC error.

A library should never ever send any diagnostics to stdout. That does not only
break pinentry but also all other tools which output to stdout. I suggest to
report that to libsecret.

Feb 8 2016, 1:06 PM · Bug Report, pinentry
pete-woods added a comment to T2242: Crash in libgcrypt from gnome-keyring in AES cipher in ARM assembler.

Feb 8 2016, 11:27 AM · Bug Report, libgcrypt

Feb 7 2016

neal added projects to T2245: pinentry on wrong monitor: pinentry, Bug Report.
Feb 7 2016, 11:18 PM · Stalled, Feature Request, pinentry

Feb 5 2016

neal added a comment to T2242: Crash in libgcrypt from gnome-keyring in AES cipher in ARM assembler.

Thanks for the report. Please add the stack trace here (either inline or as an
attactment) so that it does not get lost. Thanks.

Feb 5 2016, 10:28 PM · Bug Report, libgcrypt
neal claimed T2243: pinentry sends libsecret error messages to stdout, which causes IPC error.
Feb 5 2016, 10:27 PM · Bug Report, pinentry
dkg updated subscribers of T2243: pinentry sends libsecret error messages to stdout, which causes IPC error.
Feb 5 2016, 10:21 PM · Bug Report, pinentry
dkg added projects to T2243: pinentry sends libsecret error messages to stdout, which causes IPC error: pinentry, Bug Report.
Feb 5 2016, 10:20 PM · Bug Report, pinentry
pete-woods set Version to 1.6.3-2ubuntu1 on T2242: Crash in libgcrypt from gnome-keyring in AES cipher in ARM assembler.
Feb 5 2016, 6:13 PM · Bug Report, libgcrypt
pete-woods added projects to T2242: Crash in libgcrypt from gnome-keyring in AES cipher in ARM assembler: libgcrypt, Bug Report.
Feb 5 2016, 6:13 PM · Bug Report, libgcrypt

Feb 3 2016

gniibe claimed T1671: libgpg-error 1.13 does not link on Solaris 10.
Feb 3 2016, 7:06 AM · gpgrt, Bug Report
gniibe added a comment to T1671: libgpg-error 1.13 does not link on Solaris 10.

I think that we could add -lrt in configure script.
Solaris also has a problem for lock object.

Its pthread_mutex_t seems have alignment of 8-byte.
In posix-lock-obj.h, we will have a padding after vers and the union u.
So, it fails at assert (!"sizeof lock obj");

Reference:
http://src.illumos.org/source/xref/illumos-gate/usr/src/uts/common/sys/types.h

Feb 3 2016, 7:06 AM · gpgrt, Bug Report

Feb 2 2016

neal added a comment to T2240: calc_header_length.

D345: 761_0001-gpg-Fix-calc_header_length-when-LEN-is-0-and-improve.patch

Feb 2 2016, 8:11 PM · Bug Report, gnupg
neal added a comment to T2240: calc_header_length.

Since it was so trivial to create, I've attach an alternative patch with my
proposed change. Please let me know which one to apply.

Feb 2 2016, 8:11 PM · Bug Report, gnupg
neal added a comment to T2240: calc_header_length.

D346: 760_0001-gpg-Fix-documentation-for-calc_header_length.patch

Feb 2 2016, 8:06 PM · Bug Report, gnupg
neal added a comment to T2240: calc_header_length.

Patch attached. Is this okay to apply?

Feb 2 2016, 8:06 PM · Bug Report, gnupg
werner added a comment to T2240: calc_header_length.

Needs to be documented. I see no reason to change this because because it has
no effect.

Feb 2 2016, 3:20 PM · Bug Report, gnupg
werner lowered the priority of T2240: calc_header_length from Normal to Low.
Feb 2 2016, 3:20 PM · Bug Report, gnupg
neal added projects to T2240: calc_header_length: gnupg, Bug Report.
Feb 2 2016, 1:36 PM · Bug Report, gnupg
t8m added a comment to T2229: make check 14 0f 35 tests failed.

Also the pinentry.sh script does not look like being called during the opengpg
tests at all because I've added 'exit 1' directly to the beginning of it and
nothing changed even with the gnupg-2.1.10 make check which passed.

Feb 2 2016, 10:34 AM · Bug Report, gnupg
t8m added a comment to T2229: make check 14 0f 35 tests failed.

This is what I see in strace log from the gpg-agent during the test - so it is
related to addition of the progress messages.

26074 read(4, "PRESET_PASSPHRASE 50B2D4FA4122C2"..., 1002) = 69
26074 getrusage(RUSAGE_SELF, {ru_utime={0, 0}, ru_stime={0, 2622}, ...}) = 0
26074 clock_gettime(CLOCK_PROCESS_CPUTIME_ID, {0, 2652041}) = 0
26074 write(4, "S PROGRESS open_dev_random X 1 0", 32) = 32
26074 write(4, "\n", 1) = 1
26074 open("/dev/urandom", O_RDONLY) = 5
26074 fcntl(5, F_GETFD) = 0
26074 fcntl(5, F_SETFD, FD_CLOEXEC) = 0
26074 write(4, "S PROGRESS need_entropy X 60 120", 32) = -1 EPIPE (Broken pipe)
26074 --- SIGPIPE {si_signo=SIGPIPE, si_code=SI_USER, si_pid=26040, si_uid=1000} ---
26074 poll([{fd=5, events=POLLIN}], 1, 0) = 1 ([{fd=5, revents=POLLIN}])
26074 read(5,
"\224l\240\r\205PGH:;\227\370pv\355\202df\24\201\250\272p\257\334\2\304Z\177W\244Q"...,

  1. = 60

26074 write(4, "S PROGRESS need_entropy X 120 12"..., 33) = -1 EPIPE (Broken pipe)
26074 --- SIGPIPE {si_signo=SIGPIPE, si_code=SI_USER, si_pid=26040, si_uid=1000} ---
26074 write(4, "S PROGRESS need_entropy X 60 120", 32) = -1 EPIPE (Broken pipe)
26074 --- SIGPIPE {si_signo=SIGPIPE, si_code=SI_USER, si_pid=26040, si_uid=1000} ---
26074 poll([{fd=5, events=POLLIN}], 1, 0) = 1 ([{fd=5, revents=POLLIN}])
26074 read(5,
"\222\251\303;\247\377\302Z\t[\10\354\217\236\357?\323\246\210]+\330\341\335*7\315\17\230\3141\211"...,

  1. = 60

26074 write(4, "S PROGRESS need_entropy X 120 12"..., 33) = -1 EPIPE (Broken pipe)
26074 --- SIGPIPE {si_signo=SIGPIPE, si_code=SI_USER, si_pid=26040, si_uid=1000} ---
26074 write(4, "S PROGRESS need_entropy X 60 120", 32) = -1 EPIPE (Broken pipe)
26074 --- SIGPIPE {si_signo=SIGPIPE, si_code=SI_USER, si_pid=26040, si_uid=1000} ---
26074 poll([{fd=5, events=POLLIN}], 1, 0) = 1 ([{fd=5, revents=POLLIN}])
26074 read(5,
"}\37\0267k\343DGi\372\r&\3El\305\223\312|\307\200U6\24RI\6\214\4H\273\377"...,

  1. = 60

26074 write(4, "S PROGRESS need_entropy X 120 12"..., 33) = -1 EPIPE (Broken pipe)
26074 --- SIGPIPE {si_signo=SIGPIPE, si_code=SI_USER, si_pid=26040, si_uid=1000} ---
26074 write(4, "S PROGRESS need_entropy X 60 120", 32) = -1 EPIPE (Broken pipe)
26074 --- SIGPIPE {si_signo=SIGPIPE, si_code=SI_USER, si_pid=26040, si_uid=1000} ---
26074 poll([{fd=5, events=POLLIN}], 1, 0) = 1 ([{fd=5, revents=POLLIN}])
26074 read(5,
"\21%\26k\326\1\232\204K\r\33\216\211\1\253;\324\346\362\203?g\22\315\205\203G\344AZ\272\270"...,

  1. = 60

26074 write(4, "S PROGRESS need_entropy X 120 12"..., 33) = -1 EPIPE (Broken pipe)
26074 --- SIGPIPE {si_signo=SIGPIPE, si_code=SI_USER, si_pid=26040, si_uid=1000} ---
26074 getrusage(RUSAGE_SELF, {ru_utime={0, 0}, ru_stime={0, 2971}, ...}) = 0
26074 clock_gettime(CLOCK_PROCESS_CPUTIME_ID, {0, 2978843}) = 0
26074 write(4, "OK", 2) = -1 EPIPE (Broken pipe)
26074 --- SIGPIPE {si_signo=SIGPIPE, si_code=SI_USER, si_pid=26040, si_uid=1000} ---
26074 write(2, "gpg-agent[26040]: Assuan process"..., 55) = 55
26074 write(2, "\n", 1) = 1
26074 close(4) = 0

Feb 2 2016, 10:32 AM · Bug Report, gnupg
stebe added a comment to T2239: Misleading German translation when editing keys with designated revoker keys.

English original (key info anonymized):

gpg2 --edit-key [keyID]
[version info, copyright/license info]

This key may be revoked by RSA key [keyID] [?]
This key may be revoked by RSA key [keyID] [?]
This key may be revoked by RSA key [keyID] [?]
pub [key size]/[keyID] created: [creation date] expires: [date of expiry]
usage: SC

trust: unknown       validity: unknown

[ trust] (1). [uid]

Misleading German translation:

gpg2 --edit-key [keyID]
[version info, copyright/license info]

Dieser Schlüssel könnte durch RSA mit Schlüssel [keyID] [?] widerrufen worden sein
Dieser Schlüssel könnte durch RSA mit Schlüssel [keyID] [?] widerrufen worden sein
Dieser Schlüssel könnte durch RSA mit Schlüssel [keyID] [?] widerrufen worden sein
pub [key size]/[keyID] erzeugt: [creation date] verfällt: [date of expiry]
Aufruf: SC

Vertrauen: unbekannt     Gültigkeit: unbekannt

[ trust] (1). [uid]

Improved German translation:

Dieser Schlüssel kann von RSA-Schlüssel [keyID] [?] widerrufen werden
...

Feb 2 2016, 7:43 AM · Bug Report, gnupg, i18n
guilhem renamed 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 Importing a key with incorrectly ordered packets yields wrong listing output to 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.
Feb 2 2016, 1:57 AM · gnupg (gpg22), Bug Report

Feb 1 2016

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

I have the same problem when building gnupg2 on Fedora 23. Let me know if I can
help with debugging it.

Feb 1 2016, 6:56 PM · Bug Report, gnupg
werner added a project to T2238: When generating a DSA or Elgamal key with --expert GPG claims that keys smaller than 1024 bits are supported when they are not.: gnupg (gpg14).
Feb 1 2016, 3:46 PM · gnupg (gpg20), Unreleased, gnupg (gpg14), Bug Report, gnupg
werner lowered the priority of T2238: When generating a DSA or Elgamal key with --expert GPG claims that keys smaller than 1024 bits are supported when they are not. from Normal to Low.
Feb 1 2016, 3:46 PM · gnupg (gpg20), Unreleased, gnupg (gpg14), Bug Report, gnupg
werner added a comment to T2238: When generating a DSA or Elgamal key with --expert GPG claims that keys smaller than 1024 bits are supported when they are not..

Thanks. This seems to be a gpg 1.4 only bug.

Feb 1 2016, 3:46 PM · gnupg (gpg20), Unreleased, gnupg (gpg14), Bug Report, gnupg
fulanoperez added a comment to T2229: make check 14 0f 35 tests failed.

Werner Koch via BTS:

Werner Koch <wk@gnupg.org> added the comment:

Sorry, the logs do not help very much. There is a problem with the pjnentry
which for the tests is a simple script and not the configured one. We need to
replicate the failure to debug it.

Feb 1 2016, 3:22 PM · Bug Report, gnupg
stebe set Version to 2.0.19 detected, affected: all (I guess) on T2239: Misleading German translation when editing keys with designated revoker keys.
Feb 1 2016, 1:45 PM · Bug Report, gnupg, i18n
stebe added projects to T2239: Misleading German translation when editing keys with designated revoker keys: i18n, gnupg, Bug Report.
Feb 1 2016, 1:45 PM · Bug Report, gnupg, i18n
strange added a comment to T2238: When generating a DSA or Elgamal key with --expert GPG claims that keys smaller than 1024 bits are supported when they are not..

I have tested this bug in Debian and Windows.

When running "gpg --gen-key --expert" GPG displays:

     DSA keys may be between 512 and 3072 bits long.

and

     ELG-E keys may be between 512 and 4096 bits long.

however entering 512 will result in

     gpg: keysize invalid; using 2048 bits

     gpg --gen-key --expert
     gpg (GnuPG) 1.4.20; Copyright (C) 2015 Free Software Foundation, Inc.
     This is free software: you are free to change and redistribute it.
     There is NO WARRANTY, to the extent permitted by law.

     Please select what kind of key you want:
        (1) RSA and RSA (default)
        (2) DSA and Elgamal
        (3) DSA (sign only)
        (4) RSA (sign only)
        (7) DSA (set your own capabilities)
        (8) RSA (set your own capabilities)
     Your selection? 2

--> DSA keys may be between 512 and 3072 bits long.

What keysize do you want? (2048) 512
Requested keysize is 512 bits

--> ELG-E keys may be between 512 and 4096 bits long.

     What keysize do you want for the subkey? (2048) 512
     Requested keysize is 512 bits
     Please specify how long the key should be valid.
              0 = key does not expire
           <n>  = key expires in n days
           <n>w = key expires in n weeks
           <n>m = key expires in n months
           <n>y = key expires in n years
     Key is valid for? (0) 0
     Key does not expire at all
     Is this correct? (y/N) y

     You need a user ID to identify your key; the software constructs the user ID
     from the Real Name, Comment and Email Address in this form:
         "Heinrich Heine (Der Dichter) <heinrichh@duesseldorf.de>"

     Real name: user_id
     Email address:
     Comment:
     You selected this USER-ID:
         "user_id"

     Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? o
     You need a Passphrase to protect your secret key.

     You don't want a passphrase - this is probably a *bad* idea!
     I will do it anyway.  You can change your passphrase at any time,
     using this program with the option "--edit-key".

     We need to generate a lot of random bytes. It is a good idea to perform
     some other action (type on the keyboard, move the mouse, utilize the
     disks) during the prime generation; this gives the random number
     generator a better chance to gain enough entropy.

--> gpg: keysize invalid; using 2048 bits

gpg: WARNING: some OpenPGP programs can't handle a DSA key with this digest

size

...[truncated]...
We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.

--> gpg: keysize invalid; using 2048 bits

     ...[truncated]...

     gpg: key F0E7A41B marked as ultimately trusted
     public and secret key created and signed.

     gpg: checking the trustdb
     gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
     gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u
     pub   2048D/F0E7A41B 2016-02-01
           Key fingerprint = C789 E572 4A8B BC1B 3108  F34E 36F4 D0CC F0E7 A41B
     uid                  user_id
     sub   2048g/977768CF 2016-02-01
Feb 1 2016, 10:50 AM · gnupg (gpg20), Unreleased, gnupg (gpg14), Bug Report, gnupg
werner raised the priority of T2234: Core dump while calling bkuptocard from Low to Normal.
Feb 1 2016, 9:18 AM · Bug Report, gnupg
werner added a comment to T2234: Core dump while calling bkuptocard.

Please try 2.1.11 - we fixed something in regard to this.

Feb 1 2016, 9:18 AM · Bug Report, gnupg
werner added a comment to T2229: make check 14 0f 35 tests failed.

Sorry, the logs do not help very much. There is a problem with the pjnentry
which for the tests is a simple script and not the configured one. We need to
replicate the failure to debug it.

Feb 1 2016, 9:14 AM · Bug Report, gnupg
werner added a project to T2235: gnupg-2.1.11, compile error for: make -f build-aux/speedo.mk native: dirmngr.
Feb 1 2016, 9:04 AM · dirmngr, gnupg, Bug Report
bernhard changed Version from All versions to 2.1 on T2118: Command --quick-gen-key ignores --default-cert-expire, --edit-key ignores --default-sig-expire.
Feb 1 2016, 9:04 AM · Won't Fix, gnupg (gpg21), Bug Report, gnupg
bernhard added a project to T2118: Command --quick-gen-key ignores --default-cert-expire, --edit-key ignores --default-sig-expire: gnupg (gpg21).
Feb 1 2016, 9:04 AM · Won't Fix, gnupg (gpg21), Bug Report, gnupg
bernhard added a comment to T2118: Command --quick-gen-key ignores --default-cert-expire, --edit-key ignores --default-sig-expire.

Jens,
thanks for the report. Now I can classify this as GnuPG "modern" issue. :)
Bernhard

Feb 1 2016, 9:04 AM · Won't Fix, gnupg (gpg21), Bug Report, gnupg
bernhard assigned T2118: Command --quick-gen-key ignores --default-cert-expire, --edit-key ignores --default-sig-expire to neal.
Feb 1 2016, 9:04 AM · Won't Fix, gnupg (gpg21), Bug Report, gnupg
bernhard updated subscribers of T2118: Command --quick-gen-key ignores --default-cert-expire, --edit-key ignores --default-sig-expire.
Feb 1 2016, 9:04 AM · Won't Fix, gnupg (gpg21), Bug Report, gnupg
werner added a project to T2235: gnupg-2.1.11, compile error for: make -f build-aux/speedo.mk native: gnupg.
Feb 1 2016, 9:02 AM · dirmngr, gnupg, Bug Report
werner removed a project from T2235: gnupg-2.1.11, compile error for: make -f build-aux/speedo.mk native: dirmngr.
Feb 1 2016, 9:02 AM · dirmngr, gnupg, Bug Report
werner added a comment to T2238: When generating a DSA or Elgamal key with --expert GPG claims that keys smaller than 1024 bits are supported when they are not..

Please explain what you are eactly doing: Give the command typed and all output.
What OS are you using.

Feb 1 2016, 8:58 AM · gnupg (gpg20), Unreleased, gnupg (gpg14), Bug Report, gnupg
strange set Version to 1.4.20 on T2238: When generating a DSA or Elgamal key with --expert GPG claims that keys smaller than 1024 bits are supported when they are not..
Feb 1 2016, 7:12 AM · gnupg (gpg20), Unreleased, gnupg (gpg14), Bug Report, gnupg