Skip to content

Commit

Permalink
feat: update libksba to 1.6.6
Browse files Browse the repository at this point in the history
X.509 and CMS support library - development files

Issue: deepin-community/sig-deepin-sysdev-team#544
Log: update repo
  • Loading branch information
xzl01 authored and deepin-ci-robot committed Jun 6, 2024
1 parent b5de194 commit 146e375
Show file tree
Hide file tree
Showing 62 changed files with 8,931 additions and 6,616 deletions.
1 change: 0 additions & 1 deletion .gitignore

This file was deleted.

124 changes: 67 additions & 57 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,17 @@ License (library): LGPLv3+/GPLv2+
License (tools, manual): GPLv3+


Libksba is free software. See the files COPYING.* for detailed
copying conditions, and this file for notices about a few
contributions that require these additional notices to be distributed.
License copyright years may be listed using range notation, e.g.,
2000-2013, indicating that every year in the range, inclusive, is a
copyrightable year that would otherwise be listed individually.


List of Authors
===============

g10 Code GmbH
Design and most stuff.

Expand All @@ -23,72 +34,71 @@ now the following files contain some of this code:
Copyright
=========

| Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2010, 2011
| 2012, 2013, 2014, 2015, 2018, 2019, 2020, 2021 g10 Code GmbH
| Copyright (C) 2001, 2002, 2003, 2007 Free Software Foundation, Inc.
| Copyright (C) 2000, 2001 Fabio Fiorina
Copyright (C) 2001-2006, 2010-2015, 2018-2023 g10 Code GmbH
Copyright (C) 2001-2003, 2007 Free Software Foundation, Inc.
Copyright (C) 2000, 2001 Fabio Fiorina

The library and the header files are distributed under the following
terms (LGPLv3+/GPLv2+):

| KSBA is free software; you can redistribute it and/or modify
| it under the terms of either
|
| - the GNU Lesser General Public License as published by the Free
| Software Foundation; either version 3 of the License, or (at
| your option) any later version.
|
| or
|
| - the GNU General Public License as published by the Free
| Software Foundation; either version 2 of the License, or (at
| your option) any later version.
|
| or both in parallel, as here.
|
| KSBA is distributed in the hope that it will be useful, but WITHOUT
| ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
| or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
| License for more details.
KSBA is free software; you can redistribute it and/or modify
it under the terms of either

- the GNU Lesser General Public License as published by the Free
Software Foundation; either version 3 of the License, or (at
your option) any later version.

or

- the GNU General Public License as published by the Free
Software Foundation; either version 2 of the License, or (at
your option) any later version.

or both in parallel, as here.

KSBA is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
License for more details.

The other parts (e.g. manual, build system, tests) are distributed
under the following terms (GPLv3):

| KSBA is free software; you can redistribute it and/or modify
| it under the terms of the GNU General Public License as published by
| the Free Software Foundation; either version 3 of the License, or
| (at your option) any later version.
|
| KSBA is distributed in the hope that it will be useful,
| but WITHOUT ANY WARRANTY; without even the implied warranty of
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
| GNU General Public License for more details.
KSBA is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.

KSBA is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

The ASN.1 definition for CMS is based on a specification published
under the following terms (see src/cms.asn):

| Copyright (C) The Internet Society (1999). All Rights Reserved.
|
| This document and translations of it may be copied and furnished to
| others, and derivative works that comment on or otherwise explain it
| or assist in its implementation may be prepared, copied, published
| and distributed, in whole or in part, without restriction of any
| kind, provided that the above copyright notice and this paragraph are
| included on all such copies and derivative works. However, this
| document itself may not be modified in any way, such as by removing
| the copyright notice or references to the Internet Society or other
| Internet organizations, except as needed for the purpose of
| developing Internet standards in which case the procedures for
| copyrights defined in the Internet Standards process must be
| followed, or as required to translate it into languages other than
| English.
|
| The limited permissions granted above are perpetual and will not be
| revoked by the Internet Society or its successors or assigns.
|
| This document and the information contained herein is provided on an
| "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
| TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
| BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
| HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
| MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Copyright (C) The Internet Society (1999). All Rights Reserved.

This document and translations of it may be copied and furnished to
others, and derivative works that comment on or otherwise explain it
or assist in its implementation may be prepared, copied, published
and distributed, in whole or in part, without restriction of any
kind, provided that the above copyright notice and this paragraph are
included on all such copies and derivative works. However, this
document itself may not be modified in any way, such as by removing
the copyright notice or references to the Internet Society or other
Internet organizations, except as needed for the purpose of
developing Internet standards in which case the procedures for
copyrights defined in the Internet Standards process must be
followed, or as required to translate it into languages other than
English.

The limited permissions granted above are perpetual and will not be
revoked by the Internet Society or its successors or assigns.

