Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libxcrypt for openSUSE:Factory 
checked in at 2025-01-05 15:27:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libxcrypt (Old)
 and      /work/SRC/openSUSE:Factory/.libxcrypt.new.1881 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libxcrypt"

Sun Jan  5 15:27:03 2025 rev:22 rq:1234624 version:4.4.37

Changes:
--------
--- /work/SRC/openSUSE:Factory/libxcrypt/libxcrypt.changes      2023-07-27 
16:50:56.765860912 +0200
+++ /work/SRC/openSUSE:Factory/.libxcrypt.new.1881/libxcrypt.changes    
2025-01-05 15:27:11.871746425 +0100
@@ -1,0 +2,10 @@
+Thu Jan  2 14:28:53 UTC 2025 - Lucas Mulling <lucas.mull...@suse.com>
+
+- Update to 4.4.37
+  * Several fixes to the manpages (issue #185).
+  * Only test the needed makecontext signature during configure (issue #178).
+  * Fix -Werror=strict-overflow in lib/crypt-bcrypt.c, which is seen by GCC
+    4.8.5 (issue #197).
+- Symlink duplicated manpages
+
+-------------------------------------------------------------------

Old:
----
  libxcrypt-4.4.36.tar.xz
  libxcrypt-4.4.36.tar.xz.asc

New:
----
  libxcrypt-4.4.37.tar.xz
  libxcrypt-4.4.37.tar.xz.asc

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libxcrypt.spec ++++++
--- /var/tmp/diff_new_pack.sJXRaR/_old  2025-01-05 15:27:12.755782786 +0100
+++ /var/tmp/diff_new_pack.sJXRaR/_new  2025-01-05 15:27:12.755782786 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libxcrypt
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           libxcrypt
-Version:        4.4.36
+Version:        4.4.37
 Release:        0
 Summary:        Extended crypt library for DES, MD5, Blowfish and others
 License:        BSD-2-Clause AND GPL-3.0-or-later AND LGPL-2.1-or-later AND 
BSD-3-Clause AND SUSE-Public-Domain
@@ -25,8 +25,9 @@
 URL:            https://github.com/besser82/libxcrypt
 Source0:        
https://github.com/besser82/libxcrypt/releases/download/v%{version}/%{name}-%{version}.tar.xz
 Source1:        
https://github.com/besser82/libxcrypt/releases/download/v%{version}/%{name}-%{version}.tar.xz.asc
-Source2:        
https://github.com/besser82/libxcrypt/releases/download/v%{version}/libxcrypt-gpgkey.gpg#/%{name}.keyring
+Source2:        
https://github.com/besser82/libxcrypt/releases/download/v%{version}/libxcrypt-gpgkey.asc#/%{name}.keyring
 Source3:        baselibs.conf
+BuildRequires:  fdupes
 BuildRequires:  pkgconfig
 
 # Enable support for livepatching.
@@ -140,6 +141,7 @@
 
 %make_install
 rm -v %{buildroot}%{_libdir}/*.la
+%fdupes -s %{buildroot}%{_mandir}
 
 %check
 %make_build check || \

++++++ libxcrypt-4.4.36.tar.xz -> libxcrypt-4.4.37.tar.xz ++++++
++++ 7256 lines of diff (skipped)
++++    retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libxcrypt-4.4.36/Makefile.am new/libxcrypt-4.4.37/Makefile.am
--- old/libxcrypt-4.4.36/Makefile.am    2023-07-03 08:54:56.000000000 +0200
+++ new/libxcrypt-4.4.37/Makefile.am    2024-12-30 11:26:23.000000000 +0100
@@ -607,7 +607,7 @@
          perlcritic --quiet ./
 
 # Target for generating a signed release tarball.
-release: libxcrypt-$(VERSION).tar.xz.sha256sum libxcrypt-gpgkey.gpg
+release: libxcrypt-$(VERSION).tar.xz.sha256sum libxcrypt-gpgkey.asc
 phony_targets += release
 
 libxcrypt-$(VERSION).tar.xz.asc: dist-xz
@@ -631,21 +631,22 @@
                libxcrypt-$(VERSION).tar.xz.sha256sum.T \
                libxcrypt-$(VERSION).tar.xz.sha256sum
 
-libxcrypt-gpgkey.gpg:
+libxcrypt-gpgkey.asc:
        $(GPG2) \
+               --armor \
                --export \
                --export-options \
                        export-minimal \
                        F52E98007594C21D \
-               > libxcrypt-gpgkey.gpg.T
+               > libxcrypt-gpgkey.asc.T
        $(AM_V_at)$(SCRIPTS_AUX)/move-if-change \
-               libxcrypt-gpgkey.gpg.T \
-               libxcrypt-gpgkey.gpg
+               libxcrypt-gpgkey.asc.T \
+               libxcrypt-gpgkey.asc
 
 CLEANFILES += \
        libxcrypt-$(VERSION).tar.xz.asc* \
        libxcrypt-$(VERSION).tar.xz.sha256sum* \
-       libxcrypt-gpgkey.gpg*
+       libxcrypt-gpgkey.asc*
 
 # Every object file depends on crypt-symbol-vers.h and crypt-hashes.h,
 # which are generated files, so automatic dependency generation is not
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libxcrypt-4.4.36/NEWS new/libxcrypt-4.4.37/NEWS
--- old/libxcrypt-4.4.36/NEWS   2023-07-05 19:57:48.000000000 +0200
+++ new/libxcrypt-4.4.37/NEWS   2024-12-30 11:19:09.000000000 +0100
@@ -3,6 +3,13 @@
 Please send bug reports, questions and suggestions to
 <https://github.com/besser82/libxcrypt/issues>.
 
+Version 4.4.37
+* Several fixes to the manpages (issue #185).
+* Add binary compatibility for x86_64 GNU/Hurd (issue #189).
+* Only test the needed makecontext signature during configure (issue #178).
+* Fix -Werror=strict-overflow in lib/crypt-bcrypt.c, which is seen
+  by GCC 4.8.5 (issue #197).
+
 Version 4.4.36
 * Fix left over bits failing with Perl v5.38.0 (issue #173).
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libxcrypt-4.4.36/config.h.in new/libxcrypt-4.4.37/config.h.in
--- old/libxcrypt-4.4.36/config.h.in    2023-07-05 19:58:24.000000000 +0200
+++ new/libxcrypt-4.4.37/config.h.in    2024-12-30 11:31:23.000000000 +0100
@@ -27,7 +27,7 @@
    CPU. */
 #undef ENDIANNESS_IS_PDP
 
-/* Define to 1 if you have the `arc4random_buf' function. */
+/* Define to 1 if you have the 'arc4random_buf' function. */
 #undef HAVE_ARC4RANDOM_BUF
 
 /* Define to 1 if you have the <dlfcn.h> header file. */
@@ -36,10 +36,10 @@
 /* Define to 1 if you have the <endian.h> header file. */
 #undef HAVE_ENDIAN_H
 
-/* Define to 1 if you have the `explicit_bzero' function. */
+/* Define to 1 if you have the 'explicit_bzero' function. */
 #undef HAVE_EXPLICIT_BZERO
 
-/* Define to 1 if you have the `explicit_memset' function. */
+/* Define to 1 if you have the 'explicit_memset' function. */
 #undef HAVE_EXPLICIT_MEMSET
 
 /* Define to 1 if you have the <fcntl.h> header file. */
@@ -48,10 +48,10 @@
 /* Define to 1 if the system has the `symver' function attribute */
 #undef HAVE_FUNC_ATTRIBUTE_SYMVER
 
-/* Define to 1 if you have the `getentropy' function. */
+/* Define to 1 if you have the 'getentropy' function. */
 #undef HAVE_GETENTROPY
 
-/* Define to 1 if you have the `getrandom' function. */
+/* Define to 1 if you have the 'getrandom' function. */
 #undef HAVE_GETRANDOM
 
 /* Define to 1 if you have the <inttypes.h> header file. */
@@ -64,13 +64,13 @@
 /* Define if stddef.h provides max_align_t. */
 #undef HAVE_MAX_ALIGN_T
 
-/* Define to 1 if you have the `memset_s' function. */
+/* Define to 1 if you have the 'memset_s' function. */
 #undef HAVE_MEMSET_S
 
 /* Define to 1 if you have the <minix/config.h> header file. */
 #undef HAVE_MINIX_CONFIG_H
 
-/* Define to 1 if you have the `open64' function. */
+/* Define to 1 if you have the 'open64' function. */
 #undef HAVE_OPEN64
 
 /* Define if <assert.h> defines static_assert. */
@@ -97,7 +97,7 @@
 /* Define as 1 if symbol versioning is enabled and applied. */
 #undef HAVE_SYMVER
 
-/* Define to 1 if you have the `syscall' function. */
+/* Define to 1 if you have the 'syscall' function. */
 #undef HAVE_SYSCALL
 
 /* Define if <sys/cdefs.h> defines __BEGIN_DECLS and __END_DECLS. */
@@ -166,7 +166,7 @@
 /* Define to the version of this package. */
 #undef PACKAGE_VERSION
 
-/* Define to 1 if all of the C90 standard headers exist (not just the ones
+/* Define to 1 if all of the C89 standard headers exist (not just the ones
    required in a freestanding environment). This macro is provided for
    backward compatibility; new code need not use it. */
 #undef STDC_HEADERS
@@ -179,7 +179,7 @@
    available from ucontext.h without deprecation warnings. */
 #undef USE_SWAPCONTEXT
 
-/* Enable extensions on AIX 3, Interix.  */
+/* Enable extensions on AIX, Interix, z/OS.  */
 #ifndef _ALL_SOURCE
 # undef _ALL_SOURCE
 #endif
@@ -240,11 +240,15 @@
 #ifndef __STDC_WANT_IEC_60559_DFP_EXT__
 # undef __STDC_WANT_IEC_60559_DFP_EXT__
 #endif
+/* Enable extensions specified by C23 Annex F.  */
+#ifndef __STDC_WANT_IEC_60559_EXT__
+# undef __STDC_WANT_IEC_60559_EXT__
+#endif
 /* Enable extensions specified by ISO/IEC TS 18661-4:2015.  */
 #ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__
 # undef __STDC_WANT_IEC_60559_FUNCS_EXT__
 #endif
-/* Enable extensions specified by ISO/IEC TS 18661-3:2015.  */
+/* Enable extensions specified by C23 Annex H and ISO/IEC TS 18661-3:2015.  */
 #ifndef __STDC_WANT_IEC_60559_TYPES_EXT__
 # undef __STDC_WANT_IEC_60559_TYPES_EXT__
 #endif
@@ -276,9 +280,15 @@
 /* Number of bits in a file offset, on hosts where this is settable. */
 #undef _FILE_OFFSET_BITS
 
-/* Define for large files, on AIX-style hosts. */
+/* Define to 1 on platforms where this makes off_t a 64-bit type. */
 #undef _LARGE_FILES
 
+/* Number of bits in time_t, on hosts where this is settable. */
+#undef _TIME_BITS
+
+/* Define to 1 on platforms where this makes time_t a 64-bit type. */
+#undef __MINGW_USE_VC2005_COMPAT
+
 /* Define as a type specifier which sets the alignment of a variable or type
    to N bytes. C11 alignas(TYPE) does not need to be supported. */
 #undef alignas
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libxcrypt-4.4.36/configure.ac new/libxcrypt-4.4.37/configure.ac
--- old/libxcrypt-4.4.36/configure.ac   2023-07-05 19:57:48.000000000 +0200
+++ new/libxcrypt-4.4.37/configure.ac   2024-12-30 11:10:20.000000000 +0100
@@ -1,7 +1,7 @@
 # Process this file with autoconf to produce a configure script.
 m4_include([build-aux/m4/zw_automodern.m4])
 AC_INIT([xcrypt],
-        [4.4.36],
+        [4.4.37],
         [https://github.com/besser82/libxcrypt/issues],
         [libxcrypt],
         [https://github.com/besser82/libxcrypt])
@@ -303,13 +303,11 @@
 #include <ucontext.h>
 static int x;
 static void fn1(void) {}
-static void fn2(int a, int b) { x = a - b; }
 ]], [[
   ucontext_t uc1, uc2;
   if (getcontext(&uc1)) return 1;
   if (setcontext(&uc1)) return 1;
   makecontext(&uc1, fn1, 0);
-  makecontext(&uc2, fn2, 2, 1, 1);
   if (swapcontext(&uc1, &uc2)) return 1;
   return x;
 ]])],
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libxcrypt-4.4.36/doc/crypt.3 new/libxcrypt-4.4.37/doc/crypt.3
--- old/libxcrypt-4.4.36/doc/crypt.3    2022-11-26 18:51:43.000000000 +0100
+++ new/libxcrypt-4.4.37/doc/crypt.3    2024-12-30 11:10:20.000000000 +0100
@@ -243,7 +243,7 @@
 .Nm crypt_ra
 write an
 .Em invalid
-hashed passphrase to the
+hash to the
 .Fa output
 field of their
 .Fa data
@@ -278,6 +278,9 @@
 All four functions set
 .Va errno
 when they fail.
+When the functions succeed, the value of
+.Va errno
+is unspecified and must not be relied upon.
 .Sh ERRORS
 .Bl -tag -width Er
 .It Er EINVAL
@@ -347,7 +350,7 @@
 The behavior described above for this implementation,
 setting
 .Va errno
-and returning an invalid hashed passphrase different from
+and returning an invalid hash different from
 .Fa setting ,
 is chosen to make these applications fail closed when an error occurs.
 .Pp
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libxcrypt-4.4.36/doc/crypt.5 new/libxcrypt-4.4.37/doc/crypt.5
--- old/libxcrypt-4.4.36/doc/crypt.5    2022-02-04 17:02:47.000000000 +0100
+++ new/libxcrypt-4.4.37/doc/crypt.5    2024-11-29 13:23:36.000000000 +0100
@@ -1,4 +1,4 @@
-.\" Written and revised by Solar Designer <solar at openwall.com> in 2000-2011.
+.\" Written and revised by Solar Designer <solar at openwall.com> in 2000-2024.
 .\" Revised by Zack Weinberg <zackw at panix.com> in 2017.
 .\" Converted to mdoc format by Zack Weinberg in 2018.
 .\"
@@ -13,7 +13,7 @@
 .\"
 .\" There's ABSOLUTELY NO WARRANTY, express or implied.
 .\"
-.Dd October 11, 2017
+.Dd March 27, 2024
 .Dt CRYPT 5
 .Os "Openwall Project"
 .Sh NAME
@@ -33,7 +33,7 @@
 guessing will be too slow for the attacker
 to discover a strong passphrase.
 .Pp
-All of the hashing methods use a
+Most of the hashing methods use a
 .Dq salt
 to perturb the hash function,
 so that the same passphrase may produce many possible hashes.
@@ -54,15 +54,18 @@
 which makes them impractically large.
 .El
 .Pp
-All of the hashing methods are also deliberately engineered to be slow;
+Most of the hashing methods are also deliberately engineered to be slow;
 they use many iterations of an underlying cryptographic primitive
 to increase the cost of each guess.
 The newer hashing methods allow the number of iterations to be adjusted,
 using the
-.Dq CPU time cost
+.Dq processing cost
 parameter to
 .Xr crypt_gensalt 3 .
-This makes it possible to keep the hash slow as hardware improves.
+For memory-hard hashing methods such as yescrypt,
+this parameter also adjusts the amount of memory needed to compute a hash.
+Having this configurable makes it possible to keep password guessing attacks
+against the hashes slow and costly as hardware improves.
 .Sh FORMAT OF HASHED PASSPHRASES
 All of the hashing methods supported by
 .Xr crypt 3
@@ -95,8 +98,8 @@
 must begin with the first three components of a valid hashed passphrase,
 but anything after that is ignored.
 This makes authentication simple:
-hash the input passphrase using the stored passphrase as the setting,
-and then compare the result to the stored passphrase.
+hash the input passphrase using the stored hashed passphrase as the setting,
+and then compare the result to the stored hashed passphrase.
 .Pp
 Hashed passphrases are always entirely printable ASCII,
 and do not contain any whitespace
@@ -129,7 +132,7 @@
 .Em all
 the hashing methods supported by
 .Xr crypt 3 ,
-in decreasing order of strength.
+roughly in decreasing order of strength.
 Many of the older methods
 are now considered too weak to use for new passphrases.
 The hashed passphrase format is expressed
@@ -162,33 +165,39 @@
 .\}
 .It Sy Salt size
 \\$7 bits
-.It Sy CPU time cost parameter
+.It Sy Processing cost parameter
 \\$8
 .El
 ..
 .Ss yescrypt
 yescrypt is a scalable passphrase hashing scheme designed by Solar Designer,
 which is based on Colin Percival's scrypt.
+While yescrypt's strength against password guessing attacks comes from its
+algorithm design, its cryptographic security is guaranteed by its use of
+SHA-256 on the outer layer.
+The SHA-256 hash function has been published by NIST in FIPS PUB 180-2
+(and its subsequent revisions such as FIPS PUB 180-4)
+and by the IETF as RFC 4634 (and subsequently RFC 6234).
 Recommended for new hashes.
-.hash "$y$" "\e$y\e$[./A-Za-z0-9]+\e$[./A-Za-z0-9]{,86}\e$[./A-Za-z0-9]{43}" 
unlimited 8 256 256 "up to 512 (128+ recommended)" "1 to 11 (logarithmic)"
+.hash "$y$" "\e$y\e$[./A-Za-z0-9]+\e$[./A-Za-z0-9]{,86}\e$[./A-Za-z0-9]{43}" 
unlimited 8 256 256 "up to 512 (128+ recommended)" "1 to 11 (logarithmic, also 
affects memory usage)"
 .Ss gost-yescrypt
