Page MenuHome GnuPG
Feed Advanced Search

May 6 2016

aheinecke added a comment to T2300: Second crlDP is not used if first is unavailable.

Ah nevermind. I think myself that this is nobug and current behavior is correct.
There is a mechanism for the redundant setup that we want to have already and we
need to use it instead of doing something undefined.

May 6 2016, 7:16 PM · g10code, Feature Request, dirmngr
aheinecke assigned T2300: Second crlDP is not used if first is unavailable to werner.
May 6 2016, 6:59 PM · g10code, Feature Request, dirmngr
aheinecke added a comment to T2300: Second crlDP is not used if first is unavailable.

D364: 829_0001-Dirmngr-Treat-multiple-crlDPs-as-redundancies.patch

May 6 2016, 6:59 PM · g10code, Feature Request, dirmngr
aheinecke updated subscribers of T2300: Second crlDP is not used if first is unavailable.
May 6 2016, 6:59 PM · g10code, Feature Request, dirmngr
aheinecke added a comment to T2300: Second crlDP is not used if first is unavailable.

Ah, the world of S/MIME related RFCs,.. Fun.

From RFC 5280 4.2.1.13. CRL Distribution Points:
If the DistributionPointName contains multiple values, each name
describes a different mechanism to obtain the same CRL. For example,
the same CRL could be available for retrieval through both LDAP and
HTTP.

So the short Answer is. Intevation's certificate is bad. If we want to mark that
our Certificate Revocation lists are Redundant then we should have used a list
in the crlDP and not multiple crlDPs. This GnuPG would handle correctly.

Before I noticed beforementioned bit I've tried to fix it in GnuPG. And I think
it might be an improval as the same section also says:

If the DistributionPoint omits the reasons field, the CRL MUST
include revocation information for all reasons. This profile
RECOMMENDS against segmenting CRLs by reason code. When a conforming
CA includes a cRLDistributionPoints extension in a certificate, it
MUST include at least one DistributionPoint that points to a CRL that
covers the certificate for all reasons.

So If we have one such list we don't have to fetch all crlDP's and error out if
one can't be obtained.

I've attached a patch for that but I can fully understand If you don't think
this should be applied as the current behavior is mature and conforms to the RFC
already. In that case you can resolve this as "nobug".

May 6 2016, 6:59 PM · g10code, Feature Request, dirmngr
gniibe added a project to T2347: Regression in cipher/ecc.c: Restricted Project.
May 6 2016, 10:21 AM · Bug Report, libgcrypt
gniibe set Version to 1.7.0 on T2347: Regression in cipher/ecc.c.
May 6 2016, 10:21 AM · Bug Report, libgcrypt
gniibe added a comment to T2347: Regression in cipher/ecc.c.

Cofactor is defined by the curve. I guess that the cofactor of the curve in
libaacs is 1. Although my patch includes the code which gets cofactor from key
parameters, the ECDSA computation itself doesn't use cofactor actually.

Well, I haven't expected there is a user who uses (flags param), because it was
mostly for our development. There must be more bugs around that...

May 6 2016, 10:21 AM · Bug Report, libgcrypt
onitake added a comment to T2347: Regression in cipher/ecc.c.

I encountered this bug when I tried to use libgcrypt-HEAD with libaacs.
libaacs uses ECDSA, and when it calls gcry_pk_verify(), I get GPG_ERR_NO_OBJ
because the sexp was constructed without the h parameter.

May 6 2016, 9:50 AM · Bug Report, libgcrypt
gniibe added a comment to T2347: Regression in cipher/ecc.c.

Good catch.
Fixed in c7430aa752232aa690c5d8f16575a345442ad8d7.

May 6 2016, 6:25 AM · Bug Report, libgcrypt
gniibe claimed T2347: Regression in cipher/ecc.c.
May 6 2016, 6:25 AM · Bug Report, libgcrypt
gniibe removed a project from T2095: Stop installing gpg-zip(1): In Progress.
May 6 2016, 6:04 AM · Documentation, Bug Report, gnupg
gniibe closed T2095: Stop installing gpg-zip(1) as Resolved.
May 6 2016, 6:04 AM · Documentation, Bug Report, gnupg

May 5 2016

onitake added projects to T2347: Regression in cipher/ecc.c: libgcrypt, Bug Report.
May 5 2016, 11:00 AM · Bug Report, libgcrypt

May 4 2016