This document and the information contained herein is provided on an
"AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
227 changes: 227 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,230 @@
2024-02-23 Werner Koch <[email protected]>

Release 1.6.6.
+ commit 3a4382259c3c6e7ef38cd33626fe2c1da282f816


2024-02-14 Jakub Jelen <[email protected]>

der-builder: Fix possible uninitialized variable.
+ commit 75e94db38ccd9ed166b40fb2d8aaed7c094cff69
* src/der-builder.c (_ksba_der_builder_get): Initialize ERR.

2023-11-16 Werner Koch <[email protected]>

Release 1.6.5.
+ commit 7b3e4785e54280d1a13c5bc839bdc6722d898ac7


2023-11-14 Werner Koch <[email protected]>

Add Brainpool curve detection using parameters with compressed BP.
+ commit eb23f853f178f8d381254e2cb03c0ebff57828d6
* src/keyinfo.c (ecdomainparm_to_name): Add variants for Brainpool.

2023-11-01 NIIBE Yutaka <[email protected]>

build: Remove HAVE_W32CE_SYSTEM.
+ commit bce1c52b260da063c6198fe270cd46baf1368d9e
* configure.ac (HAVE_W32CE_SYSTEM): Remove.

2023-09-01 NIIBE Yutaka <[email protected]>

build: Change the default for --with-libtool-modification.
+ commit 2c4551c0c405a736e1b3953b2a58ec5104c52083
* configure.ac (--with-libtool-modification): default=never.

2023-08-16 NIIBE Yutaka <[email protected]>

build: New configure option --with-libtool-modification.
+ commit e0a46b490926879b5519e2e8dfb97226ec024817
* Makefile.am (EXTRA_DIST): Add build-aux/libtool-patch.sed.
* build-aux/libtool-patch.sed: New.
* configure.ac (--with-libtool-modification): New.
* build-aux/ltmain.sh: Revert our own local modification.

2023-06-19 Werner Koch <[email protected]>

Release 1.6.4.
+ commit 557999424ebd13e70d6fc17e648a5dd2a06f440b


Correctly detect write errors while creating CMS objects.
+ commit 9ced7706f2738128aa5068727ea348c44f42e16e
* src/cms.c (write_encrypted_cont): Take care of write errors.

2023-05-16 NIIBE Yutaka <[email protected]>

build: Sync libtool from libgpg-error for 64-bit Windows.
+ commit a920c2ff1a723031e8c6b8b61632bad46a740c83
* build-aux/ltmain.hs: Update from libgpg-error.

2023-05-12 NIIBE Yutaka <[email protected]>

tests: Use -no-fast-install LDFLAGS for Windows.
+ commit 74fb95dbaf70d97b67793b29497b1e7b29a5e2f1
* tests/Makefile.am [HAVE_W32_SYSTEM] (AM_LDFLAGS): Conditionalize.

2023-04-05 NIIBE Yutaka <[email protected]>

build: Update gpg-error.m4.
+ commit 53b9fa1d58ba522ca0eea4fe460719722e6e1ef5
* m4/gpg-error.m4: Update from libgpg-error master.

2022-12-06 Werner Koch <[email protected]>

Release 1.6.3.
+ commit bffa9b346071725363a483db547e7dced9721cb5


2022-11-23 Werner Koch <[email protected]>

Fix an integer overflow in the CRL signature parser.
+ commit f61a5ea4e0f6a80fd4b28ef0174bee77793cf070
* src/crl.c (parse_signature): N+N2 now checked for overflow.

* src/ocsp.c (parse_response_extensions): Do not accept too large
values.
(parse_single_extensions): Ditto.

2022-11-02 NIIBE Yutaka <[email protected]>

build: Update m4/libgcrypt.m4.
+ commit 4076b60f7cef4fddc3d30f6e6d4078081dbc7167
* m4/libgcrypt.m4: Update from libgcrypt master.

2022-11-01 NIIBE Yutaka <[email protected]>

build: Prefer gpgrt-config when available.
+ commit 13307b22882a220d206341e1196e74fd37418c2f
* src/ksba.m4: Overriding the decision by --with-libksba-prefix, use
gpgrt-config ksba when gpgrt-config is available.

2022-10-24 NIIBE Yutaka <[email protected]>

build: Update gpg-error.m4.
+ commit c3c1627f34234e3d54fe1f3411ac499dd7e3b3b0
* m4/gpg-error.m4: Update from libgpg-error 1.46.

2022-10-07 Werner Koch <[email protected]>

Release 1.6.2.
+ commit 29814959fe2b65c6d4ac35dea261006a8cad3661


2022-10-05 Werner Koch <[email protected]>

Detect a possible overflow directly in the TLV parser.
+ commit 4b7d9cd4a018898d7714ce06f3faf2626c14582b
* src/ber-help.c (_ksba_ber_read_tl): Check for overflow of a commonly
used sum.

