Commit graph

84 commits

Author SHA1 Message Date
rfm
7965acc27b Make +atExit method honor the shoudl clean up setting 2024-11-19 18:10:07 +00:00
rfm
25505b2e67 Some more leak improvements 2024-11-14 14:45:05 +00:00
rfm
6667842dd5 Update FSF address as requested by Gregory 2024-11-07 13:37:59 +00:00
rfm
4233f6a9d6 fix dead assignments 2024-06-21 15:02:55 +01:00
rfm
ea1f5a0d12 Fix dead initialisations 2024-06-21 12:23:52 +01:00
rfm
0db43469c2 Fuylly specify argument type 2023-10-30 13:58:23 +00:00
Richard Frith-Macdonald
d5d8a71c79 Allow certificate based rejection of DO connection attempts. 2022-11-21 10:40:33 +00:00
Richard Frith-Macdonald
78642305c6 Fix for occasional hang 2022-11-07 10:03:16 +00:00
Richard Frith-Macdonald
09a9a8fe5b Honor SSL_CERT_FILE environment vartiable 2022-10-20 10:24:42 +01:00
Richard Frith-Macdonald
6837924e60 Provde more informative debug output when TLS handshake fails 2022-02-17 09:05:49 +00:00
Richard Frith-Macdonald
a89dc604dd Fix minor debug logging error 2022-02-11 17:39:47 +00:00
Richard Frith-Macdonald
40de7fa39a Try to improve tls disconnect behavior where there are networking issues 2021-12-07 19:28:23 +00:00
Richard Frith-Macdonald
96ef94862f Add debug log for certificat request which is not for x509 2021-08-17 11:10:23 +01:00
Richard Frith-Macdonald
e34584e323 Encryption emprovements 2021-06-19 14:40:47 +01:00
Richard Frith-Macdonald
b252f4067a remove a couple of redundent lines 2021-06-18 10:02:48 +01:00
Richard Frith-Macdonald
dd3b6c3d7f fix typo in name 2021-06-17 16:22:31 +01:00
Richard Frith-Macdonald
e9d3ba8179 Improve debug logging ... use the I/O handle as the tag for debug logs so that they can more easily be matched to the object for which the I/O is taking place. 2021-06-03 14:54:16 +01:00
Richard Frith-Macdonald
e42d9fdc6b New code for secure (encrypted) inter-host distrinuted objects. 2021-05-31 13:19:42 +01:00
Richard Frith-Macdonald
713c7c0f7e Fix one character truncation of certificate name/issuer in debug output 2021-04-28 15:27:23 +01:00
Frederik Seiffert
0582eddd96 Export string constants and annotate exported function implementations
Moves scattered string constants to externs.m, and removes obsolete code replacing constant strings.
2021-03-27 17:36:15 +01:00
Riccardo Mottola
c9020acd4b suppress warning, compiler is confused by exception handler 2021-03-18 23:06:54 +01:00
Richard Frith-Macdonald
a93eab8549 fix typos in comments and remove leftover debug line 2021-02-15 19:58:30 +00:00
Richard Frith-Macdonald
b45feeb8d7 Fixes for SSL/TLS support using GNUTLS under MinGW. Use send/recv
rather than read/write in TLS push/pull functions (works with winsock
and unix) and perform mappings between winsock error codes and
unix/gnutls error codes so that we correctly repeat operations whe they
fail in non-blockign mode.
2021-02-13 11:08:06 +00:00
Richard Frith-Macdonald
1b7bf26bea Merge changes for NSURLSession from EngageHub (formerly Brainstorm). 2020-11-29 06:57:47 -05:00
Richard Frith-Macdonald
4549f56bc6 refrain from putting password in cache key 2020-01-20 14:06:26 +00:00
Gregory John Casamento
753c907938 Fix address for FSF and License name in all headers in base 2019-12-09 18:36:00 -05:00
Wolfgang Lux
cc50c639ae Fall back to a sane default if the TLS priority setting is invalid. 2019-10-29 10:14:35 +01:00
Richard Frith-Macdonald
99c080a3ee Fix bg in security setting exposed by earlier fix. 2019-09-25 12:54:11 +01:00
Richard Frith-Macdonald
b3f5a3440d Bugfix for TLS server sessions 2019-09-21 09:42:27 +01:00
Richard Frith-Macdonald
6f3bd6ac97 Expose GNU TLS wrappers and add methods to get certificate expiry 2019-01-16 09:56:08 +00:00
Richard Frith-Macdonald
d144e29b48 Changes to updated cached server connections at five minute intervals 2019-01-03 09:58:02 +00:00
Richard Frith-Macdonald
1e4a2d7587 certificate authentication fixes 2018-08-24 13:18:27 +01:00
Richard Frith-Macdonald
cb0ea3fb6d TLS tweaks for client certificate 2018-08-13 16:34:00 +01:00
Richard Frith-Macdonald
ed286536e2 Add GSTLSServerName option 2018-05-18 20:26:35 +01:00
Richard Frith-Macdonald
9968a13711 temporarily ifdef out some code thast's not yet used 2018-02-07 11:36:59 +00:00
Richard Frith-MacDonald
a5a2e85423 improve debug log
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40510 72102866-910b-0410-8b05-ffd578937521
2017-05-19 16:20:17 +00:00
Richard Frith-MacDonald
9400f9105d Make TLS client certificate issuer/owner names available
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40508 72102866-910b-0410-8b05-ffd578937521
2017-05-19 11:38:48 +00:00
Richard Frith-MacDonald
6b68c9a1ca gnutls memory management fixup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40148 72102866-910b-0410-8b05-ffd578937521
2016-10-14 07:57:57 +00:00
Niels Grewe
f9540e172e Improve support for loading encrypted private keys
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40139 72102866-910b-0410-8b05-ffd578937521
2016-10-11 11:59:04 +00:00
Niels Grewe
e6cef4a7f9 Fix a problem removing certificate data mapped to file names.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40085 72102866-910b-0410-8b05-ffd578937521
2016-09-16 07:56:48 +00:00
Richard Frith-MacDonald
4a3058fd5b omit some diagnostic on older versions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40069 72102866-910b-0410-8b05-ffd578937521
2016-09-05 09:57:02 +00:00
Richard Frith-MacDonald
efdf2a674f improve certificate debug output
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40068 72102866-910b-0410-8b05-ffd578937521
2016-09-02 08:56:09 +00:00
Richard Frith-MacDonald
e5f00ce4cc Add diagnostic code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40067 72102866-910b-0410-8b05-ffd578937521
2016-09-02 07:59:08 +00:00
Richard Frith-MacDonald
62d2bcbabc changes for use of _WIN32 define on windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39492 72102866-910b-0410-8b05-ffd578937521
2016-03-09 13:16:16 +00:00
Richard Frith-MacDonald
7fa1961ad7 add gnustlsFileSystemRepresentation for mingw
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38965 72102866-910b-0410-8b05-ffd578937521
2015-09-02 17:23:07 +00:00
Niels Grewe
32a1484a7e Standardize paths when setting up a mapping between a data item
and a specific filesystem location (to make sure that it is retrieved
correctly by the TLS system).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38334 72102866-910b-0410-8b05-ffd578937521
2015-02-05 11:16:40 +00:00
Wolfgang Lux
401cdce4d2 Fixes to build again when tls is disabled
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38265 72102866-910b-0410-8b05-ffd578937521
2014-12-28 11:59:36 +00:00
Richard Frith-MacDonald
80642b790c better handling of removed user default values
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38162 72102866-910b-0410-8b05-ffd578937521
2014-11-05 15:31:19 +00:00
Richard Frith-MacDonald
1400bcefcf bugfix release
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38120 72102866-910b-0410-8b05-ffd578937521
2014-10-17 13:42:34 +00:00
Richard Frith-MacDonald
56465e049b TLS fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38015 72102866-910b-0410-8b05-ffd578937521
2014-07-25 12:06:34 +00:00