aheinecke set Version to master on T2346: Invalid import result in gnupg 2.1 when importing secret keys.
May 4 2016, 10:28 AM · Bug Report, gnupg, gnupg (gpg21)
aheinecke added projects to T2346: Invalid import result in gnupg 2.1 when importing secret keys: gnupg (gpg21), gnupg, Bug Report.
May 4 2016, 10:28 AM · Bug Report, gnupg, gnupg (gpg21)
aheinecke added a comment to T2339: Edit-key with-colons reports KEYEXPIRED on status-fd if one subkey (or selfsig?) is expired.

Thanks for the clarification. I'll ignore it in QGpgME then, too.

And after grepping for KEYEXPIRED in doc I have now found the DETAILS
documentation of which I was unaware until now. :-)

May 4 2016, 9:38 AM · Bug Report, gnupg, KDE
aheinecke closed T2339: Edit-key with-colons reports KEYEXPIRED on status-fd if one subkey (or selfsig?) is expired as Resolved.
May 4 2016, 9:38 AM · Bug Report, gnupg, KDE
werner added a comment to T2339: Edit-key with-colons reports KEYEXPIRED on status-fd if one subkey (or selfsig?) is expired.

This is documented behaviour; see below. GPA ignores this status line.

  • KEYEXPIRED <expire-timestamp> The key has expired. expire-timestamp is the expiration time in seconds since Epoch. This status line is not very useful because it will also be emitted for expired subkeys even if this subkey is not used. To check whether a key used to sign a message has expired, the EXPKEYSIG status line is to be used. Note, that the TIMESTAMP may either be a number of seconds since Epoch or an ISO 8601 string which can be detected by the presence of the letter 'T'.
May 4 2016, 9:31 AM · Bug Report, gnupg, KDE

May 3 2016

werner added a project to T2328: Minor typo 'iff' https://www.gnupg.org/download/supported_systems.html: Not A Bug.
May 3 2016, 6:46 PM · Not A Bug, Bug Report, gpgweb
werner closed T2328: Minor typo 'iff' https://www.gnupg.org/download/supported_systems.html as Resolved.
May 3 2016, 6:46 PM · Not A Bug, Bug Report, gpgweb
werner added a comment to T2328: Minor typo 'iff' https://www.gnupg.org/download/supported_systems.html.

Not a bug. "iff" is used math as an abbreviation for "if and only if ..."

May 3 2016, 6:46 PM · Not A Bug, Bug Report, gpgweb
werner added a comment to T2329: Minor typo 'disributed' https://www.gnupg.org/download/cvs_access.html.

Thanks. Fixed in working directory; will show up soon.

In case you want to submit more typo fixes, please collect some of them and put
them into one report.

May 3 2016, 6:43 PM · Bug Report, gpgweb
werner closed T2329: Minor typo 'disributed' https://www.gnupg.org/download/cvs_access.html as Resolved.
May 3 2016, 6:43 PM · Bug Report, gpgweb
werner reopened T2329: Minor typo 'disributed' https://www.gnupg.org/download/cvs_access.html as "Open".
May 3 2016, 6:43 PM · Bug Report, gpgweb
werner closed T2329: Minor typo 'disributed' https://www.gnupg.org/download/cvs_access.html as Resolved.
May 3 2016, 6:43 PM · Bug Report, gpgweb
werner closed T2342: reading uninitialized memory in libksba/cert-basic, with subsequent crash as Resolved.
May 3 2016, 6:39 PM · Bug Report, libksba
werner added a comment to T2342: reading uninitialized memory in libksba/cert-basic, with subsequent crash.

1.3.4 has been released.

May 3 2016, 6:39 PM · Bug Report, libksba
werner removed a project from T2342: reading uninitialized memory in libksba/cert-basic, with subsequent crash: Restricted Project.
May 3 2016, 6:39 PM · Bug Report, libksba
werner added a comment to T2343: Function ksba_cert_get_digest_algo returns an uninitialized pointer in some error cases.

1.3.4 has been released

May 3 2016, 6:39 PM · Bug Report, libksba
werner closed T2343: Function ksba_cert_get_digest_algo returns an uninitialized pointer in some error cases as Resolved.
May 3 2016, 6:39 PM · Bug Report, libksba
werner removed a project from T2343: Function ksba_cert_get_digest_algo returns an uninitialized pointer in some error cases: Restricted Project.
May 3 2016, 6:39 PM · Bug Report, libksba
werner added a comment to T2344: out of bounds read in ksba_cert_get_ext_key_usages called from libksba/cert-basic.

I just released 1.3.4 and thus closing this bug and 2342 and 2343. Thanks again
for you help.