2022-09-16 Werner Koch <[email protected]>

Release 1.6.1.
+ commit d3c1e063d708a46ef39152256f8b1ea466b61be0


2022-07-19 NIIBE Yutaka <[email protected]>

build: Update config.guess and config.sub.
+ commit 466837db84fb318eaaee1aba6cc3939c16a3e2ba
* build-aux/config.guess: Update from upstream.
* build-aux/config.sub: Ditto.

build: Support cross compile.
+ commit ca9a04569020c51719ab45ebd35a3cbb1f35c6aa
* configure.ac (AX_CC_FOR_BUILD): New.
* m4/ax_cc_for_build.m4: New.
* src/Makefile.am: Use EXEEXT_FOR_BUILD.

2022-06-28 NIIBE Yutaka <[email protected]>

build: Update gpg-error.m4.
+ commit e51d5c7ce81fe3f90039ad970fbb82f751a645fc
* m4/gpg-error.m4: Update from libgpg-error.

2022-03-31 NIIBE Yutaka <[email protected]>

build: When no gpg-error-config, not install ksba-config.
+ commit 41000330cdba87afdf9ea0b481e0260dab262a54
* configure.ac (USE_GPGRT_CONFIG): New.
* src/Makefile.am [USE_GPGRT_CONFIG]: Conditionalize the install
of ksba-config.

2022-03-22 NIIBE Yutaka <[email protected]>

Fix test of t-cms-parser.
+ commit e751d1fa01bd3e593eeccbeffb729176a59ca28c
* tests/t-cms-parser.c (one_file): Open the file with binary flag.

2022-02-26 Werner Koch <[email protected]>

ocsp: Accept a server not responding with a nonce.
+ commit 24992a4a7a61d93759e1dbd104b845903d4589bf
* src/ocsp.h (struct ksba_ocsp_s): Remove good_nonce.
* src/ocsp.c (parse_response_extensions): No not set good_nonce.
(ksba_ocsp_parse_response): Simplify the check.

ocsp: Fix detecting the right response item.
+ commit c9cde18bc84a1b3bb7de22ca80264c418ffd0fee
* src/ocsp.c (ksba_ocsp_prepare_request): Store the value of the
integer.

2021-12-22 NIIBE Yutaka <[email protected]>

build: Update for newer autoconf.
+ commit 51b565054096926dc97fc2ebb72c7de05a127dff
* configure.ac (AC_PREREQ): Require >= 2.69.
(AC_HEADER_STDC): Remove.

2021-11-29 NIIBE Yutaka <[email protected]>

Silence warning for ksba_isotime_t.
+ commit 64ef3144abee7afbc93a87e960b9a79c7b43cfca
* src/time.c (_ksba_current_time): Let it return the result.

Fix ksba.pc to use HTTPS for the URL.
+ commit 4898212c705a49da0384ac8f1b44f2d6592a990e
* src/ksba.pc.in: Use https.

2021-11-10 NIIBE Yutaka <[email protected]>

libtool: Link without -flat_namespace for macOS.
+ commit 0d7a62c355ea18031daf00490da9f7c9f33683c3
* m4/libtool.m4: Not setting 10.0 to MACOSX_DEPLOYMENT_TARGET when not
defined. Only specify -flat_namespace to linker for specific
(older) versions and hosts.

2021-10-13 NIIBE Yutaka <[email protected]>

ASN.1 parser: Provide token table (no more %token-table).
+ commit f3b7dd4167779f2694e932ad7c2adba98ff9a21d
* src/asn1-parse.y (%token-table): Remove.
(token_table): New.
(yylex): Use token_table.

2021-09-22 Andreas Metzler <[email protected]>

build: Use automake primitives to install libksba.def.
+ commit ce1de8cb2bcd712381f77519de4da87af42879a4
* src/Makekefile.am: Do not use explicit $INSTALL to install
libksba.def, fixes windows parallel build error.

2021-08-18 Werner Koch <[email protected]>

Avoid warnings about NULL ptr deref in ASN.1 helpers.
+ commit c242f31b6d520a7f87bf36782e4b5c8da7dc045d
* src/asn1-func.c (_ksba_asn_set_value): Add extra asserts. Fix the
VALTYPE_BOOL case, which is actually not in Libksba.

2021-08-05 NIIBE Yutaka <[email protected]>

build: Simplify configure.ac.
+ commit 379e787a965148fa5613ccd4e2b8c3c00feb45d9
* configure.ac (AC_CHECK_HEADERS): Remove string.h.
(AC_CHECK_FUNCS): Remove memmove, strchr, strtol and strtoul.

2021-06-10 Werner Koch <[email protected]>

Release 1.6.0.
Expand Down
Loading

0 comments on commit 146e375

Please sign in to comment.