-gost-yescrypt uses the output from the yescrypt hashing method in place of a
-hmac message.  Thus, the yescrypt crypto properties are superseded by the
-GOST R 34.11-2012 (Streebog) hash function with a 256 bit digest.
+gost-yescrypt uses the output from yescrypt as an input message to HMAC with
+the GOST R 34.11-2012 (Streebog) hash function with a 256-bit digest.
+Thus, yescrypt's cryptographic properties are superseded by those of the GOST
+hash function.
 This hashing method is useful in applications that need modern passphrase
-hashing methods, but require to rely on the cryptographic properties of GOST
-algorithms.
+hashing, but have to rely on GOST algorithms.
 The GOST R 34.11-2012 (Streebog) hash function has been published by the IETF
 as RFC 6986.
-Recommended for new hashes.
-.hash "$gy$" "\e$gy\e$[./A-Za-z0-9]+\e$[./A-Za-z0-9]{,86}\e$[./A-Za-z0-9]{43}" 
unlimited 8 256 256 "up to 512 (128+ recommended)" "1 to 11 (logarithmic)"
+Acceptable for new hashes where required.
+.hash "$gy$" "\e$gy\e$[./A-Za-z0-9]+\e$[./A-Za-z0-9]{,86}\e$[./A-Za-z0-9]{43}" 
unlimited 8 256 256 "up to 512 (128+ recommended)" "1 to 11 (logarithmic, also 
affects memory usage)"
 .Ss scrypt
 scrypt is a password-based key derivation function created by Colin Percival,
 originally for the Tarsnap online backup service.
 The algorithm was specifically designed to make it costly to perform
 large-scale custom hardware attacks by requiring large amounts of memory.
 In 2016, the scrypt algorithm was published by IETF as RFC 7914.