May 3 2016, 6:38 PM · Bug Report, libksba
werner closed T2344: out of bounds read in ksba_cert_get_ext_key_usages called from libksba/cert-basic as Resolved.
May 3 2016, 6:38 PM · Bug Report, libksba
werner removed a project from T2344: out of bounds read in ksba_cert_get_ext_key_usages called from libksba/cert-basic: Restricted Project.
May 3 2016, 6:38 PM · Bug Report, libksba
PPed72 added a comment to T2345: Test mds.test fails if /bin/sh -> dash.

In data martedì 3 maggio 2016 15:13:04 CEST, hai scritto:

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

From my dash man page:

echo [-n] args...
          Print the arguments on the standard output, separated by spaces.

Unless the -n option is present, a new

line is output following the arguments.

The version is 0.5.7 and the debian docs say.

May 3 2016, 6:29 PM · Bug Report
PPed72 added a comment to T2345: Test mds.test fails if /bin/sh -> dash.

Do whatever you prefer. I'm sorry that I bothered you with what is, after all, a
local problem. I'll try to push a workaround for this in Gentoo.

Thanks for your patience.

May 3 2016, 6:04 PM · Bug Report
werner added a comment to T2345: Test mds.test fails if /bin/sh -> dash.

I tend to add a test for printf but given that we will soon replace the entire
test suite I doubt that this will be the best use of my time.

May 3 2016, 5:59 PM · Bug Report
PPed72 added a comment to T2345: Test mds.test fails if /bin/sh -> dash.

Right after I wrote my last reply I noticed that Gentoo patches dash to
"neuter" its echo builtin so that it recognizes neither options nor escape
sequences. So this is Gentoo (and derivatives) specific.

See (if you care) the discussions that led to this behaviour:
http://bugs.gentoo.org/337329
http://bugs.gentoo.org/527848

May 3 2016, 5:43 PM · Bug Report
werner added a comment to T2345: Test mds.test fails if /bin/sh -> dash.

From my dash man page:

  echo [-n] args...
            Print the arguments on the standard output, separated by spaces.
            Unless the -n option is present, a new
            line is output following the arguments.

The version is 0.5.7 and the debian docs say.

This package was debianized by Mark W. Eichin eichin@kitten.gen.ma.us on
Mon, 24 Feb 1997 16:00:16 -0500.

This package was re-ported from NetBSD and debianized by
Herbert Xu herbert@debian.org on Thu, 19 Jun 1997 19:29:16 +1000.

This package was adopted by Gerrit Pape <pape@smarden.org> on
Fri, 28 May 2004 18:38:18 +0000.

It was downloaded from http://gondor.apana.org.au/~herbert/dash/files/

The problem with printf is that it is not availabale on older Unices.

May 3 2016, 5:13 PM · Bug Report
PPed72 added a comment to T2345: Test mds.test fails if /bin/sh -> dash.

AFAIK dash does not support "echo -n". From "man dash":
echo args...

            Print the arguments on the standard output, separated by spaces.

            No arguments or backslash sequences are supported as they are not

portable. They will be printed out exactly as

            passed in.

            You can replace `echo -n ...` with the portable `printf %s ...`

construct.

May 3 2016, 4:57 PM · Bug Report
werner added a comment to T2345: Test mds.test fails if /bin/sh -> dash.

I use dash myself and I have no problems. dash supports echo -n and
he test is supposed to detect this. However, in your case neither \c
nor -n is supported and thus the LF is appended. I don't known for
sure why this is done; the ChangeLog entry for this is

  Wed Aug  4 10:34:18 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
  • defs.inc (echo_n): New and used instead of /bin/echo "\c"

Probably we never hit that case. The test for echo as used by
configure is too complex to use here. Anyway, something is wrong with
your dash version: It does not neither grok -n nor \c.

May 3 2016, 4:52 PM · Bug Report
werner added a comment to T2343: Function ksba_cert_get_digest_algo returns an uninitialized pointer in some error cases.

Fixed with commit 3f74c2c. Thanks.

The use in cert-basic is correct because get_oid_desc accepst a NULL pointer.
However, some libc versions bail out on a NULL for "%s"; I fixed that too.

May 3 2016, 4:14 PM · Bug Report, libksba
werner added a project to T2343: Function ksba_cert_get_digest_algo returns an uninitialized pointer in some error cases: Restricted Project.
May 3 2016, 4:14 PM · Bug Report, libksba
werner added a project to T2342: reading uninitialized memory in libksba/cert-basic, with subsequent crash: Restricted Project.
May 3 2016, 4:12 PM · Bug Report, libksba
werner added a comment to T2342: reading uninitialized memory in libksba/cert-basic, with subsequent crash.

