summaryrefslogtreecommitdiff
path: root/src/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* Replace FSF snail mail addresses with URLStefan Kangas2022-12-271-2/+1
| | | | | | | This is the latest recommendation, as described here: https://www.gnu.org/licenses/gpl-howto.html Signed-off-by: Stefan Kangas <stefankangas@gmail.com>
* cligen: update git submoduleDaiki Ueno2022-04-151-3/+3
| | | | | | | This also reverts commit fd0e28a3 and changes how the cligen python files are included in the distribution. Signed-off-by: Daiki Ueno <ueno@gnu.org>
* Make option specification type-safeDaiki Ueno2022-03-101-9/+15
| | | | | | | This switches the CLI code and documentation generation to the external cligen module, which provides more type-safe specification. Signed-off-by: Daiki Ueno <ueno@gnu.org>
* src: avoid overriding noinst_PROGRAMSDaiki Ueno2022-01-161-4/+3
| | | | | | In src, we now have two helper programs: systemkey and dumpcfg. Signed-off-by: Daiki Ueno <ueno@gnu.org>
* src: replace autoopts/libopts with minimal config parserDaiki Ueno2022-01-151-15/+19
| | | | | | | This replaces configuration file parsing code previously provided by <autoopts/options.h>, with a minimal compatible implementation. Signed-off-by: Daiki Ueno <ueno@gnu.org>
* src: generate option handling code from JSONDaiki Ueno2022-01-141-167/+86
| | | | | | | | | This replaces AutoGen based command-line parser with a Python script (gen-getopt.py), which takes JSON description as the input. The included JSON files were converted one-off using the parse-autogen program: https://gitlab.com/dueno/parse-autogen. Signed-off-by: Daiki Ueno <ueno@gnu.org>
* Port openconnect TPM2 codeNikos Mavrogiannopoulos2021-11-131-0/+4
| | | | | | | | | | This introduces transparent loading of TPM2 keys which are in PEM form by gnutls_privkey_import_x509_raw() and higher level functions which wrap it. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> Co-authored-by: David Woodhouse <dwmw2@infradead.org> Co-authored-by: Daiki Ueno <ueno@gnu.org>
* serv: replace our own list implementation with Gnulib's gl_listDaiki Ueno2020-10-181-1/+1
| | | | Signed-off-by: Daiki Ueno <ueno@gnu.org>
* cli: support building with OCSP and ANON disabledDmitry Eremin-Solenikov2019-12-291-10/+5
| | | | | | | Support gnutls-cli when building GnuTLS with OCSP and ANON authentication API disabled. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
* serv: support building with OCSP disabledDmitry Eremin-Solenikov2019-12-291-2/+5
| | | | | | Support gnutls-serv when building GnuTLS with OCSP API disabled. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
* gnutls-cli: benchmark-tls-kx can work with sub-ms accuracyNikos Mavrogiannopoulos2019-12-201-1/+1
| | | | | | | | | This allows micro and nanoseconds to be reported if necessary, and it changes reporting of sample variance to standard deviation giving a possibly better overview as it is in the same units as the average. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* p11tool: print mechanism info in list-mechanismsDmitry Eremin-Solenikov2019-10-091-0/+1
| | | | | | Print key size range and flags in mechanisms list. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
* src/Makefile.am: fix detection of .bak filesNikos Mavrogiannopoulos2019-08-051-6/+5
| | | | | | | | | This fixes detection in a way to work in builds outside the source directory. Resolves: #810 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* Do not regenerate autogen files if --enable-local-libopts is giventmp-fix-liboptsNikos Mavrogiannopoulos2019-05-291-0/+18
| | | | | | | | | | | | This addresses issue on installed systems which have autogen but use --enable-local-libopts. In these systems if the installed autogen would not match the local libopts library version compilation would fail because the auto-generated files depend on the corresponding to autogen version libopts internals. Resolves: #772 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* build: do not generate mech-list.h if p11-kit is not availableDmitry Eremin-Solenikov2019-02-021-2/+3
| | | | | | | | | Compiling GnuTLS with no p11-kit installed will result in a serie of warnings during build time because mech-list.h will be generated even if pkcs11 tool compilation is disabled. Move mech-list.h generation to happen only if pkcs11 is enabled, thus removing these warnings. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
* src/Makefile.am: remove .bak files before autogeneratingNikos Mavrogiannopoulos2019-01-251-0/+2
| | | | | | | This avoids errors due to files pre-existing but not being writable. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* Revert "build: remove src/*.bak from distribution"tmp-autogen-bak-revertDaiki Ueno2019-01-081-12/+36
| | | | | | | This reverts commit 9ba397aa841730e4824d2bf8537aa15e711ad9b3, as it turned out to be not practical. See !862 for the discussion. Signed-off-by: Daiki Ueno <dueno@redhat.com>
* build: remove src/*.bak from distributionTim Rühsen2018-12-121-31/+12
| | | | | | | | | | | | | Instead, include the autogen-generated *.c, *.h and the stamp files in the distribution. To prevent the bundled files being linked with incompatible autogen libopts, this adds an extra check in configure. If the detected system libopts version is too old, it will use the included libopts implementation. Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de> Signed-off-by: Daiki Ueno <dueno@redhat.com>
* build: fix srcdir detection when VPATH buildDaiki Ueno2018-11-241-7/+3
| | | | | | | Unlike the ".c.c.bak:" and ".h.h.bak:" rules, ".def.stamp:" needs this adjustment because the source files (*.bak) are not provided as $<. Signed-off-by: Daiki Ueno <dueno@redhat.com>
* build: minor cleanup of mech-list.h generationtmp-autogen-bakDaiki Ueno2018-11-131-5/+1
| | | | Signed-off-by: Daiki Ueno <dueno@redhat.com>
* build: remove autogen .bak files from the repositoryDaiki Ueno2018-11-131-0/+2
| | | | | | | | | | While the .bak files are necessary for not requiring autogen on deployment environment, they are not needed for development and may cause conflict when other developers use different version of autogen. This removes those files from the repository and require autogen at make dist time. Signed-off-by: Daiki Ueno <dueno@redhat.com>
* build: use suffix rules for generating .bak filesDaiki Ueno2018-11-131-48/+34
| | | | Signed-off-by: Daiki Ueno <dueno@redhat.com>
* src: include .bak files in EXTRA_DISTDmitry Eremin-Solenikov2018-11-101-8/+28
| | | | | | | | Including .bak files in EXTRA_DIST allows us to stop hand-generating these files in distribution. Instead they are directly copied from the source tree. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
* src: update .bak files during -args.c/.h regenerationDmitry Eremin-Solenikov2018-11-101-13/+15
| | | | | | | To ease updating of .bak files, update them when regenerating Autogen'erated source files. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
* src: mark autogen'ed sources as nodist_Dmitry Eremin-Solenikov2018-11-101-11/+22
| | | | | | | Mark autogenerated sources as not distributable. We are distributing .bak files instead. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
* src: args-std.def: substitute variables using configureDmitry Eremin-Solenikov2018-11-101-12/+12
| | | | | | | | | Use standard way (configure script) to substiture variables in args-std.def file, instead of manually replacing them in dist-hook. Fixes #567 Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
* src: fix regenerating autogen files if builddir = srcdirDmitry Eremin-Solenikov2018-06-271-1/+7
| | | | Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
* Makefile.am: move autogen files update to src/Makefile.amDmitry Eremin-Solenikov2018-06-191-0/+8
| | | | | | | Move autogen'ed files update to src/Makefile.am to simplify code and support out-of-tree builds. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
* Add DISTCLEANFILES to src/Makefile.am to fix 'make distcheck'Tim Rühsen2018-06-141-0/+5
| | | | Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
* p11tool: auto-generate the list of PKCS#11 mechanisms from p11-kitNikos Mavrogiannopoulos2017-08-041-4/+9
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* ocsptool: added --load-chain optionNikos Mavrogiannopoulos2017-06-191-1/+1
| | | | | | | This option allows to directly verify all the members of a certificate chain. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* Do not add cli-args.h to cli-args.stamp Makefile targetAlexander Kanavin2016-12-161-1/+1
| | | | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
* src: clean all stamp files on 'make clean'Nikos Mavrogiannopoulos2016-12-051-0/+3
|
* tools: use stamp files to allow parallel build of autogen filesNikos Mavrogiannopoulos2016-11-291-22/+53
| | | | | | | Autogen seems to output on the creates files gradually, something that makes 'make' believe that the command is complete prior to the output file being fully populated. The current approach uses stamp files to ensure that no incomplete files are used for compilation.
* tools: Use correct include dir with minitasnJussi Kukkonen2016-08-311-0/+1
| | | | This allows compiling certtool without libtasn headers.
* tools: TLS handling has been incorporated into socket_open()Nikos Mavrogiannopoulos2016-07-261-2/+1
| | | | | | This is of particular usage to the server IP address loop, since we can detect fast open errors and retry handshake to the next IP address.
* certtool: added the ability to encode arbitrary extensionsNikos Mavrogiannopoulos2016-07-141-9/+16
| | | | | That is, added the ability to encode as an octet string any specified extension data.
* crywrap: was removed from gnutls toolsNikos Mavrogiannopoulos2016-04-091-4/+0
| | | | | | | Its inclusion did not increase the attention paid to this tool, not provided any significant advantage to gnutls' users thus it was unbundled from the main library. The tool can be found at https://github.com/nmav/crywrap
* src: added systemkey-args to BUILT_SOURCESNikos Mavrogiannopoulos2016-02-181-1/+1
|
* certtool: the --generate-dh-params option can be combined with --provableNikos Mavrogiannopoulos2016-02-111-1/+1
| | | | | | | This however, will generate provable DSA parameters and import them as DH parameters. Resolves #72
* build: fix make distclean by including src/gl only onceNikos Mavrogiannopoulos2015-12-151-1/+2
|
* tools: don't compile tpmtool if PKCS11 is disabledNikos Mavrogiannopoulos2015-12-011-3/+5
| | | | That is because GnuTLS' TPM code makes use of the PKCS11 PIN callbacks.
* libopts: fixed the reading of the --enable-local-libopts flagNikos Mavrogiannopoulos2015-04-201-7/+8
|
* danetool: only compile when dane is enabledNikos Mavrogiannopoulos2015-01-061-0/+2
|
* completely separated the two gnulibs to avoid conflictsNikos Mavrogiannopoulos2014-12-231-2/+0
|
* renamed systemkey-tool to systemkey, and don't install it by defaultNikos Mavrogiannopoulos2014-11-231-5/+5
|
* Added API to read/write/delete key-cert pairs (limited to windows for now)Nikos Mavrogiannopoulos2014-11-191-0/+17
|
* tools: use idna_to_ascii_8z() to convert internationalized hostnamesNikos Mavrogiannopoulos2014-08-231-5/+5
|
* danetool: if the certificate to verify against is not provide it try to ↵Nikos Mavrogiannopoulos2014-08-081-1/+1
| | | | obtain it
* Do not run autogen twice to generate the header files.Nikos Mavrogiannopoulos2014-05-061-9/+19
|