-.hash "$7$" "\e$7\e$[./A-Za-z0-9]{11,97}\e$[./A-Za-z0-9]{43}" unlimited 8 256 
256 "up to 512 (128+ recommended)" "6 to 11 (logarithmic)"
+.hash "$7$" "\e$7\e$[./A-Za-z0-9]{11,97}\e$[./A-Za-z0-9]{43}" unlimited 8 256 
256 "up to 512 (128+ recommended)" "6 to 11 (logarithmic, also affects memory 
usage)"
 .Ss bcrypt
 A hash based on the Blowfish block cipher,
 modified to have an extra-expensive key schedule.
@@ -207,7 +216,7 @@
 originally developed by Ulrich Drepper for GNU libc.
 Supported on Linux but not common elsewhere.
 Acceptable for new hashes.
-The default CPU time cost parameter is 5000,
+The default processing cost parameter is 5000,
 which is too low for modern hardware.
 .hash "$6$" 
"\e$6\e$(rounds=[1-9][0-9]+\e$)?[^$:\(rsn]{1,16}\e$[./0-9A-Za-z]{86}" unlimited 
8 512 512 "6 to 96" "1000 to 999,999,999"
 .Ss sha256crypt
@@ -215,20 +224,19 @@
 originally developed by Ulrich Drepper for GNU libc.
 Supported on Linux but not common elsewhere.
 Acceptable for new hashes.
