Page MenuHome GnuPG
Feed Advanced Search

Dec 20 2018

gniibe created T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well).
Dec 20 2018, 2:51 AM

Dec 17 2018

werner closed T3982: libgcrypt.m4 is not multilib friendly, a subtask of T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config, as Resolved.
Dec 17 2018, 9:57 AM · npth, libassuan, ntbtls, libgcrypt, libksba

Dec 13 2018

gniibe closed T4232: gpgrt-config Gentoo/Fedora/Arch/Slackware-style multilib support, a subtask of T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config, as Resolved.
Dec 13 2018, 3:38 PM · npth, libassuan, ntbtls, libgcrypt, libksba
werner claimed T4013: Certificate requests generated from Ed25519 keys are not compliant with draft-ietf-curdle-pkix.
Dec 13 2018, 9:38 AM · S/MIME, Feature Request, libksba

Oct 29 2018

gniibe changed the status of T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config from Open to Testing.

New gpg-error.m4 detects gpgrt-config, too.
And configure supplies --libdir when it invokes gpgrt-config.
For other *.m4 (libassuan, ksba, libgcrypt, ntbtls), it is possible for them to check GPGRT_CONFIG to use gpgrt-config if any.
For npth.m4, it can do that too, with no hard dependency to libgpg-error.

Oct 29 2018, 5:57 AM · npth, libassuan, ntbtls, libgcrypt, libksba
gniibe changed the status of T4232: gpgrt-config Gentoo/Fedora/Arch/Slackware-style multilib support, a subtask of T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config, from Open to Testing.
Oct 29 2018, 5:50 AM · npth, libassuan, ntbtls, libgcrypt, libksba

Oct 26 2018

werner added a subtask for T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config: T3982: libgcrypt.m4 is not multilib friendly.
Oct 26 2018, 12:44 PM · npth, libassuan, ntbtls, libgcrypt, libksba

Oct 25 2018

gniibe added a comment to T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config.

A bit tricky, but this would be good to use gpgrt-config by gpg-error.m4.
I say "tricky", because its name is gpg-error.m4 but it configure GPGRT_CONFIG to access to GPG_ERROR_CONFIG.

Oct 25 2018, 8:33 AM · npth, libassuan, ntbtls, libgcrypt, libksba
gniibe added a comment to T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config.

It might be good idea to provide libgcrypt.pc in libgcrypt 1.8.x for forward compatibility with libgpg-error 1.33.

Oct 25 2018, 3:49 AM · npth, libassuan, ntbtls, libgcrypt, libksba
gniibe added a comment to T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config.

Well, I changed my mind. Use of new gpgrt-config requires software update to introduce gpgrt.m4 and update of configure.ac to switch gpgrt from gpg-error, in standard way.
That's too much this time. It's good to defer this change.

Oct 25 2018, 3:06 AM · npth, libassuan, ntbtls, libgcrypt, libksba
gniibe added a comment to T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config.

OK, I'll change to use gpgrt-config, along with requiring newer version of libgpg-error.

Oct 25 2018, 1:14 AM · npth, libassuan, ntbtls, libgcrypt, libksba

Oct 24 2018

werner added a comment to T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config.

May I suggest to use a (new) gpgrt-config instead of the current name libgpg-error-config. The long term plan is to change the name of the library.

Oct 24 2018, 9:06 AM · npth, libassuan, ntbtls, libgcrypt, libksba
gniibe updated the task description for T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config.
Oct 24 2018, 2:37 AM · npth, libassuan, ntbtls, libgcrypt, libksba
gniibe updated the task description for T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config.
Oct 24 2018, 2:33 AM · npth, libassuan, ntbtls, libgcrypt, libksba
gniibe added a comment to T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config.

This is the dependency graph:

Oct 24 2018, 2:32 AM · npth, libassuan, ntbtls, libgcrypt, libksba
gniibe created T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config.
Oct 24 2018, 2:15 AM · npth, libassuan, ntbtls, libgcrypt, libksba

Oct 23 2018

werner closed T4207: Copy & paste error in libksba cms.c as Resolved.

