19 Commits

Author SHA1 Message Date
Adolf Belka
a1e625a2b9 krb5: Update to version 1.21.2
- Update from version 1.20.1 to 1.21.2
- Update of rootfile
- Changelog
Major changes in 1.21.2 (2023-08-14)
	This is a bug fix release.
		* Fix double-free in KDC TGS processing [CVE-2023-39975].
	Changes by ticket ID
		9101    Fix double-free in KDC TGS processing
Major changes in 1.21.1 (2023-07-10)
	This is a bug fix release.
		* Fix potential uninitialized pointer free in kadm5 XDR parsing
		  [CVE-2023-36054].
	Changes by ticket ID
		9099    Ensure array count consistency in kadm5 RPC
Major changes in 1.21 (2023-06-05)
	User experience:
		* Added a credential cache type providing compatibility with the macOS
		  11 native credential cache.
	Developer experience:
		* libkadm5 will use the provided krb5_context object to read
		  configuration values, instead of creating its own.
		* Added an interface to retrieve the ticket session key from a GSS
		  context.
	Protocol evolution:
		* The KDC will no longer issue tickets with RC4 or triple-DES session
		  keys unless explicitly configured with the new allow_rc4 or
		  allow_des3 variables respectively.
		* The KDC will assume that all services can handle aes256-sha1 session
		  keys unless the service principal has a session_enctypes string
		  attribute.
		* Support for PAC full KDC checksums has been added to mitigate an
		  S4U2Proxy privilege escalation attack.
		* The PKINIT client will advertise a more modern set of supported CMS
		  algorithms.
	Code quality:
		* Removed unused code in libkrb5, libkrb5support, and the PKINIT
		  module.
		* Modernized the KDC code for processing TGS requests, the code for
		  encrypting and decrypting key data, the PAC handling code, and the
		  GSS library packet parsing and composition code.
		* Improved the test framework's detection of memory errors in daemon
		  processes when used with asan.
	Changes by ticket ID
		9052    Support macOS 11 native credential cache
		9053    Make kprop work for dump files larger than 4GB
		9054    Replace macros with typedefs in gssrpc types.h
		9055    Use SHA-256 instead of SHA-1 for PKINIT CMS digest
		9057    Omit LDFLAGS from krb5-config --libs output
		9058    Add configure variable for default PKCS#11 module
		9059    Use context profile for libkadm5 configuration
		9066    Set reasonable supportedCMSTypes in PKINIT
		9069    Update error checking for OpenSSL CMS_verify
		9071    Add and use ts_interval() helper
		9072    Avoid small read overrun in UTF8 normalization
		9076    Use memmove() in Unicode functions
		9077    Fix aclocal.m4 syntax error for autoconf 2.72
		9078    Fix profile crash on memory exhaustion
		9079    Fix preauth crash on memory exhaustion
		9080    Fix gic_keytab crash on memory exhaustion
		9082    Fix policy DB fallback error handling
		9083    Fix kpropd crash with unrecognized option
		9084    Add PAC full checksums
		9085    Fix read overruns in SPNEGO parsing
		9086    Fix possible double-free during KDB creation
		9087    Fix meridian type in getdate.y
		9088    Use control flow guard flag in Windows builds
		9089    Add pac_privsvr_enctype string attribute
		9090    Convey realm names to certauth modules
		9091    Add GSS_C_INQ_ODBC_SESSION_KEY
		9092    Fix maintainer-mode build for binutils 2.37
		9093    Add PA-REDHAT-PASSKEY padata type

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2023-08-29 09:54:23 +00:00
Adolf Belka
75b473e2d6 krb5: Update to version 1.20.1
- Update from version 1.20 to 1.20.1
- Update of rootfile not required
- Changelog
    Major changes in 1.20.1 (2022-11-15)
	    Fix integer overflows in PAC parsing [CVE-2022-42898].
	    Fix null deref in KDC when decoding invalid NDR.
	    Fix memory leak in OTP kdcpreauth module.
	    Fix PKCS11 module path search.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-12-26 08:49:47 +00:00
Peter Müller
35e8a57e34 krb5: Update to 1.20
Please refer to https://web.mit.edu/kerberos/krb5-1.20/ for the release
notes of this version. No rootfile changes were necessary.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-07-19 07:49:14 +00:00
Stefan Schantl
4fdd355880 krb5: Move package into core system.
On one hand, the key.dns_resolver binary is linked against libkrb5, so this
library at least is required by the base system.

On the other hand this easily allows different services on the firewall
to use kerberos for authentication (ssh etc).

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2022-06-17 16:28:05 +00:00
Peter Müller
9a7e4d8506 Switch checksums from MD5 to BLAKE2
Historically, the MD5 checksums in our LFS files serve as a protection
against broken downloads, or accidentally corrupted source files.

While the sources are nowadays downloaded via HTTPS, it make sense to
beef up integrity protection for them, since transparently intercepting
TLS is believed to be feasible for more powerful actors, and the state
of the public PKI ecosystem is clearly not helping.