-The default CPU time cost parameter is 5000,
+The default processing cost parameter is 5000,
 which is too low for modern hardware.
 .hash "$5$" 
"\e$5\e$(rounds=[1-9][0-9]+\e$)?[^$:\(rsn]{1,16}\e$[./0-9A-Za-z]{43}" unlimited 
8 256 256 "6 to 96" "1000 to 999,999,999"
 .Ss sha1crypt
 A hash based on HMAC-SHA1.
 Originally developed by Simon Gerraty for NetBSD.
 Not as weak as the DES-based hashes below,
-but SHA1 is so cheap on modern hardware
+but SHA-1 is so cheap on modern hardware
 that it should not be used for new hashes.
 .hash "$sha1" 
"\e$sha1\e$[1-9][0-9]+\e$[./0-9A-Za-z]{1,64}\e$[./0-9A-Za-z]{8,64}[./0-9A-Za-z]{32}"
 unlimited 8 160 160 "6 to 384" "4 to 4,294,967,295"
 .Ss SunMD5
 A hash based on the MD5 algorithm,
-with additional cleverness to make precomputation difficult,
-originally developed by Alec David Muffet for Solaris.
+originally developed by Alec David Muffett for Solaris.
 Not adopted elsewhere, to our knowledge.
 Not as weak as the DES-based hashes below,
 but MD5 is so cheap on modern hardware