Fixed with commit 6be61da.

The old fix for the problem from April 2015 had an off-by-one in the
bad encoding handling. Now using simpler code.

May 3 2016, 4:12 PM · Bug Report, libksba
werner added a comment to T2344: out of bounds read in ksba_cert_get_ext_key_usages called from libksba/cert-basic.

Fixed with commit a7eed17 . Thanks.

I also checked all other places to ensure that the tag length returned from
_ksba_ber_parse_tl is within the bounds.

May 3 2016, 4:10 PM · Bug Report, libksba
werner added a project to T2344: out of bounds read in ksba_cert_get_ext_key_usages called from libksba/cert-basic: Restricted Project.
May 3 2016, 4:10 PM · Bug Report, libksba
werner claimed T2342: reading uninitialized memory in libksba/cert-basic, with subsequent crash.
May 3 2016, 2:20 PM · Bug Report, libksba
werner claimed T2344: out of bounds read in ksba_cert_get_ext_key_usages called from libksba/cert-basic.
May 3 2016, 2:10 PM · Bug Report, libksba
PPed72 added a comment to T2345: Test mds.test fails if /bin/sh -> dash.

I've made the following script to isolate the issue:
#!/bin/sh
echo_n_init=no
echo_n () {

if test "$echo_n_init" = "no"; then
  if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
    if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
      echo_n_n=
      echo_n_c='

'

    else
      echo_n_n='-n'
      echo_n_c=
    fi
  else
    echo_n_n=
    echo_n_c='\c'
  fi
  echo_n_init=yes
fi
echo $echo_n_n "${1}$echo_n_c"

}

echo_n "abcdefghijklmnopqrstuvwxyz" | gpg2 --with-colons --print-mds

If I run it with "bash -x" I get:
+ echo_n_init=no
+ echo_n abcdefghijklmnopqrstuvwxyz
+ test no = no
+ echo 'testing\c'
+ echo 1,2,3
+ gpg2 --with-colons --print-mds
+ grep c
+ echo -n testing
+ sed s/-n/xn/
+ echo 1,2,3
+ grep xn
+ echo_n_n=-n
+ echo_n_c=
+ echo_n_init=yes
+ echo -n abcdefghijklmnopqrstuvwxyz
:1:C3FCD3D76192E4007DFB496CCA67E13B:
:2:32D10C7B8CF96570CA04CE37F2A19D84240D3A89:
:3:F71C27109C692C1B56BBDCEB5B9D2865B3708DBC:
:11:45A5F72C39C5CFF2522EB3429799E49E5F44B356EF926BCF390DCCC2:
:8:71C480DF93D6AE2F1EFAD1447C66C9525E316218CF51FC8D9ED832F2DAF18B73:
:9:FEB67349DF3DB6F5924815D6C3DC133F091809213731FE5C7B5F4999E463479FF2877F5F2936FA63BB43784B12F3EBB4:
:10:4DBFF86CC2CA1BAE1E16468A05CB9881C97F1753BCE3619034898FAA1AABE429955A1BF8EC483D7421FE3C1646613A59ED5441F
B0F321389F77F48A879C7B1F1:

which is correct. If I run it with "dash -x" I get:
+ echo_n_init=no
+ echo_n abcdefghijklmnopqrstuvwxyz
+ test no =+ no
gpg2 --with-colons --print-mds
+ grep c
+ echo testing\c
+ echo 1,2,3
+ echo -n testing
+ echo 1,2,3
+ sed s/-n/xn/
+ grep xn
+ echo_n_n=
+ echo_n_c=

+ echo_n_init=yes
+ echo abcdefghijklmnopqrstuvwxyz

:1:AD5DEB9B35AB55595BC8312CF1EE134F:
:2:7FDFFACEC05073FD23135CF94868A0076ABF3953:
:3:13F4E18DD89D9611E224C7A73E25C6A42BFF090F:
:11:DBB9A410F16C536637D928B37682A522E3A473864EF6915715DE81B3:
:8:DC6BEFD7DC150815AC9DA4477A059849BC60CE64B052F7D73F33239ADB80F292:
:9:5EAB880F1B7A7E5E888A745B650D705DF7DD1960728BE123088C897B5BCFD37042BE1EFD172CFC0B09E1705EB190A8F4:
:10:6B779E094FB3286174E9E7D08C3D65D6755AC29ACDBEDE2B48E35EA1E9F040E089F62ED8C1378AF2D999F4562334BB071D7493A
FEA19E62C00678F59AA624126:

