aboutsummaryrefslogtreecommitdiff
path: root/kerberos5/include
Commit message (Collapse)AuthorAgeFilesLines
* kerberos: Fix numerous segfaults when using weak cryptoCy Schubert2024-01-182-0/+8
| | | | | | | | | | | | | | | | | | | | Weak crypto is provided by the openssl legacy provider which is not load by default. Load the legacy providers as needed. When the legacy provider is loaded into the default context the default provider will no longer be automatically loaded. Without the default provider the various kerberos applicaions and functions will abort(). This is the second attempt at this patch. Instead of linking secure/lib/libcrypto at build time we now link it at runtime, avoiding buildworld failures under Linux and MacOS. This is because TARGET_ENDIANNESS is undefined at pre-build time. PR: 272835 MFC after: 3 days X-MFC: only to stable/14 Tested by: netchild Joerg Pulz <Joerg.Pulz@frm2.tum.de> (previous version)
* Revert "kerberos: Fix numerous segfaults when using weak crypto"Cy Schubert2024-01-122-8/+0
| | | | | | | | | | | | | | | | This revision breaks Linux and MacOS cross builds because TARGET_ENDIANNESS is not define during bootstrapping on these platforms. I think the correct approach would be to separate the new fbsd_ossl_provider_load() and unload functions into their own library (instead of libroken). This avoids the less desirable option of including bsd.cpu.mk in secure/lib/Makefile.common, which does build but could complicate future work. Reported by: jrtc27 This reverts commit cb350ba7bf7ca7c4cb97ed2c20ab45af60382cfb.
* kerberos: Fix numerous segfaults when using weak cryptoCy Schubert2024-01-112-0/+8
| | | | | | | | | | | | | | Weak crypto is provided by the openssl legacy provider which is not load by default. Load the legacy providers as needed. When the legacy provider is loaded into the default context the default provider will no longer be automatically loaded. Without the default provider the various kerberos applicaions and functions will abort(). PR: 272835 MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D43009 Tested by: netchild, Joerg Pulz <Joerg.Pulz@frm2.tum.de>
* sccs: Manual changesWarner Losh2023-11-271-2/+1
| | | | | | | | | | | | | | | For the uncommon items: Go through the tree and remove sccs tags that didn't fit any nice pattern. If in the neighborhood, other SCM tags were removed when they were detritis of long-ago CVS somehow in the early mists of the project. Some adjacent copyrights stringswere removed (they duplicated the copyright notices in the file). This also removed non-standard formations of omission of SCCS tags (usually by adding an extra #if 0 somewhere. After this commit, a number of strings tagged with the 'what' @(#) prefix remain, but they are primarily copyright notices. Sponsored by: Netflix
* Remove $FreeBSD$: one-line .c comment patternWarner Losh2023-08-164-4/+0
| | | | Remove /^/[*/]\s*\$FreeBSD\$.*\n/
* kerberos5: retire now-unused MIPS supportEd Maste2022-11-021-1/+1
|
* Fix more -Wundef warnings during bootstrapAlex Richardson2020-10-141-1/+1
| | | | Notes: svn path=/head/; revision=366699
* Fix a noisy -Wundef warning when bootstrapping toolsAlex Richardson2020-09-101-1/+1
| | | | Notes: svn path=/head/; revision=365581
* Update the existing heimdal implementation for OpenSSL 1.1.John Baldwin2018-10-051-4/+0
| | | | | | | | | | | | | | | | | | | | Existing work is underway to import a newer version of heimdal, but this patchset gets us to a fully working tree to enable more wide spread testing of OpenSSL 1.1 for now. I've also enabled WARNS=1 for kerberos (which is the reason for the change in libroken). Having -Werror enabled was useful during the 1.1 updates and we probably should have warnings enabled by default for kerberos anyway. This passes make tinderbox, and I have also done some very light runtime testing on amd64. Reviewed by: bjk, jkim, emaste Differential Revision: https://reviews.freebsd.org/D17276 Notes: svn path=/projects/openssl111/; revision=339198
* - Update FreeBSD's Heimdal distribution to 1.5.2. This is a bugfixStanislav Sedov2012-04-082-5/+5
| | | | | | | release, which fixes a DoS issue in libkrb5. Notes: svn path=/head/; revision=234027
* - Update FreeBSD Heimdal distribution to version 1.5.1. This also bringsStanislav Sedov2012-03-224-75/+288
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | several new kerberos related libraries and applications to FreeBSD: o kgetcred(1) allows one to manually get a ticket for a particular service. o kf(1) securily forwards ticket to another host through an authenticated and encrypted stream. o kcc(1) is an umbrella program around klist(1), kswitch(1), kgetcred(1) and other user kerberos operations. klist and kswitch are just symlinks to kcc(1) now. o kswitch(1) allows you to easily switch between kerberos credentials if you're running KCM. o hxtool(1) is a certificate management tool to use with PKINIT. o string2key(1) maps a password into key. o kdigest(8) is a userland tool to access the KDC's digest interface. o kimpersonate(8) creates a "fake" ticket for a service. We also now install manpages for some lirbaries that were not installed before, libheimntlm and libhx509. - The new HEIMDAL version no longer supports Kerberos 4. All users are recommended to switch to Kerberos 5. - Weak ciphers are now disabled by default. To enable DES support (used by telnet(8)), use "allow_weak_crypto" option in krb5.conf. - libtelnet, pam_ksu and pam_krb5 are now compiled with error on warnings disabled due to the function they use (krb5_get_err_text(3)) being deprecated. I plan to work on this next. - Heimdal's KDC now require sqlite to operate. We use the bundled version and install it as libheimsqlite. If some other FreeBSD components will require it in the future we can rename it to libbsdsqlite and use for these components as well. - This is not a latest Heimdal version, the new one was released while I was working on the update. I will update it to 1.5.2 soon, as it fixes some important bugs and security issues. Notes: svn path=/head/; revision=233294
* Now we have closefrom().Xin LI2009-06-151-1/+1
| | | | Notes: svn path=/head/; revision=194272
* Add strndup(3) prototype to string.h.Konstantin Belousov2008-12-081-1/+1
| | | | | | | | | | | | | | This change was erronously ommitted from the r185690, and attempt to simply add the prototype to string.h has revealed that several contributed programs defined local prototypes for strndup(), controlled by autoconfed config.h. So, manually change #undef HAVE_STRNDUP to #define HAVE_STRNDUP 1. Next import of the corresponding program would regenerate config.h, overriding the changes in this commit. No objections from: kan Notes: svn path=/head/; revision=185777
* Update heimdal_version.Doug Rabson2008-05-081-2/+2
| | | | | | | Pointed out by: antoine@ Notes: svn path=/head/; revision=178847
* Fix conflicts after heimdal-1.1 import and add build infrastructure. ImportDoug Rabson2008-05-072-151/+232
| | | | | | | all non-style changes made by heimdal to our own libgssapi. Notes: svn path=/head/; revision=178828
* Update Heimdal 0.6.1 -> 0.6.3.Jacques Vidrine2005-02-242-5/+5
| | | | Notes: svn path=/head/; revision=142406
* Update version strings for Heimdal: 0.6 -> 0.6.1Jacques Vidrine2004-04-132-5/+5
| | | | Notes: svn path=/head/; revision=128194
* Overhaul of kerberos5/ makefiles. Most significant changes are:Ruslan Ermilov2004-01-311-11/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Dropped support for standalone builds, this was only partially supported anyway, and required so much magic in makefiles that made life dangerous (e.g., by using the custom yacc rules). - Got rid of .OBJDIR in makefiles -- makes building of individual files possible again. - Made the .x.c transformations -j safe. - Reprogrammed LDADD to fix static build of some utilities that was broken. - Fixed LDFLAGS and DPADD in the WITH_OPENLDAP case -- positively affects the contents of .depend files. - Removed redundant .h's from SRCS, only kept those that are generated. - libkrb5/ INCS were bogusly installed again with libgssapi/. - Made build-tools real tools with their own makefiles in separate directories. This allows us to properly track their dependencies, etc. - Faster build, 21% less of makefile code! Approved by: nectar Reviewed by: markm Silence on: arch Notes: svn path=/head/; revision=125261
* No need for two copies of this file; there is already a distributionMark Murray2003-11-171-70/+0
| | | | | | | | | copy in src/crypto/heimdal/... Reported by: ru Notes: svn path=/head/; revision=122856
* Update build infrastructure for Heimdal 0.6.Jacques Vidrine2003-10-094-17/+44
| | | | Notes: svn path=/head/; revision=120949
* Remove some KRB4 scraps, and allow NOSHARED make worlds toMark Murray2003-05-111-9/+0
| | | | | | | | | complete. OK'ed by: re(scottl) Notes: svn path=/head/; revision=114914
* Post KerberosIV de-orbit: Clean up Kerberos5. We dont need KerberosIVMark Murray2003-03-091-2/+0
| | | | | | | | compatiblity mode anymore. Rename the k5foo utils to kfoo (after repo-copy). Notes: svn path=/head/; revision=112049
* Define OPENSSL_DES_LIBDES_COMPATIBILITY so that Heimdal will build withJacques Vidrine2003-01-211-0/+1
| | | | | | | OpenSSL 0.9.7 when it is imported. (This currently has no effect.) Notes: svn path=/head/; revision=109640
* Update version numbers after import of Heimdal 0.5.1.Jacques Vidrine2002-11-242-4/+4
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107210
* update version numbers to (consistenly):Assar Westerlund2002-10-231-4/+4
| | | | | | | | krb4 1.0.5 fb1 (including the kadmind fix) heimdal 0.5 fb1 (including the kadmind fix) Notes: svn path=/head/; revision=105767
* This is Heimdal 0.5.Jacques Vidrine2002-09-191-2/+2
| | | | Notes: svn path=/head/; revision=103631
* Update build infrastructure after import of Heimdal Kerberos 2002/09/16.Jacques Vidrine2002-09-162-20/+60
| | | | Notes: svn path=/head/; revision=103427
* Update build infrastructure after import of Heimdal Kerberos 2002/08/29.Jacques Vidrine2002-08-304-428/+472
| | | | Notes: svn path=/head/; revision=102649
* Bootstrapping aid for pre-getprogname(3) systems.Ruslan Ermilov2002-08-131-0/+8
| | | | | | | | | Spotted by: Gareth Hopkins <gareth@za.uu.net> Approved by: nectar MFC after: 3 days Notes: svn path=/head/; revision=101834
* Update Heimdal version string to 0.4e. This should have been done when thatJacques Vidrine2002-04-291-2/+2
| | | | | | | version was imported on 2002/02/19. Notes: svn path=/head/; revision=95732
* Update build after import of Heimdal Kerberos 2002/02/17.Jacques Vidrine2002-02-191-62/+73
| | | | Notes: svn path=/head/; revision=90931
* update infrastructure for heimdal 0.3fAssar Westerlund2001-06-212-19/+28
| | | | Notes: svn path=/head/; revision=78550
* de-constify to make it compatible with (krb4) and make-print-versionAssar Westerlund2001-05-111-2/+2
| | | | | | | Submitted by: Peter Pentchev <roam@orbitel.bg> (just inverted) Notes: svn path=/head/; revision=76470
* remove definition of KRB4, this gets defined conditionally inAssar Westerlund2001-02-211-3/+0
| | | | | | | | | kerberos5/Makefile and should not have a constant value here. Submitted by: Jun Kuriyama <kuriyama@imgsrc.co.jp> Notes: svn path=/head/; revision=72800
* update build infrastructure for heimdal 0.3eAssar Westerlund2001-02-134-638/+792
| | | | Notes: svn path=/head/; revision=72450
* Unbreak heimdal build: we can no longer #include <netinet6/in6.h>Kris Kennaway2000-07-061-1/+1
| | | | Notes: svn path=/head/; revision=62676
* KerberosIV is no longer compulsory. This should fix "make release".Mark Murray2000-03-011-1/+1
| | | | Notes: svn path=/head/; revision=57672
* Use libcrypto instead of libdes. Upgrade for Heimdal-0.2pMark Murray2000-02-242-203/+2
| | | | Notes: svn path=/head/; revision=57452
* Userland build of Kerberos5 (AKA Heimdal). More to come.Mark Murray2000-01-156-0/+1436
This is not ready for primetime yet! Please hold off on the bug reports. Notes: svn path=/cvs2svn/branches/MARKM/; revision=56067