@@ -241,47 +249,48 @@
 Not as weak as the DES-based hashes below,
 but MD5 is so cheap on modern hardware
 that it should not be used for new hashes.
-CPU time cost is not adjustable.
+Processing cost is not adjustable.
 .hash "$1$" "\e$1\e$[^$:\(rsn]{1,8}\e$[./0-9A-Za-z]{22}" unlimited 8 128 128 
"6 to 48" 1000
 .Ss bsdicrypt (BSDI extended DES)
-A weak extension of traditional DES,
+An extension of traditional DES,
 which eliminates the length limit,
 increases the salt size,
 and makes the time cost tunable.
-It originates with BSDI
+It originates with BSDI BSD/OS
 and is also available on at least NetBSD, OpenBSD, and FreeBSD
 due to the use of David Burren's FreeSec library.
-It is better than bigcrypt and traditional DES,
+It is much better than traditional DES and bigcrypt,
 but still should not be used for new hashes.
-.hash _ "_[./0-9A-Za-z]{19}" unlimited 7 56 64 24 "1 to 16,777,215 (must be 
odd)"
-.Ss bigcrypt
-A weak extension of traditional DES,
-available on some System V-derived Unixes.
-All it does is raise the length limit from 8 to 128 characters,
-and it does this in a crude way that allows attackers to
-guess chunks of a long passphrase in parallel.
-It should not be used for new hashes.
-.hash "" "[./0-9A-Za-z]{13,178}" 128 7 "up to 896" "up to 1024" 12 25
+.hash _ "_[./0-9A-Za-z]{19}" unlimited 7 "up to 56" 64 24 "1 to 16,777,215 
(must be odd)"
 .Ss descrypt (Traditional DES)
 The original hashing method from Unix V7, based on the DES block cipher.
 Because DES is cheap on modern hardware,