Therefore, this patch switches from MD5 to BLAKE2, updating all LFS
files as well as make.sh to deal with this checksum algorithm. BLAKE2 is
notably faster (and more secure) than SHA2, so the performance penalty
introduced by this patch is negligible, if noticeable at all.

In preparation of this patch, the toolchain files currently used have
been supplied with BLAKE2 checksums as well on
https://source.ipfire.org/.

Cc: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Acked-by: Michael Tremer <michael.tremeripfire.org>
2022-04-02 14:19:25 +00:00
Peter Müller
66c3619872 Early spring clean: Remove trailing whitespaces, and correct licence headers
Bumping across one of our scripts with very long trailing whitespaces, I
thought it might be a good idea to clean these up. Doing so, some
missing or inconsistent licence headers were fixed.

There is no need in shipping all these files en bloc, as their
functionality won't change.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-02-18 23:54:57 +00:00
Robin Roevens
f15707c78c buildprocess: Add extra metadata to pak lfs files
* Add a Summary and Services field to all pak lfs files
* Replace occurances of INSTALL_INITSCRIPT with new INSTALL_INITSCRIPTS
  macro in all pak lfs files.

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-02-11 15:13:15 +00:00
Adolf Belka
0e0c1a8aec krb5: Update to version 1.19.2
- Update from 1.19.1 to 1.19.2
- Update of rootfile not required
- Changelog
   Major changes in 1.19.2 (2021-07-22)
    This is a bug fix release.
      * Fix a denial of service attack against the KDC encrypted challenge
        code [CVE-2021-36222].
      * Fix a memory leak when gss_inquire_cred() is called without a
        credential handle.
    krb5-1.19.2 changes by ticket ID
      8989    Fix typo in enctypes.rst
      8992    Avoid rand() in aes-gen test program
      9005    Fix argument type errors on Windows
      9006    doc build fails with Sphinx 4.0.2
      9007    Fix KDC null deref on bad encrypted challenge
      9014    Using locking in MEMORY krb5_cc_get_principal()
      9015    Fix use-after-free during krad remote_shutdown()
      9016    Memory leak in krb5_gss_inquire_cred

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-22 10:18:30 +00:00
Matthias Fischer
c33d30d8f9 krb5: Update to 1.19.1
For details see:
https://web.mit.edu/kerberos/krb5-1.19/README-1.19.1.txt

"This is a bug fix release.

* Fix a linking issue with Samba.

* Better support multiple pkinit_identities values by checking whether
  certificates can be loaded for each value.

krb5-1.19.1 changes by ticket ID
--------------------------------

8984    Load certs when checking pkinit_identities values
8985    Restore krb5_set_default_tgs_ktypes()
8987    Synchronize command-line option documentation"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-02-19 19:32:52 +00:00
Matthias Fischer
cfdfffd438 krb5: Update to 1.19
For details (complete list) see:
https://web.mit.edu/kerberos/krb5-1.19/krb5-1.19.html

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-02-08 11:55:02 +00:00
ummeegge
50752f1b61 kerberos: Update to version 1.18.3
Since version 1.15.2 several fixes and enhancements has been introduced.
For a full overview the release notes can be found in the next lines.

https://web.mit.edu/kerberos/krb5-1.16/
https://web.mit.edu/kerberos/krb5-1.17/
https://web.mit.edu/kerberos/krb5-1.18/

Signed-off-by: ummeegge <erik.kapfer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-12-10 12:32:11 +00:00
Michael Tremer
2dc2a27803 lfs: Drop quotes in DEPS variable
Not sure why this has ever been there. This simply makes it
nicer to read and edit because we can have line-breaks now.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-03-24 08:57:27 +00:00
Wolfgang Apolinarski
23164efba5 Parallelized build for several packages
Added $(MAKETUNING) to several packages.
Marked packages that do not support parallel build.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2019-03-04 11:02:03 +00:00
Peter Müller
eee037b890 update disclaimer in LFS files
Most of these files still used old dates and/or domain names for contact
mail addresses. This is now replaced by an up-to-date copyright line.

Just some housekeeping... :-)

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-09-10 19:20:36 +01:00
Michael Tremer
5809552f2f krb5: Update to 1.15.2 to build against OpenSSL 1.1
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-02-11 22:19:45 +00:00
Jonatan Schlag
4141e0aad1 Update krb5 to 1.14.4
This commit updates krb5 to version 1.14.4
The patch is removed, because he is upstream since 1.12.2.
The samba version is incremented, to link samba against the new krb5
version. Otherwise samba for example is linked against
/usr/lib/libkdb5.so.7 but the current version is /usr/lib/libkdb5.so.8

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-09-26 14:42:08 +01:00
Michael Tremer
75ccb6a693 krb5: Disable parallel build
Builds of this package crash randomly on all architectures
which might be related to the parallel build.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-10-02 19:00:13 +01:00
Michael Tremer
1eec8480e7 Cleanup left over sources 2015-02-07 22:22:31 +00:00
Michael Tremer
cfba7c56db krb5: New package. 2014-06-10 20:13:23 +02:00