which is, obviously, not correct.

May 3 2016, 1:05 PM · Bug Report
PPed72 added a project to T2345: Test mds.test fails if /bin/sh -> dash: Bug Report.
May 3 2016, 12:53 PM · Bug Report
PPed72 set Version to 2.1.11 on T2345: Test mds.test fails if /bin/sh -> dash.
May 3 2016, 12:53 PM · Bug Report
werner lowered the priority of T2338: gpa "no keys found" from Unbreak Now! to Normal.
May 3 2016, 12:50 PM · Support, Windows 32, Windows, Bug Report, gpa
werner added projects to T2338: gpa "no keys found": Windows, Windows 32.
May 3 2016, 12:50 PM · Support, Windows 32, Windows, Bug Report, gpa
werner removed a project from T2338: gpa "no keys found": In Progress.
May 3 2016, 12:50 PM · Support, Windows 32, Windows, Bug Report, gpa
werner added a comment to T2338: gpa "no keys found".

Please explain the version number you entered and from where you downloaded GPA

May 3 2016, 12:50 PM · Support, Windows 32, Windows, Bug Report, gpa
uldis added a comment to T2260: npth resource locking not working on AIX.

Sorry, I might be wrong about in previous comment. I am not sure if pshareds=1
opens up some vulnerability hole.

May 3 2016, 11:57 AM · Bug Report, npth
uldis added a comment to T2260: npth resource locking not working on AIX.

pshared=1 will not work on AIX for FORKED processes. It works only for threads.

May 3 2016, 11:44 AM · Bug Report, npth
gniibe claimed T2260: npth resource locking not working on AIX.
May 3 2016, 11:05 AM · Bug Report, npth
gniibe added a comment to T2260: npth resource locking not working on AIX.

Thank you.
I think that it's better to use sem_init with pshared=1.
I'm sending my proposal patch to gnupg-devel.

May 3 2016, 11:05 AM · Bug Report, npth

May 2 2016

gniibe added a comment to T2306: Rare smartcard errors with gnupg master.

Another problem has been fixed in 6677d8b.
I intentionally set up more hubs from computer to the device to cause an error.
When an error occurred, scdaemon continued to report "Card error", even after I
inserted the device directly to the computer.
Now, it returns "No such device" for severe errors, and scdaemon can recover
from such errors.

May 2 2016, 9:04 AM · Bug Report, gnupg, scd

May 1 2016

pascal_cuoq added a comment to T2344: out of bounds read in ksba_cert_get_ext_key_usages called from libksba/cert-basic.

The file oid_oob_big.crt would cause the function ksba_oid_to_str() to be called with a “length” argument of

  1. This is what execution in tis-interpreter (in which allocations always succeed) shows:


48

83

A5

this is not going to end well: length=3100166514561975041

src/oid.c:105:[kernel] warning: out of bounds read. assert \valid_read(buf_0+n);

                  stack: _ksba_oid_to_str :: src/cert.c:1462 <-
                         _ksba_cert_get_ext_key_usages :: src/visibility.c:259 <-
                         ksba_cert_get_ext_key_usages :: tests/cert-basic.c:265 <-
                         list_extensions :: tests/cert-basic.c:545 <-
                         one_file :: tests/cert-basic.c:592 <-
                         main

“Fortunately”, for the file oid_oob_big.crt, execution of the program tests/cert-basic differs in that a memory
allocation fails:

$ ./tests/cert-basic ../../libksba-1.3.3/oid_oob_big.crt
Certificate in `../../libksba-1.3.3/oid_oob_big.crt':

serial....: (#04#)
issuer....: `1.2.840.113549.1.9.1=#696E73656375726540746573742E696E736563757265,CN=For Tests

Only,O=InsecureTestCertificate,C=de'

       aka: `<insecure@test.insecure>'
subject...: `1.2.840.113549.1.9.1=#696E73656375726540746573742E696E736563757265,CN=Insecure Server