-because there are only 4096 possible salts and 2**56 possible hashes,
-and because it truncates passphrases to 8 characters,
+because there are only 4096 possible salts and 2**56 distinct passphrases,
+which it truncates to 8 characters,
 it is feasible to discover
 .Em any
 passphrase hashed with this method.
 It should only be used if you absolutely have to generate hashes
 that will work on an old operating system that supports nothing else.
-.hash "" "[./0-9A-Za-z]{13}" 8 7 56 64 12 25
+.hash "" "[./0-9A-Za-z]{13}" 8 7 "up to 56" 64 12 25
+.Ss bigcrypt
+A weak extension of traditional DES,
+available on some commercial Unixes.
+All it does is raise the length limit from 8 to 128 characters,
+and it does this in a crude way that allows attackers to
+guess chunks of a long passphrase separately and in parallel,
+which may make guessing even easier than for traditional DES above.
+It should not be used for new hashes.
+.hash "" "[./0-9A-Za-z]{13,178}" 128 7 "up to 56" "up to 1024" 12 25
 .Ss NT
 The hashing method used for network authentication
 in some versions of the SMB/CIFS protocol.
 Available, for cross-compatibility's sake, on FreeBSD.
 Based on MD4.
 Has no salt or tunable cost parameter.
-Like traditional DES, it is so weak that
+It is so weak that almost
 .Em any
