Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | certtool: increased buffer for reading from user | Nikos Mavrogiannopoulos | 2017-02-28 | 1 | -5/+6 |
| | | | | | | | | | This allows reading longer than 128-byte fields interactively. The new limit is 512-bytes. Relates #179 Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | certtool: store critical extensions even if no other extension are present | Nikos Mavrogiannopoulos | 2017-02-27 | 1 | -1/+2 |
| | | | | | | | That is, fix a bug which prevented critical extensions to be stored if no other free-form extensions were specified. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | gnutls-cli-debug: fixed protocol to port discovery | Nikos Mavrogiannopoulos | 2017-02-23 | 1 | -1/+2 |
| | | | | | | | That is, if --starttls-proto is provided the default port selected will be converted to host byte order as expected. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | certtool: don't warn when 'uri' is specified on template | Nikos Mavrogiannopoulos | 2017-02-23 | 1 | -0/+1 |
| | | | | | | | Reported at: https://bugzilla.redhat.com/show_bug.cgi?id=1425884 Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | Add LMTP, POP3, NNTP, Sieve and PostgreSQL support to gnutls-cli | Robert Scheck | 2017-02-20 | 4 | -3/+41 |
| | | | | | | Add LMTP (RFC 2033), POP3 (RFC 2595), NNTP (RFC 4642), Sieve (RFC 5804) and PostgreSQL support to gnutls-cli ("--starttls-proto"). Signed-off-by: Robert Scheck <robert@fedoraproject.org> | ||||
* | tools: depend on gnutls_idna_map() instead of using directly libidn/libidn2 | Nikos Mavrogiannopoulos | 2017-01-26 | 1 | -30/+10 |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> | ||||
* | Add support for libidn2 (IDNA 2008 + TR46) | Tim Rühsen | 2017-01-26 | 1 | -2/+23 |
| | | | | Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de> | ||||
* | p11tool: re-use ID from corresponding objects when writing certificates | Nikos Mavrogiannopoulos | 2017-01-25 | 1 | -3/+284 |
| | | | | | | | | | | | That is when writing a certificate which has a corresponding public key, or private key in the token, ensure that we use the same ID for the objects. That eases the work of someone writing objects to certificates, and does not require him to manually detect the object IDs. Resolves #160 Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | certtool: pkcs8_info_int: fix memory leak | Nikos Mavrogiannopoulos | 2017-01-02 | 1 | -5/+7 |
| | |||||
* | certtool: don't print PKCS#8 information when outputting DER data | Nikos Mavrogiannopoulos | 2017-01-02 | 1 | -2/+8 |
| | |||||
* | certtool: improved error reporting on file error | Nikos Mavrogiannopoulos | 2016-12-31 | 1 | -2/+2 |
| | |||||
* | certtool: properly report unencrypted PKCS#8 keys in --p8-info | Nikos Mavrogiannopoulos | 2016-12-30 | 1 | -0/+4 |
| | |||||
* | Do not add cli-args.h to cli-args.stamp Makefile targettmp-src-fix-3.5.x | Alexander Kanavin | 2016-12-15 | 1 | -1/+1 |
| | | | | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||||
* | doc: updated to documentation of certtool [ci skip] | Nikos Mavrogiannopoulos | 2016-12-09 | 1 | -5/+5 |
| | | | | This corrects options which incorrectly mentioned they support URLs. | ||||
* | Added autogen pre-generated files into repository | Nikos Mavrogiannopoulos | 2016-12-08 | 22 | -0/+23394 |
| | | | | | This allows building gnutls from git in systems without using autogen. | ||||
* | Don't trash DER CRQ output with text data | Dmitry Eremin-Solenikov | 2016-12-07 | 1 | -2/+2 |
| | | | | Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | ||||
* | src: clean all stamp files on 'make clean' | Nikos Mavrogiannopoulos | 2016-12-05 | 1 | -0/+3 |
| | |||||
* | src gl: updatedtmp-remove-iconv | Nikos Mavrogiannopoulos | 2016-12-04 | 233 | -1656/+5456 |
| | |||||
* | certtool: prevent-null termination of buffers allocated with fread_file() | Nikos Mavrogiannopoulos | 2016-12-01 | 1 | -5/+0 |
| | | | | | We do not know whether their allocated size allows for that additional null, and we do not need the null termination. | ||||
* | tools: use stamp files to allow parallel build of autogen files | Nikos Mavrogiannopoulos | 2016-11-29 | 1 | -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. | ||||
* | certtool: One if check is enough | Andreas Schneider | 2016-11-24 | 1 | -6/+4 |
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> | ||||
* | Print a key's or certificate's key ID with SHA256 in addition to SHA1 | Nikos Mavrogiannopoulos | 2016-11-22 | 1 | -4/+14 |
| | |||||
* | certtool: address compiler warnings | Nikos Mavrogiannopoulos | 2016-11-22 | 1 | -1/+1 |
| | |||||
* | certtool: use the new APIs for DN extraction | Nikos Mavrogiannopoulos | 2016-11-14 | 1 | -35/+31 |
| | |||||
* | tools: added explicit socket flag to skip TLS initializationtmp-tools-update | Nikos Mavrogiannopoulos | 2016-11-13 | 3 | -7/+10 |
| | | | | | This allows proper error recovery when SOCKET_FLAG_RAW is specified and initialize_session() fails. | ||||
* | gnutls-cli-debug: terminate sessions which cannot be re-used | Nikos Mavrogiannopoulos | 2016-11-13 | 3 | -6/+6 |
| | |||||
* | sockets: only use gnutls_bye on a valid socket session | Nikos Mavrogiannopoulos | 2016-11-13 | 1 | -1/+2 |
| | |||||
* | p11tool: --initialize will no longer reset user PIN | Nikos Mavrogiannopoulos | 2016-11-13 | 1 | -23/+1 |
| | | | | | | | That is because it only resetted the user PIN and not the admin PIN, while at the same time it had problems to cope with the case where the URL changed between token initialization and PIN setting (which is the case if --label is provided to --initialize). | ||||
* | p11tool: added options to initialize a user and admin's PIN | Nikos Mavrogiannopoulos | 2016-11-13 | 4 | -3/+70 |
| | |||||
* | Fix autoconf warnings in libopts.m4 | Dmitry Eremin-Solenikov | 2016-10-27 | 1 | -12/+12 |
| | | | | | | | | | | | | | | | | | | | | Without this patch Autoconf will spam console with the following kind of messages: configure.ac:650: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2740: _AC_RUN_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2759: AC_RUN_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from... src/libopts/m4/libopts.m4:386: LIBOPTS_RUN_FOPEN_TEXT is expanded from... src/libopts/m4/libopts.m4:425: INVOKE_LIBOPTS_MACROS is expanded from... src/libopts/m4/libopts.m4:560: AM_COND_IF is expanded from... src/libopts/m4/libopts.m4:581: LIBOPTS_CHECK is expanded from... configure.ac:650: the top level Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | ||||
* | gnutls-cli-debug: corrected TLS1.2 detection | Nikos Mavrogiannopoulos | 2016-10-25 | 1 | -1/+1 |
| | |||||
* | certtool: allow setting key purposes for non-CA certificates | Nikos Mavrogiannopoulos | 2016-10-18 | 1 | -66/+69 |
| | | | | | | That is, allow setting code signing, or time stamping key purpose in certificates that are not marked as CA. The previous restriction served no purpose. | ||||
* | certtool: introduce key purpose checks in p7 direct verification | Nikos Mavrogiannopoulos | 2016-10-18 | 1 | -2/+9 |
| | |||||
* | gnutls-serv: use the included known DH parameters by defaulttmp-dh-params-ffdhe | Nikos Mavrogiannopoulos | 2016-10-17 | 1 | -41/+30 |
| | |||||
* | certtool: manpage update | Nikos Mavrogiannopoulos | 2016-10-14 | 1 | -3/+7 |
| | |||||
* | certtool: --get-dh-params will output the FFDHE primes instead of the SRP primes | Nikos Mavrogiannopoulos | 2016-10-14 | 1 | -2/+30 |
| | |||||
* | certtool: --p7-info will include the PKCS#7 encoded data in PEM format | Nikos Mavrogiannopoulos | 2016-10-14 | 1 | -1/+12 |
| | |||||
* | certtool: improve text on missing options for cert generation | Nikos Mavrogiannopoulos | 2016-10-14 | 1 | -1/+5 |
| | |||||
* | Revert "certtool: improve text on missing options for cert generation" | Nikos Mavrogiannopoulos | 2016-10-14 | 1 | -5/+1 |
| | | | | This reverts commit 7daed1fd0602bce7495d252f1a9b638fc41e38d3. | ||||
* | certtool: improve text on missing options for cert generation | Nikos Mavrogiannopoulos | 2016-10-13 | 1 | -1/+5 |
| | |||||
* | tools: removed redudant messages on PIN re-use | Nikos Mavrogiannopoulos | 2016-10-13 | 1 | -3/+5 |
| | |||||
* | p11tool: avoid asking the security officer PIN twice on initialization | Nikos Mavrogiannopoulos | 2016-10-13 | 1 | -0/+3 |
| | |||||
* | p11tool: improved messages on token initialization | Nikos Mavrogiannopoulos | 2016-10-13 | 1 | -7/+15 |
| | |||||
* | p11tool: corrected check of PIN existance in token initialization | Nikos Mavrogiannopoulos | 2016-10-13 | 1 | -2/+2 |
| | |||||
* | serv: set a timeout value in handshake | Nikos Mavrogiannopoulos | 2016-10-13 | 1 | -0/+3 |
| | |||||
* | certtool: corrected use of gnutls_pkcs7_get_embedded_data() | Nikos Mavrogiannopoulos | 2016-10-11 | 1 | -28/+10 |
| | |||||
* | certtool: print the enacapsulated content OID on verification | Nikos Mavrogiannopoulos | 2016-10-11 | 1 | -1/+3 |
| | |||||
* | certtool: --p7-info can be combined with --p7-show-data to display embedded data | Nikos Mavrogiannopoulos | 2016-10-11 | 2 | -18/+37 |
| | |||||
* | certtool: lift any limits in print_raw() | Nikos Mavrogiannopoulos | 2016-10-07 | 1 | -6/+5 |
| | |||||
* | certtool: added safety net when generating a certificate request | Nikos Mavrogiannopoulos | 2016-10-07 | 1 | -1/+5 |
| | | | | | | That is, do not allow specifying --generate-request --load-pubkey without specifying --load-privkey. Previously if --load-pubkey would have been used, it would have been ignored, causing confusion to the users. |