Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | buf: _gnutls_buffer_pop_data made easier to use | Nikos Mavrogiannopoulos | 2018-02-19 | 1 | -4/+3 |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | kx: moved to new buffer API | Nikos Mavrogiannopoulos | 2018-02-19 | 1 | -3/+0 |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | str: added _gnutls_buffer_pop_prefix24 and _gnutls_buffer_pop_prefix8 | Nikos Mavrogiannopoulos | 2018-02-19 | 1 | -0/+5 |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | str: allow creating a read-only buffer | Nikos Mavrogiannopoulos | 2018-02-19 | 1 | -0/+9 |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | str: rename _gnutls_buffer_pop_prefix to _gnutls_buffer_pop_prefix32 | Nikos Mavrogiannopoulos | 2018-02-19 | 1 | -4/+4 |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | str: rename _gnutls_buffer_pop_datum_prefix to _gnutls_buffer_pop_datum_prefix32 | Nikos Mavrogiannopoulos | 2018-02-19 | 1 | -3/+3 |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | str: added helper functions to read prefixed data with 8 or 16-bit headers | Nikos Mavrogiannopoulos | 2018-02-19 | 1 | -0/+11 |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | str: added function to append fixed-size MPI | Nikos Mavrogiannopoulos | 2018-02-19 | 1 | -0/+4 |
| | | | | | | | This is used in TLS 1.3 which introduces a new MPI over-the-wire format. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | server_name: several simplifications of the code base | Nikos Mavrogiannopoulos | 2017-07-21 | 1 | -0/+10 |
| | | | | | | | | | | | | | The existing code was written with the intention of supporting multiple server names, however that was never happened, and this extension is currently only used for DNS server names. Remove unneeded extensibility. In addition, removed conversion of client provided server name (DNS) to IDNA. Clients not providing valid names are violating the spec and that conversion step not only wastes resources, but increases the attack surface of a server. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | Removed unused functions | Nikos Mavrogiannopoulos | 2017-07-10 | 1 | -5/+0 |
| | | | | | | | These were identified using callcatcher. http://www.skynet.ie/~caolan/Packages/callcatcher.html Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | Added _gnutls_idna_email_reverse_map | Nikos Mavrogiannopoulos | 2017-02-28 | 1 | -0/+1 |
| | | | | | | | This allows printing the reverse map of an IDNA-encoded email. Modified x509/output to include this decoding for RFC822Name. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | x509/output: print the public key PIN of a certificate | Nikos Mavrogiannopoulos | 2017-02-23 | 1 | -0/+2 |
| | | | | | | | That is, print the value used by the HPKP protocol as per RFC7469. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | Exported gnutls_idna_map() and gnutls_idna_reverse_map() | Nikos Mavrogiannopoulos | 2017-01-26 | 1 | -21/+0 |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> | ||||
* | Add support for libidn2 (IDNA 2008 + TR46) | Tim Rühsen | 2017-01-25 | 1 | -1/+1 |
| | | | | Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de> | ||||
* | str: do not call gnutls_assert in inline function | Nikos Mavrogiannopoulos | 2016-12-08 | 1 | -1/+2 |
| | | | | This allows the build to succeed when compiled without libidn. | ||||
* | introduced _gnutls_idna_reverse_map() | Nikos Mavrogiannopoulos | 2016-11-25 | 1 | -0/+2 |
| | | | | This function allows mapping ACE formatted domains to UTF-8. | ||||
* | When writing alternative names to certificates ensure we write in ACE format | Nikos Mavrogiannopoulos | 2016-11-25 | 1 | -0/+14 |
| | |||||
* | gnutls_idna_map was prefixed with underscore to avoid clashes with exported ↵tmp-mini-idna2003-update | Nikos Mavrogiannopoulos | 2016-11-23 | 1 | -3/+4 |
| | | | | symbols | ||||
* | IDNA code re-organization | Nikos Mavrogiannopoulos | 2016-11-23 | 1 | -0/+18 |
| | | | | | | That introduces the internal function gnutls_idna_map(), which utilizes libidn and libunistring to convert hostnames to IDNA ACE form. | ||||
* | unconditionally include unistring code | Nikos Mavrogiannopoulos | 2016-11-21 | 1 | -2/+1 |
| | | | | | | That simplifies internationalization support, at the cost of including a version of libunistring, which is used on systems which do not ship it. | ||||
* | tolerate non-valid UTF8 passwords when decrypting | Nikos Mavrogiannopoulos | 2016-11-20 | 1 | -3/+4 |
| | |||||
* | PKCS#7/8: normalize the password according to rfc7613 | Nikos Mavrogiannopoulos | 2016-11-20 | 1 | -0/+3 |
| | |||||
* | Added function for UTF-8 normalization based on RFC7613 | Nikos Mavrogiannopoulos | 2016-11-20 | 1 | -0/+4 |
| | | | | This introduces gnutls_utf8_password_normalize() and a dependency on libunistring. | ||||
* | several spacing fixes to keep syntax-check happy | Nikos Mavrogiannopoulos | 2016-09-11 | 1 | -59/+59 |
| | |||||
* | Removed the 'gnutls_' prefix from files to simplify file naming | Nikos Mavrogiannopoulos | 2015-08-23 | 1 | -0/+221 |