Cert,O=InsecureTestCertificate,C=de'

       aka: `<insecure@test.insecure>'
notBefore.: 2001-08-17 08:46:24
notAfter..: 2006-08-16 08:46:24
hash algo.: 1.2.840.113549.1.1.4

Extn: 2.5.29.15 at 474 with length 4
Extn: 2.5.29.37 at 487 with length 12
Extn: 2.5.29.14 at 508 with length 22
Extn: 2.5.29.35 at 541 with length 145
Extn: 2.5.29.17 at 695 with length 26
Extn: 2.5.29.18 at 730 with length 26
Extn: 2.16.840.1.113730.1.1 at 771 with length 4
Extn: 2.16.840.1.113730.1.13 at 790 with length 47
SubjectKeyIdentifier: (#0234E2C906F6E0B44253BE04C0CBA7823A6DB509#)
AuthorityKeyIdentifier: 1.2.840.113549.1.9.1=#696E73656375726540746573742E696E736563757265,CN=For Tests
Only,O=InsecureTestCertificate,C=de

       serial: (#00#)
keyIdentifier: (#BF53438278D09EC380E51B67CA0500DFB94883A5#)

KeyUsage: digitalSignature keyEncipherment keyAgreement
cert-basic.c:271: ksba_cert_ext_key_usages failed: Cannot allocate memory
CertificatePolicies: none

Regardless, between themselves, the two files oid_oob_big.crt and oid_oob_small.crt shows that an attacker seems to have
many possibilities for crafting a malicious certificate that crashes in ksba_oid_to_str() called from
ksba_cert_get_ext_key_usages().

May 1 2016, 1:17 PM · Bug Report, libksba
pascal_cuoq added a comment to T2344: out of bounds read in ksba_cert_get_ext_key_usages called from libksba/cert-basic.

May 1 2016, 1:08 PM · Bug Report, libksba
pascal_cuoq added a comment to T2344: out of bounds read in ksba_cert_get_ext_key_usages called from libksba/cert-basic.

May 1 2016, 1:07 PM · Bug Report, libksba
pascal_cuoq added projects to T2344: out of bounds read in ksba_cert_get_ext_key_usages called from libksba/cert-basic: libksba, Bug Report.
May 1 2016, 1:07 PM · Bug Report, libksba
pascal_cuoq set Version to 1.3.3 on T2344: out of bounds read in ksba_cert_get_ext_key_usages called from libksba/cert-basic.
May 1 2016, 1:07 PM · Bug Report, libksba

Apr 29 2016

pascal_cuoq added projects to T2343: Function ksba_cert_get_digest_algo returns an uninitialized pointer in some error cases: libksba, Bug Report.
Apr 29 2016, 11:10 PM · Bug Report, libksba
pascal_cuoq set Version to 1.3.3 on T2342: reading uninitialized memory in libksba/cert-basic, with subsequent crash.
Apr 29 2016, 7:57 PM · Bug Report, libksba
pascal_cuoq added projects to T2342: reading uninitialized memory in libksba/cert-basic, with subsequent crash: libksba, Bug Report.
Apr 29 2016, 7:57 PM · Bug Report, libksba
aheinecke added a comment to T2339: Edit-key with-colons reports KEYEXPIRED on status-fd if one subkey (or selfsig?) is expired.

D366: 825_fix-in-gpgmepp.patch

Apr 29 2016, 6:45 PM · Bug Report, gnupg, KDE
aheinecke added a comment to T2339: Edit-key with-colons reports KEYEXPIRED on status-fd if one subkey (or selfsig?) is expired.

Note to self.

The problem is that editinteractor in edit_interactor_callback_impl checks
status_to_error before the GpgSignKeyEditInteractor::nextState implementation
has the chance to ignore that status with needsNoResponse.

A fix in GpgMEpp could be to ignore the error if the state machine was not
started. E.g. we have not yet send any command.

Attached patch fixes the problem. But I'm not sure that this does not cause
regressions e.g. when trying to add a uid to an expired key or trying to
actually sign expired uid's. :-/

Apr 29 2016, 6:45 PM · Bug Report, gnupg, KDE
tbehrens added a project to T2341: GPGOL: "Sign by default" will also "Encrypt by default": gpgol.
Apr 29 2016, 6:01 PM · Unreleased, gpgol, Bug Report
tbehrens added a project to T2341: GPGOL: "Sign by default" will also "Encrypt by default": Bug Report.
Apr 29 2016, 5:57 PM · Unreleased, gpgol, Bug Report
tbehrens set Version to 1.4.0 on T2340: GPGOL: Cannot launch Kleopatra.
Apr 29 2016, 5:51 PM · Bug Report, gpgol
tbehrens added projects to T2340: GPGOL: Cannot launch Kleopatra: gpgol, Bug Report.
Apr 29 2016, 5:51 PM · Bug Report, gpgol
aheinecke added projects to T2339: Edit-key with-colons reports KEYEXPIRED on status-fd if one subkey (or selfsig?) is expired: KDE, gnupg, Bug Report.
Apr 29 2016, 4:48 PM · Bug Report, gnupg, KDE
aheinecke set External Link to https://bugs.kde.org/show_bug.cgi?id=358392 on T2339: Edit-key with-colons reports KEYEXPIRED on status-fd if one subkey (or selfsig?) is expired.
Apr 29 2016, 4:48 PM · Bug Report, gnupg, KDE
aheinecke added a comment to T2339: Edit-key with-colons reports KEYEXPIRED on status-fd if one subkey (or selfsig?) is expired.

Apr 29 2016, 4:48 PM · Bug Report, gnupg, KDE

Apr 28 2016

gniibe added a comment to T2306: Rare smartcard errors with gnupg master.

The particular problem of T2306 (aheinecke on Apr 25 2016, 06:53 PM / Roundup) has been fixed in cb4fee8.

I think that it was not always reproducible because it depends on timing (only
when it detected an error at bulk_in, the problem happened). I'm not sure if
the difference of old/new libusb mattered for this problem.

Apr 28 2016, 5:53 AM · Bug Report, gnupg, scd
gniibe added a project to T2306: Rare smartcard errors with gnupg master: Restricted Project.
Apr 28 2016, 5:53 AM · Bug Report, gnupg, scd

Apr 27 2016

kiwcam16 set Version to GnuPG v2mQENBFb on T2338: gpa "no keys found".
Apr 27 2016, 9:29 PM · Support, Windows 32, Windows, Bug Report, gpa
kiwcam16 set Due Date to Apr 28 2016, 2:00 AM on T2338: gpa "no keys found".
Apr 27 2016, 9:29 PM · Support, Windows 32, Windows, Bug Report, gpa
kiwcam16 added a comment to T2338: gpa "no keys found".

Apr 27 2016, 9:29 PM · Support, Windows 32, Windows, Bug Report, gpa
kiwcam16 added projects to T2338: gpa "no keys found": In Progress, gpa, Bug Report.
Apr 27 2016, 9:29 PM · Support, Windows 32, Windows, Bug Report, gpa
werner added a comment to T2333: gnupg-2.0.30 (2016-03-31 Stable) Fails to Compile on openSUSE Linux.

Those libraries are not GnuPG specific.

Apr 27 2016, 12:05 PM · Bug Report, gnupg

Apr 26 2016

nweyand added projects to T2337: gpg command line language wrong: gpg4win, gnupg (gpg20), Bug Report.
Apr 26 2016, 2:30 PM · gnupg24, Feature Request, gpg4win
martin_vahi added a comment to T2333: gnupg-2.0.30 (2016-03-31 Stable) Fails to Compile on openSUSE Linux.

Thank You. I noticed later that, indeed, at the first instance,
there's a problem with the library, but I corrected that issue
with the other try, the one that is described at

https://bugs.gnupg.org/gnupg/file821/2016_04_gnupg_v_2_1_11_build_log.txt

---citation--start----
gcc -DHAVE_CONFIG_H -I. -I.. -I../common -
DLOCALEDIR=\"/home/ts2/m_local/bin_p_originaalid/GNU_Privacy_Guard/v2016_04/gnup
g/share/locale\" -
DGNUPG_BINDIR="\"/home/ts2/m_local/bin_p_originaalid/GNU_Privacy_Guard/v2016_04/
gnupg/bin\"" -
DGNUPG_LIBEXECDIR="\"/home/ts2/m_local/bin_p_originaalid/GNU_Privacy_Guard/v2016
_04/gnupg/lib\"" -
DGNUPG_LIBDIR="\"/home/ts2/m_local/bin_p_originaalid/GNU_Privacy_Guard/v2016_04/
gnupg/lib64/gnupg\"" -
DGNUPG_DATADIR="\"/home/ts2/m_local/bin_p_originaalid/GNU_Privacy_Guard/v2016_04
/gnupg/share/gnupg\"" -
DGNUPG_SYSCONFDIR="\"/home/ts2/m_local/bin_p_originaalid/GNU_Privacy_Guard/v2016
_04/gnupg/etc/gnupg\"" -
DGNUPG_LOCALSTATEDIR="\"/home/ts2/m_local/bin_p_originaalid/GNU_Privacy_Guard/v2
016_04/gnupg/var\"" -
I/home/ts2/m_local/bin_p_originaalid/GNU_Privacy_Guard/v2016_04/libgcrypt/includ
e -
I/home/ts2/m_local/bin_p_originaalid/GNU_Privacy_Guard/v2016_04/libksba/include
-Wall -Wno-pointer-sign -Wpointer-arith -mtune=native -ftree-vectorize -MT
libkeybox_a-keybox-util.o -MD -MP -MF .deps/libkeybox_a-keybox-util.Tpo -c -o
libkeybox_a-keybox-util.o test -f 'keybox-util.c' || echo './'keybox-util.c
In file included from keybox-defs.h:42:0,

from keybox-util.c:29:

../common/stringhelp.h: In function ‘make_filename’:
../common/stringhelp.h:55:52: error: expected declaration specifiers before â
€˜GPGRT_ATTR_SENTINEL’
char *make_filename( const char *first_part, ... ) GPGRT_ATTR_SENTINEL(0);

^

---citation--end------

Besides, given the small size of the GnuPG, shouldn't the
few GnuPG specific libraries just be subfolders of the
GnuPG project? If not in the repository, then at least
at the release tar-ball? It would avoid the
"library wrongly installed" part.

Apr 26 2016, 12:55 PM · Bug Report, gnupg
werner added a comment to T2321: undefined reference to `gpgrt_annotate_leaked_object'.