-passphrase hashed with this method is guessable.
+human-chosen passphrase hashed with this method is guessable.
 It should only be used if you absolutely have to generate hashes
 that will work on an old operating system that supports nothing else.
 .hash "$3$" "\e$3\e$\e$[0-9a-f]{32}" unlimited 8 256 256 0 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libxcrypt-4.4.36/doc/crypt_gensalt.3 
new/libxcrypt-4.4.37/doc/crypt_gensalt.3
--- old/libxcrypt-4.4.36/doc/crypt_gensalt.3    2021-09-03 11:58:31.000000000 
+0200
+++ new/libxcrypt-4.4.37/doc/crypt_gensalt.3    2024-12-30 11:10:20.000000000 
+0100
@@ -13,7 +13,7 @@
 .\"
 .\" There's ABSOLUTELY NO WARRANTY, express or implied.
 .\"
-.Dd October 11, 2017
+.Dd March 27, 2024
 .Dt CRYPT_GENSALT 3
 .Os "Openwall Project"
 .Sh NAME
@@ -63,13 +63,12 @@
 .Fa prefix
 selects the hashing method to use.
 .Fa count
-controls the CPU time cost of the hash;
-the valid range for
+controls the processing cost of the hash;
+the valid range and exact meaning of
 .Fa count
-and the exact meaning of
-.Dq CPU time cost
-depends on the hashing method,
-but larger numbers correspond to more costly hashes.
+depend on the hashing method,
+but larger numbers correspond to more costly hashes
+in terms of CPU time and possibly memory usage.
 .Fa rbytes
 should point to
 .Fa nrbytes
@@ -125,6 +124,9 @@
 Upon error, they return a null pointer and set
 .Va errno
 to an appropriate error code.
+When the functions succeed, the value of
+.Va errno
+is unspecified and must not be relied upon.
 .Pp
 .Nm crypt_gensalt
 places its result in a static storage area,
@@ -240,6 +242,7 @@
 .Sh ATTRIBUTES
 For an explanation of the terms used in this section, see
 .Xr attributes 7 .
+.ad l
 .TS
 allbox;
 lb lb lb
@@ -253,6 +256,7 @@
 .Nm crypt_gensalt_ra
 T}     Thread safety   MT-Safe
 .TE
+.ad
 .sp
 .Sh SEE ALSO
 .Xr crypt 3 ,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libxcrypt-4.4.36/lib/crypt-bcrypt.c new/libxcrypt-4.4.37/lib/crypt-bcrypt.c
--- old/libxcrypt-4.4.36/lib/crypt-bcrypt.c     2021-09-03 11:58:31.000000000 
+0200
+++ new/libxcrypt-4.4.37/lib/crypt-bcrypt.c     2024-12-30 11:15:07.000000000 
+0100
@@ -433,7 +433,7 @@
       c1 = *sptr++;
       *dptr++ = BF_itoa64[c1 >> 2];
       c1 = (c1 & 0x03) << 4;