Thanks.

Oct 23 2018, 10:44 PM · libksba
werner closed T4213: Invalid test for certlist->signing_time in build_signed_data_attributes in cms.c as Resolved.

Thanks. That code is from 2001 and whne I changed to another time representaion in 2003 (due certs with 40 years expiration time) I missed to changed that condition.

Oct 23 2018, 10:39 PM · libksba
t8m created T4213: Invalid test for certlist->signing_time in build_signed_data_attributes in cms.c in the S1 Public space.
Oct 23 2018, 4:53 PM · libksba
t8m created T4207: Copy & paste error in libksba cms.c in the S1 Public space.
Oct 23 2018, 1:20 PM · libksba

Jun 8 2018

werner triaged T4013: Certificate requests generated from Ed25519 keys are not compliant with draft-ietf-curdle-pkix as Normal priority.

I was not aware that you could do this at all. You are right in that to start supporting this we first need to update libksba.

Jun 8 2018, 10:15 PM · S/MIME, Feature Request, libksba
gouttegd created T4013: Certificate requests generated from Ed25519 keys are not compliant with draft-ietf-curdle-pkix.
Jun 8 2018, 12:45 PM · S/MIME, Feature Request, libksba

Nov 23 2017

werner closed T3532: Some Build Warnings for libksba-1.3.5 on Ubuntu 17.10 as Resolved.

Please ignore them.

Nov 23 2017, 12:58 PM · libksba, Bug Report
utkonos created T3532: Some Build Warnings for libksba-1.3.5 on Ubuntu 17.10.
Nov 23 2017, 10:34 AM · libksba, Bug Report

Oct 21 2017

lumag added a watcher for libksba: lumag.
Oct 21 2017, 2:49 PM

Aug 15 2017

kai closed T3346: CMS parser test leaks memory as Resolved.

Fixed in a1d9b046aec8cedda16a9e24eb8d2ed021f68d5d

Aug 15 2017, 5:05 PM · libksba

Aug 14 2017

kai created T3346: CMS parser test leaks memory.
Aug 14 2017, 10:10 AM · libksba

Aug 9 2017

kai closed T3072: Missing fd reader implementation as Resolved.
Aug 9 2017, 6:00 PM · g10code Sprint, libksba

Jul 13 2017

werner added a comment to T2350: Reading uninitialized memory in libksba.

It is fine to close this. Reworking the parser is not going to happen anytime soon.

Jul 13 2017, 6:30 PM · In Progress, Bug Report, libksba
marcus closed T2350: Reading uninitialized memory in libksba as Resolved.