A beta version is not a released version. For example SO numbers may be
different. BTW 1.22 has been released.

Apr 26 2016, 11:44 AM · Bug Report, libgcrypt, Not A Bug
werner added a comment to T2333: gnupg-2.0.30 (2016-03-31 Stable) Fails to Compile on openSUSE Linux.

libksba has not been installed properly.

Apr 26 2016, 11:40 AM · Bug Report, gnupg
werner added a project to T2325: rijndael error during make: Assembler.
Apr 26 2016, 11:38 AM · Assembler, Bug Report, libgcrypt
werner added a comment to T2336: libgcrypt 1.7.0 fails to be created.

For help on building libgcrypt, please ask on gcrypt-devel ML.

Your report is too sparse to help you. When writing to the ML you should
specify the used OS, any special configuration you have, and a detailed
description of what you did.

Apr 26 2016, 11:37 AM · Not A Bug, Bug Report, libgcrypt
gniibe added a comment to T1671: libgpg-error 1.13 does not link on Solaris 10.

libgpg-error 1.22 is out with fix. Please test.

Apr 26 2016, 1:35 AM · gpgrt, Bug Report
gniibe added a comment to T1931: libgpg-error-1.18 all tests core on Solaris10 with gcc4.9.2.

libgpg-error 1.2.2 is out. Please test with it.