-      if (sptr >= end)
+      if (end - sptr <= 0)
         {
           *dptr++ = BF_itoa64[c1];
           break;
@@ -443,7 +443,7 @@
       c1 |= c2 >> 4;
       *dptr++ = BF_itoa64[c1];
       c1 = (c2 & 0x0f) << 2;
-      if (sptr >= end)
+      if (end - sptr <= 0)
         {
           *dptr++ = BF_itoa64[c1];
           break;
@@ -454,7 +454,7 @@
       *dptr++ = BF_itoa64[c1];
       *dptr++ = BF_itoa64[c2 & 0x3f];
     }
-  while (sptr < end);
+  while (end - sptr > 0);
 }
 
 #if XCRYPT_USE_BIGENDIAN
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libxcrypt-4.4.36/lib/crypt-static.c new/libxcrypt-4.4.37/lib/crypt-static.c
--- old/libxcrypt-4.4.36/lib/crypt-static.c     2022-01-05 23:38:03.000000000 
+0100
+++ new/libxcrypt-4.4.37/lib/crypt-static.c     2024-12-30 11:10:20.000000000 
+0100
@@ -16,7 +16,6 @@
    <https://www.gnu.org/licenses/>.  */
 
 #include "crypt-port.h"
-#include <errno.h>
 
 /* The functions that use global state objects are isolated in their
    own files so that a statically-linked program that doesn't use them
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libxcrypt-4.4.36/lib/libcrypt.map.in 
new/libxcrypt-4.4.37/lib/libcrypt.map.in
--- old/libxcrypt-4.4.36/lib/libcrypt.map.in    2022-10-31 22:17:05.000000000 
+0100
+++ new/libxcrypt-4.4.37/lib/libcrypt.map.in    2024-12-20 16:22:02.000000000 
+0100
@@ -43,5 +43,5 @@
 %chain GLIBC_2.0 GLIBC_2.2 GLIBC_2.2.1 GLIBC_2.2.2 GLIBC_2.2.5 GLIBC_2.2.6
 %chain GLIBC_2.3 GLIBC_2.4 GLIBC_2.12 GLIBC_2.16 GLIBC_2.17 GLIBC_2.18
 %chain GLIBC_2.21 GLIBC_2.27 GLIBC_2.29 GLIBC_2.32 GLIBC_2.33 GLIBC_2.35
-%chain GLIBC_2.36
+%chain GLIBC_2.36 GLIBC_2.38
 %chain OW_CRYPT_1.0 XCRYPT_2.0 XCRYPT_4.3 XCRYPT_4.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libxcrypt-4.4.36/lib/libcrypt.minver 
new/libxcrypt-4.4.37/lib/libcrypt.minver
--- old/libxcrypt-4.4.36/lib/libcrypt.minver    2022-10-31 22:17:05.000000000 
+0100
+++ new/libxcrypt-4.4.37/lib/libcrypt.minver    2024-11-28 14:41:18.000000000 
+0100
@@ -51,6 +51,7 @@
 #VERSION     SYSTEM          CPU_FAMILY    PREPROCESSOR_CHECK
 
 # GNU Hurd
+GLIBC_2.38   gnu             x86_64
 GLIBC_2.2.6  gnu             i[3-9]86
 ERROR        gnu             .
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libxcrypt-4.4.36/test/short-outbuf.c 
new/libxcrypt-4.4.37/test/short-outbuf.c
--- old/libxcrypt-4.4.36/test/short-outbuf.c    2022-01-05 23:38:03.000000000 
+0100
+++ new/libxcrypt-4.4.37/test/short-outbuf.c    2024-11-28 14:41:18.000000000 
+0100
@@ -17,7 +17,6 @@
  */
 
 #include "crypt-port.h"
-#include <crypt.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>

++++++ libxcrypt.keyring ++++++
Binary files /var/tmp/diff_new_pack.sJXRaR/_old and 
/var/tmp/diff_new_pack.sJXRaR/_new differ

Reply via email to