Because werner says he fixed the memory access, I am closing here. werner, if you want to keep track of the invalid encoding issue with the asn.1 parser, please open a new task with some details. pascal, if you find anything missing, please open new tickets (as you said, it's easier to keep track of issues in separate tickets).

Jul 13 2017, 4:36 PM · In Progress, Bug Report, libksba

Jun 28 2017

marcus merged T1561: configure: --with-libgpg-error-prefix doesn't impact includes into T1467: libksba's configure script reports "--with-libgpg-error-prefix", expects "--with-gpg-error-prefix".
Jun 28 2017, 5:11 PM · Bug Report, libksba

May 5 2017

kai updated the task description for T3072: Missing fd reader implementation.
May 5 2017, 6:12 PM · g10code Sprint, libksba

May 2 2017

marcus added a comment to T3072: Missing fd reader implementation.

Can you add a description?

May 2 2017, 10:07 AM · g10code Sprint, libksba

Apr 13 2017

kai edited projects for T3072: Missing fd reader implementation, added: g10code Sprint; removed g10code Sprint (KW 15).
Apr 13 2017, 7:56 PM · g10code Sprint, libksba

Apr 10 2017

kai claimed T3072: Missing fd reader implementation.
Apr 10 2017, 10:06 AM · g10code Sprint, libksba
kai created T3072: Missing fd reader implementation.
Apr 10 2017, 10:04 AM · g10code Sprint, libksba

Mar 30 2017

admin created libksba.
Mar 30 2017, 6:42 PM

Oct 14 2016

werner added a comment to T2753: Libksba requires a new version of byacc and does not check for it.

Weel, required if you cange an .y file.

Oct 14 2016, 3:46 PM · Bug Report, libksba
werner closed T2753: Libksba requires a new version of byacc and does not check for it as Resolved.
Oct 14 2016, 3:46 PM · Bug Report, libksba
werner added a comment to T2753: Libksba requires a new version of byacc and does not check for it.

Bison is required.
I pushed a change which prints a note if yacc is not Bison.

Oct 14 2016, 3:45 PM · Bug Report, libksba
werner reopened T2753: Libksba requires a new version of byacc and does not check for it as "Open".
Oct 14 2016, 3:45 PM · Bug Report, libksba
aheinecke added a comment to T2753: Libksba requires a new version of byacc and does not check for it.

I was unaware that the released version does not require it.

In that case it's no bug imo. because otherwise we would also need to work with
older autotools versions etc.

Oct 14 2016, 3:01 PM · Bug Report, libksba
aheinecke closed T2753: Libksba requires a new version of byacc and does not check for it as Resolved.
Oct 14 2016, 3:01 PM · Bug Report, libksba
werner lowered the priority of T2753: Libksba requires a new version of byacc and does not check for it from Normal to Low.
Oct 14 2016, 2:58 PM · Bug Report, libksba
werner added a comment to T2753: Libksba requires a new version of byacc and does not check for it.

Bison is a maintainer tool and regualr builds do not require it.
I am also surprised that you can build it with a regular(?) yacc.

Oct 14 2016, 2:58 PM · Bug Report, libksba

Oct 13 2016

aheinecke added a comment to T2753: Libksba requires a new version of byacc and does not check for it.

btw. reason for this report is a setup of WKS where you require most recent
modern gnupg on long time distro running servers.

Oct 13 2016, 7:38 PM · Bug Report, libksba
aheinecke added projects to T2753: Libksba requires a new version of byacc and does not check for it: libksba, Bug Report.
Oct 13 2016, 7:31 PM · Bug Report, libksba

Aug 23 2016

werner removed a project from T2415: result of fread() is assigned to an int variable: Unreleased.
Aug 23 2016, 4:35 PM · Bug Report, libksba

Aug 22 2016

werner closed T2415: result of fread() is assigned to an int variable as Resolved.
Aug 22 2016, 11:50 AM · Bug Report, libksba
werner added a project to T2415: result of fread() is assigned to an int variable: Unreleased.
Aug 22 2016, 11:50 AM · Bug Report, libksba
werner added a comment to T2415: result of fread() is assigned to an int variable.

You are right. Fixed with commit 68fba3d.

Aug 22 2016, 11:50 AM · Bug Report, libksba

Jul 11 2016

pascal_cuoq set Version to 1.3.4 on T2415: result of fread() is assigned to an int variable.
Jul 11 2016, 11:23 AM · Bug Report, libksba
pascal_cuoq added projects to T2415: result of fread() is assigned to an int variable: libksba, Bug Report.
Jul 11 2016, 11:23 AM · Bug Report, libksba

May 11 2016

werner added a project to T2350: Reading uninitialized memory in libksba: In Progress.
May 11 2016, 12:44 PM · In Progress, Bug Report, libksba
werner added a comment to T2350: Reading uninitialized memory in libksba.

commit 2a9fc56 fixes the access to uninitialized buffers. Given that GnuPG puts
all senstive data into a special memory area which is cleared before a free, I
don't see a problem with a possible data leak.

What is left is the problem that the parser does not always detect invalid
encodings. This can be improved but I am not anymore convinced about that table
driven parser.

May 11 2016, 12:44 PM · In Progress, Bug Report, libksba
werner added a comment to T2350: Reading uninitialized memory in libksba.

Thanks. I would actually prefer to handle this by mail because this makes
communication easier and faster. It would also be useful to known on what you
are working or plan to work on, so that we do not need to rush out releases
while there are other obvious things to fix.

May 11 2016, 10:58 AM · In Progress, Bug Report, libksba
pascal_cuoq added a comment to T2350: Reading uninitialized memory in libksba.

Now I regret reporting so many different problems as a single ticket. Note that if possible
information leaks are the only thing we are concerned with, all the issues in this ticket can be
solved by systematically initializing dynamically allocated memory, so they have that in common.

This won't solve the problems that several inconsistent .crt files are in fact accepted as valid,
showing contents of the freshly initialized allocated memory in place of information that should have
come from the .crt file. I would much prefer fixing these logic errors individually so that use of
uninitialized memory can remain a useful symptom of other logic errors, but ultimately, this is your
choice to make.

May 11 2016, 3:28 AM · In Progress, Bug Report, libksba
pascal_cuoq added a comment to T2350: Reading uninitialized memory in libksba.

May 11 2016, 3:10 AM · In Progress, Bug Report, libksba
pascal_cuoq added a comment to T2350: Reading uninitialized memory in libksba.

Here is a fourth instance of use of uninitialized memory (uninitialized4.crt).

The tis-interpreter diagnostic is:

Certificate in `t.crt':

  serial....:

02

3A

83

  issuer....:

`CN=GeoTrust Global CA,O=GeoTrust Inc.,C=US'

  subject...:

`CN=Google Internet Authority G2,O=Google Inc,C=US'

  notBefore.:

2013-04-05 15:15:56

  notAfter..:

2016-12-31 23:59:59

  hash algo.: (null)

Extn: 2.5.29.35 at 517 with length 24

SubjectKeyIdentifier:

none
src/ber-help.c:213:[kernel] warning: accessing uninitialized left-value:

assert \initialized(buf);                  
stack: _ksba_ber_parse_tl :: src/cert.c:1836 <-
       _ksba_cert_get_auth_key_id :: src/visibility.c:280 <-
       ksba_cert_get_auth_key_id :: tests/cert-basic.c:190 <-
       list_extensions :: tests/cert-basic.c:546 <-
       one_file :: tests/cert-basic.c:593 <-
       main

src/ber-help.c:213:[kernel] warning: completely indeterminate value in mallocksba_malloc_l130_935 with offsets 4152 bits.

In order to make the use of uninitialized memory visible, apply the following patch:

~/instrumented/libksba-1.3.4$ diff -u src/ber-
ber-decoder.c ber-decoder.lo ber-dump ber-help.c ber-help.h ber-help.o
ber-decoder.h ber-decoder.o ber-dump.c ber-help.c~ ber-help.lo
pascal@TrustInSoft-Box-VII:~/instrumented/libksba-1.3.4$ diff -u src/ber-help.c{~,}

  • src/ber-help.c~ 2016-05-03 18:12:09.000000000 +0200

+++ src/ber-help.c 2016-05-11 03:04:34.361037076 +0200
@@ -210,7 +210,7 @@

/* Get the tag */
if (!length)
  return premature_eof (ti);
  • c = *buf++; length--;

+ c = *buf++; printf("|%02hhX|\n", c); length--;

   ti->buf[ti->nhdr++] = c;
   ti->class = (c & 0xc0) >> 6;

With the above instrumentation in place, the command "./tests/cert-basic uninitialized4.crt" shows:

Certificate in `uninitialized4.crt':

serial....: (#023A83#)
issuer....: `CN=GeoTrust Global CA,O=GeoTrust Inc.,C=US'
subject...: `CN=Google Internet Authority G2,O=Google Inc,C=US'
notBefore.: 2013-04-05 15:15:56
notAfter..: 2016-12-31 23:59:59
hash algo.: (null)

Extn: 2.5.29.35 at 517 with length 24
SubjectKeyIdentifier: none

30
3E

cert-basic.c:219: ksba_cert_get_auth_key_id: Invalid certificate object
KeyUsage: Not specified
ExtKeyUsages: none
CertificatePolicies: none
cert-basic.c:557: expected EOF but got: BER error

The line |3E| indicates access to uninitialized memory.

May 11 2016, 3:10 AM · In Progress, Bug Report, libksba
pascal_cuoq added a comment to T2350: Reading uninitialized memory in libksba.

May 11 2016, 3:01 AM · In Progress, Bug Report, libksba
pascal_cuoq added a comment to T2350: Reading uninitialized memory in libksba.

Here is a third instance, much like the second one. As the read from uninitialized memory happens in append_ucs2_value(),
the uninitialized memory is harder to recognize in the output.

tis-interpreter information:

Certificate in `t.crt':

  serial....:

02

3A

83
src/dn.c:522:[kernel] warning: accessing uninitialized left-value:

assert \initialized(tmp_1);
(tmp_1 from s++)
stack: append_ucs2_value :: src/dn.c:619 <-
       append_atv :: src/dn.c:667 <-
       dn_to_str :: src/dn.c:692 <-
       _ksba_dn_to_str :: src/cert.c:609 <-
       get_name :: src/cert.c:744 <-
       _ksba_cert_get_issuer :: src/visibility.c:190 <-
       ksba_cert_get_issuer :: tests/cert-basic.c:424 <-
       one_file :: tests/cert-basic.c:593 <-
       main

src/dn.c:522:[kernel] warning: completely indeterminate value in mallocksba_malloc_l130_935 with offset 1384 bits.

May 11 2016, 3:01 AM · In Progress, Bug Report, libksba
pascal_cuoq added a comment to T2350: Reading uninitialized memory in libksba.

May 11 2016, 2:48 AM · In Progress, Bug Report, libksba
pascal_cuoq added projects to T2350: Reading uninitialized memory in libksba: libksba, Bug Report.
May 11 2016, 2:48 AM · In Progress, Bug Report, libksba
pascal_cuoq set Version to 1.3.4 on T2350: Reading uninitialized memory in libksba.
May 11 2016, 2:48 AM · In Progress, Bug Report, libksba

May 3 2016

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

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

Apr 10 2015

werner closed T1467: libksba's configure script reports "--with-libgpg-error-prefix", expects "--with-gpg-error-prefix" as Resolved.
Apr 10 2015, 3:36 PM · Bug Report, libksba
werner added a comment to T1467: libksba's configure script reports "--with-libgpg-error-prefix", expects "--with-gpg-error-prefix".

This has been fixed in libgpg-error and the gpg-error.m4 macros have been
updated in all gnupg related libraries.

Apr 10 2015, 3:36 PM · Bug Report, libksba

Mar 10 2015

werner added a comment to T1880: warning: implicit declaration of function.

No c+p of warnings please! Use gnupg-devel instead.

Mar 10 2015, 9:48 AM · Not A Bug, Bug Report, libksba
werner added a project to T1880: warning: implicit declaration of function: Not A Bug.
Mar 10 2015, 9:48 AM · Not A Bug, Bug Report, libksba
werner closed T1880: warning: implicit declaration of function as Resolved.
Mar 10 2015, 9:48 AM · Not A Bug, Bug Report, libksba
werner added a project to T1876: Memory leaks when running `make check` under Clang sanitizers: Mistaken.
Mar 10 2015, 9:46 AM · Mistaken, Bug Report, libksba
werner closed T1876: Memory leaks when running `make check` under Clang sanitizers as Resolved.
Mar 10 2015, 9:46 AM · Mistaken, Bug Report, libksba
werner added a comment to T1876: Memory leaks when running `make check` under Clang sanitizers.

Use gnupg-devel for such things.

Mar 10 2015, 9:46 AM · Mistaken, Bug Report, libksba
werner closed T1867: Potential use of uniinitialized vairaible as Resolved.
Mar 10 2015, 9:45 AM · Mistaken, Bug Report, libksba
werner added a comment to T1867: Potential use of uniinitialized vairaible.

(If you want to provide a fix, please provide a diff and not the complete file.)

Mar 10 2015, 9:45 AM · Mistaken, Bug Report, libksba
werner reopened T1867: Potential use of uniinitialized vairaible as "Open".
Mar 10 2015, 9:45 AM · Mistaken, Bug Report, libksba