Apr 26 2016, 1:34 AM · Bug Report, gpgrt

Apr 25 2016

perske added projects to T2336: libgcrypt 1.7.0 fails to be created: libgcrypt, Bug Report.
Apr 25 2016, 7:14 PM · Not A Bug, Bug Report, libgcrypt
aheinecke added a comment to T2306: Rare smartcard errors with gnupg master.

I can make "a" problem (not sure if it is "the" problem) reproducible with the
following command (as root):

AUTHFILE="/sys/bus/usb/devices/4-1.2/authorized" ; echo 0 > "$AUTHFILE" ; sleep
1 ; echo 1 > "$AUTHFILE"

This was based on:
http://askubuntu.com/questions/645/how-do-you-reset-a-usb-device-from-the-command-line/61165#61165

where 4-1.2 is the id of my reader. The error message in scdaemon log is
slightly different but the behavior is the same. It's in an error state until I
kill it.

Apr 25 2016, 6:53 PM · Bug Report, gnupg, scd
aheinecke added a comment to T2335: Rare crashes when encrypting and/or signing mails with GpgOL.

Just as a note, this bug is for the "MIME Aware" interface with event driven
sign / encrypt.

Apr 25 2016, 10:53 AM · Unreleased, Bug Report, gpgol
aheinecke added projects to T2335: Rare crashes when encrypting and/or signing mails with GpgOL: gpgol, Bug Report.
Apr 25 2016, 10:39 AM · Unreleased, Bug Report, gpgol
aheinecke set Version to master on T2335: Rare crashes when encrypting and/or signing mails with GpgOL.
Apr 25 2016, 10:39 AM · Unreleased, Bug Report, gpgol

Apr 23 2016

kristianf added a comment to T2325: rijndael error during make.

The downstream issue does not persist in gcc 4.9.3 but triggers for 4.8.5

Apr 23 2016, 8:14 PM · Assembler, Bug Report, libgcrypt