66e42d
Name: libgcrypt
4bbd51
Version: 1.8.5
5788e9
Release: 7%{?dist}
66e42d
URL: http://www.gnupg.org/
66e42d
Source0: libgcrypt-%{version}-hobbled.tar.xz
66e42d
# The original libgcrypt sources now contain potentially patented ECC
66e42d
# cipher support. We have to remove it in the tarball we ship with
66e42d
# the hobble-libgcrypt script. 
66e42d
# (We replace it with RH approved ECC in Source4-5)
66e42d
#Source0: ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-{version}.tar.bz2
66e42d
#Source1: ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-{version}.tar.bz2.sig
66e42d
Source2: wk@g10code.com
66e42d
Source3: hobble-libgcrypt
66e42d
# Approved ECC support
66e42d
Source4: ecc-curves.c
66e42d
Source5: curves.c
66e42d
Source6: t-mpi-point.c
66e42d
Source7: random.conf
66e42d
# make FIPS hmac compatible with fipscheck - non upstreamable
66e42d
# update on soname bump
4bbd51
Patch2: libgcrypt-1.8.5-use-fipscheck.patch
4bbd51
# modify FIPS RSA and DSA keygen to comply with requirements
4bbd51
Patch5: libgcrypt-1.8.4-fips-keygen.patch
4bbd51
# fix the tests to work correctly in the FIPS mode
4bbd51
Patch6: libgcrypt-1.8.4-tests-fipsmode.patch
66e42d
# update the CAVS tests
66e42d
Patch7: libgcrypt-1.7.3-fips-cavs.patch
66e42d
# use poll instead of select when gathering randomness
4bbd51
Patch11: libgcrypt-1.8.4-use-poll.patch
66e42d
# slight optimalization of mpicoder.c to silence Valgrind (#968288)
66e42d
Patch13: libgcrypt-1.6.1-mpicoder-gccopt.patch
66e42d
# fix tests to work with approved ECC
66e42d
Patch14: libgcrypt-1.7.3-ecc-test-fix.patch
66e42d
# Run the FIPS mode initialization in the shared library constructor
66e42d
Patch18: libgcrypt-1.8.3-fips-ctor.patch
66e42d
# Block some operations if in FIPS non-operational state
66e42d
Patch22: libgcrypt-1.7.3-fips-reqs.patch
66e42d
# Do not try to open /dev/urandom if getrandom() works
4bbd51
Patch24: libgcrypt-1.8.5-getrandom.patch
66e42d
# CMAC selftest for FIPS POST
66e42d
Patch25: libgcrypt-1.8.3-cmac-selftest.patch
66e42d
# Continuous FIPS entropy test
66e42d
Patch26: libgcrypt-1.8.3-fips-enttest.patch
66e42d
# Disable non-approved FIPS hashes in the enforced FIPS mode
66e42d
Patch27: libgcrypt-1.8.3-md-fips-enforce.patch
4bbd51
# Intel CET support, in upstream master
4bbd51
Patch28: libgcrypt-1.8.5-intel-cet.patch
4bbd51
# Fix build on ARMv7
4bbd51
Patch29: libgcrypt-1.8.5-build.patch
4bbd51
# FIPS module is redefined a little bit (implicit by kernel FIPS mode)
4bbd51
Patch30: libgcrypt-1.8.5-fips-module.patch
4bbd51
# Backported AES performance improvements
4bbd51
Patch31: libgcrypt-1.8.5-aes-perf.patch
4bbd51
# FIPS selftest for PBKDF2
4bbd51
Patch32: libgcrypt-1.8.5-kdf-selftest.patch
d28a9c
# ppc64 performance for SHA2 (#1855231)
d28a9c
Patch33: libgcrypt-1.8.5-ppc-sha2.patch
d28a9c
# ppc64 performance for CRC32 (#1855231)
d28a9c
Patch34: libgcrypt-1.8.5-ppc-crc32.patch
d28a9c
# ppc64 bugfixes (#1855231)
d28a9c
Patch35: libgcrypt-1.8.5-ppc-bugfix.patch
d28a9c
# ppc64 performance AES-GCM (#1855231)
d28a9c
Patch36: libgcrypt-1.8.5-ppc-aes-gcm.patch
5788e9
# Fix elgamal cross-configuration (CVE-2021-40528)
5788e9
Patch37: libgcrypt-1.9.3-CVE-2021-40528.patch
d28a9c
# We can use HW optimizations in FIPS (#1976137)
d28a9c
Patch38: libgcrypt-1.8.5-fips-hwfeatures.patch
d28a9c
# ppc64 performance chacha20 and poly1305 (#1855231)
d28a9c
Patch39: libgcrypt-1.8.5-ppc-chacha20-poly1305.patch
5788e9
# Fix CVE-2021-33560 (elgamal blinding)
5788e9
Patch40: libgcrypt-1.8.5-elgamal-blinding.patch
66e42d
66e42d
%define gcrylibdir %{_libdir}
66e42d
66e42d
# Technically LGPLv2.1+, but Fedora's table doesn't draw a distinction.
66e42d
# Documentation and some utilities are GPLv2+ licensed. These files
66e42d
# are in the devel subpackage.
66e42d
License: LGPLv2+
66e42d
Summary: A general-purpose cryptography library
66e42d
BuildRequires: gcc
66e42d
BuildRequires: gawk, libgpg-error-devel >= 1.11, pkgconfig
66e42d
BuildRequires: fipscheck
66e42d
# This is needed only when patching the .texi doc.
66e42d
BuildRequires: texinfo
4bbd51
BuildRequires: autoconf, automake, libtool
66e42d
66e42d
%package devel
66e42d
Summary: Development files for the %{name} package
66e42d
License: LGPLv2+ and GPLv2+
66e42d
Requires(pre): /sbin/install-info
66e42d
Requires(post): /sbin/install-info
66e42d
Requires: libgpg-error-devel
66e42d
Requires: %{name} = %{version}-%{release}
66e42d
66e42d
%description
66e42d
Libgcrypt is a general purpose crypto library based on the code used
66e42d
in GNU Privacy Guard.  This is a development version.
66e42d
66e42d
%description devel
66e42d
Libgcrypt is a general purpose crypto library based on the code used
66e42d
in GNU Privacy Guard.  This package contains files needed to develop
66e42d
applications using libgcrypt.
66e42d
66e42d
%prep
66e42d
%setup -q
66e42d
%{SOURCE3}
66e42d
%patch2 -p1 -b .use-fipscheck
4bbd51
%patch5 -p1 -b .fips-keygen
4bbd51
%patch6 -p1 -b .tests-fipsmode
66e42d
%patch7 -p1 -b .cavs
66e42d
%patch11 -p1 -b .use-poll
66e42d
%patch13 -p1 -b .gccopt
66e42d
%patch14 -p1 -b .eccfix
66e42d
%patch18 -p1 -b .fips-ctor
66e42d
%patch22 -p1 -b .fips-reqs
66e42d
%patch24 -p1 -b .getrandom
66e42d
%patch25 -p1 -b .cmac-selftest
66e42d
%patch26 -p1 -b .fips-enttest
66e42d
%patch27 -p1 -b .fips-enforce
4bbd51
%patch28 -p1 -b .intel-cet
4bbd51
%patch29 -p1 -b .build
4bbd51
%patch30 -p1 -b .fips-module
4bbd51
%patch31 -p1 -b .aes-perf
4bbd51
%patch32 -p1 -b .kdf-selftest
d28a9c
%patch33 -p1 -b .ppc-sha2
d28a9c
%patch34 -p1 -b .ppc-crc32
d28a9c
%patch35 -p1 -b .ppc-bugfix
d28a9c
%patch36 -p1 -b .ppc-aes-gcm
5788e9
%patch37 -p1 -b .CVE-2021-40528
d28a9c
%patch38 -p1 -b .hw-fips
d28a9c
%patch39 -p1 -b .ppc-chacha
5788e9
%patch40 -p1 -b .elgamal-blinding
66e42d
66e42d
cp %{SOURCE4} cipher/
66e42d
cp %{SOURCE5} %{SOURCE6} tests/
66e42d
66e42d
%build
4bbd51
autoreconf -f
66e42d
%configure --disable-static \
66e42d
%ifarch sparc64
66e42d
     --disable-asm \
66e42d
%endif
66e42d
     --enable-noexecstack \
66e42d
     --enable-hmac-binary-check \
66e42d
     --enable-pubkey-ciphers='dsa elgamal rsa ecc' \
66e42d
     --disable-O-flag-munging
66e42d
sed -i -e '/^sys_lib_dlsearch_path_spec/s,/lib /usr/lib,/usr/lib /lib64 /usr/lib64 /lib,g' libtool
66e42d
make %{?_smp_mflags}
66e42d
66e42d
%check
66e42d
fipshmac src/.libs/libgcrypt.so.??
66e42d
make check
66e42d
66e42d
# Add generation of HMAC checksums of the final stripped binaries 
66e42d
%define __spec_install_post \
66e42d
    %{?__debug_package:%{__debug_install_post}} \
66e42d
    %{__arch_install_post} \
66e42d
    %{__os_install_post} \
66e42d
    fipshmac $RPM_BUILD_ROOT%{gcrylibdir}/*.so.?? \
66e42d
%{nil}
66e42d
66e42d
%install
66e42d
make install DESTDIR=$RPM_BUILD_ROOT
66e42d
66e42d
# Change /usr/lib64 back to /usr/lib.  This saves us from having to patch the
66e42d
# script to "know" that -L/usr/lib64 should be suppressed, and also removes
66e42d
# a file conflict between 32- and 64-bit versions of this package.
66e42d
# Also replace my_host with none.
66e42d
sed -i -e 's,^libdir="/usr/lib.*"$,libdir="/usr/lib",g' $RPM_BUILD_ROOT/%{_bindir}/libgcrypt-config
66e42d
sed -i -e 's,^my_host=".*"$,my_host="none",g' $RPM_BUILD_ROOT/%{_bindir}/libgcrypt-config
66e42d
66e42d
rm -f ${RPM_BUILD_ROOT}/%{_infodir}/dir ${RPM_BUILD_ROOT}/%{_libdir}/*.la
66e42d
/sbin/ldconfig -n $RPM_BUILD_ROOT/%{_libdir}
66e42d
66e42d
%if "%{gcrylibdir}" != "%{_libdir}"
66e42d
# Relocate the shared libraries to %{gcrylibdir}.
66e42d
mkdir -p $RPM_BUILD_ROOT%{gcrylibdir}
66e42d
for shlib in $RPM_BUILD_ROOT%{_libdir}/*.so* ; do
66e42d
	if test -L "$shlib" ; then
66e42d
		rm "$shlib"
66e42d
	else
66e42d
		mv "$shlib" $RPM_BUILD_ROOT%{gcrylibdir}/
66e42d
	fi
66e42d
done
66e42d
66e42d
# Add soname symlink.
66e42d
/sbin/ldconfig -n $RPM_BUILD_ROOT/%{_lib}/
66e42d
%endif
66e42d
66e42d
# Overwrite development symlinks.
66e42d
pushd $RPM_BUILD_ROOT/%{gcrylibdir}
66e42d
for shlib in lib*.so.?? ; do
66e42d
	target=$RPM_BUILD_ROOT/%{_libdir}/`echo "$shlib" | sed -e 's,\.so.*,,g'`.so
66e42d
%if "%{gcrylibdir}" != "%{_libdir}"
66e42d
	shlib=%{gcrylibdir}/$shlib
66e42d
%endif
66e42d
	ln -sf $shlib $target
66e42d
done
66e42d
popd
66e42d
66e42d
# Create /etc/gcrypt (hardwired, not dependent on the configure invocation) so
66e42d
# that _someone_ owns it.
66e42d
mkdir -p -m 755 $RPM_BUILD_ROOT/etc/gcrypt
66e42d
install -m644 %{SOURCE7} $RPM_BUILD_ROOT/etc/gcrypt/random.conf
66e42d
4bbd51
# Drop the pkgconfig as it would require an updated libgpg-error
4bbd51
rm $RPM_BUILD_ROOT/%{_libdir}/pkgconfig/libgcrypt.pc
4bbd51
66e42d
%post -p /sbin/ldconfig
66e42d
66e42d
%postun -p /sbin/ldconfig
66e42d
66e42d
%post devel
66e42d
[ -f %{_infodir}/gcrypt.info.gz ] && \
66e42d
    /sbin/install-info %{_infodir}/gcrypt.info.gz %{_infodir}/dir
66e42d
exit 0
66e42d
66e42d
%preun devel
66e42d
if [ $1 = 0 -a -f %{_infodir}/gcrypt.info.gz ]; then
66e42d
    /sbin/install-info --delete %{_infodir}/gcrypt.info.gz %{_infodir}/dir
66e42d
fi
66e42d
exit 0
66e42d
66e42d
%files
66e42d
%dir /etc/gcrypt
66e42d
%config(noreplace) /etc/gcrypt/random.conf
66e42d
%{gcrylibdir}/libgcrypt.so.*
66e42d
%{gcrylibdir}/.libgcrypt.so.*.hmac
66e42d
%{!?_licensedir:%global license %%doc}
66e42d
%license COPYING.LIB
66e42d
%doc AUTHORS NEWS THANKS
66e42d
66e42d
%files devel
66e42d
%{_bindir}/%{name}-config
66e42d
%{_bindir}/dumpsexp
66e42d
%{_bindir}/hmac256
66e42d
%{_bindir}/mpicalc
66e42d
%{_includedir}/*
66e42d
%{_libdir}/*.so
66e42d
%{_datadir}/aclocal/*
66e42d
%{_mandir}/man1/*
66e42d
66e42d
%{_infodir}/gcrypt.info*
66e42d
%{!?_licensedir:%global license %%doc}
66e42d
%license COPYING
66e42d
66e42d
%changelog
5788e9
* Tue Apr 05 2022 Jakub Jelen <jjelen@redhat.com> - 1.8.5-7
5788e9
- Fix CVE-2021-33560 (#2018525)
5788e9
d28a9c
* Mon Jun 28 2021 Jakub Jelen <jjelen@redhat.com> - 1.8.5-6
5788e9
- Fix for CVE-2021-40528 (#1971421)
d28a9c
- Enable HW optimizations in FIPS (#1976137)
d28a9c
- Performance enchancements for ChaCha20 and Poly1305 (#1855231)
d28a9c
d28a9c
* Thu May 13 2021 Jakub Jelen <jjelen@redhat.com> - 1.8.5-5
d28a9c
- Performance enchancements for AES-GCM, CRC32 and SHA2 (#1855231)
d28a9c
4bbd51
* Mon Jun 15 2020 Tomáš Mráz <tmraz@redhat.com> 1.8.5-4
4bbd51
- add PBKDF2 selftest for FIPS POST
4bbd51
4bbd51
* Tue Apr 28 2020 Tomáš Mráz <tmraz@redhat.com> 1.8.5-3
4bbd51
- new upstream version 1.8.5
4bbd51
- AES performance improvements backported from master branch
4bbd51
- FIPS module is implicit with kernel FIPS flag
4bbd51
- always run the FIPS selftests if FIPS module is installed
4bbd51
9fe250
* Mon Jun 24 2019 Tomáš Mráz <tmraz@redhat.com> 1.8.3-4
9fe250
- improve the continuous FIPS entropy test
9fe250
66e42d
* Mon Jun  3 2019 Tomáš Mráz <tmraz@redhat.com> 1.8.3-3
66e42d
- add CMAC selftest for FIPS POST
66e42d
- add continuous FIPS entropy test
66e42d
- disable non-approved FIPS hashes in the enforced FIPS mode
66e42d
66e42d
* Thu Jul 12 2018 Tomáš Mráz <tmraz@redhat.com> 1.8.3-2
66e42d
- make only_urandom a default in non-presence of configuration file
66e42d
- run the full FIPS selftests only when the library is called from
66e42d
  application
66e42d
66e42d
* Thu Jun 14 2018 Tomáš Mráz <tmraz@redhat.com> 1.8.3-1
66e42d
- new upstream version 1.8.3
66e42d
66e42d
* Tue Feb  6 2018 Tomáš Mráz <tmraz@redhat.com> 1.8.2-2
66e42d
- fix behavior when getrandom syscall is not present (#1542453)
66e42d
66e42d
* Thu Dec 21 2017 Tomáš Mráz <tmraz@redhat.com> 1.8.2-1
66e42d
- new upstream version 1.8.2
66e42d
66e42d
* Tue Dec  5 2017 Tomáš Mráz <tmraz@redhat.com> 1.8.1-3
66e42d
- do not try to access() /dev/urandom either if getrandom() works
66e42d
66e42d
* Mon Dec  4 2017 Tomáš Mráz <tmraz@redhat.com> 1.8.1-2
66e42d
- do not try to open /dev/urandom if getrandom() works (#1380866)
66e42d
66e42d
* Tue Sep  5 2017 Tomáš Mráz <tmraz@redhat.com> 1.8.1-1
66e42d
- new upstream version 1.8.1
66e42d
66e42d
* Wed Aug 16 2017 Tomáš Mráz <tmraz@redhat.com> 1.8.0-1
66e42d
- new upstream version 1.8.0
66e42d
66e42d
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.8-3
66e42d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
66e42d
66e42d
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.8-2
66e42d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
66e42d
66e42d
* Thu Jun 29 2017 Tomáš Mráz <tmraz@redhat.com> 1.7.8-1
66e42d
- new upstream version 1.7.8
66e42d
66e42d
* Fri Jun  2 2017 Tomáš Mráz <tmraz@redhat.com> 1.7.7-1
66e42d
- new upstream version 1.7.7
66e42d
- GOST is now enabled
66e42d
66e42d
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.6-2
66e42d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
66e42d
66e42d
* Mon Jan 30 2017 Tomáš Mráz <tmraz@redhat.com> 1.7.6-1
66e42d
- new upstream version 1.7.6
66e42d
66e42d
* Fri Dec 16 2016 Tomáš Mráz <tmraz@redhat.com> 1.7.5-1
66e42d
- new upstream version 1.7.5
66e42d
66e42d
* Wed Nov 23 2016 Tomáš Mráz <tmraz@redhat.com> 1.7.3-1
66e42d
- new upstream version 1.7.3
66e42d
66e42d
* Wed Aug 17 2016 Tomáš Mráz <tmraz@redhat.com> 1.6.6-1
66e42d
- new upstream version with important security fix (CVE-2016-6316)
66e42d
66e42d
* Thu Jul 21 2016 Tomáš Mráz <tmraz@redhat.com> 1.6.5-1
66e42d
- new upstream version fixing low impact issue CVE-2015-7511
66e42d
66e42d
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.4-2
66e42d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
66e42d
66e42d
* Wed Sep  9 2015 Tomáš Mráz <tmraz@redhat.com> 1.6.4-1
66e42d
- new upstream version
66e42d
66e42d
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.3-5
66e42d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
66e42d
66e42d
* Fri Apr  3 2015 Tomáš Mráz <tmraz@redhat.com> 1.6.3-4
66e42d
- deinitialize the RNG after the selftest is run
66e42d
66e42d
* Tue Mar 24 2015 Tomáš Mráz <tmraz@redhat.com> 1.6.3-3
66e42d
- touch only urandom in the selftest and when /dev/random is
66e42d
  unavailable for example by SELinux confinement
66e42d
- fix the RSA selftest key (p q swap) (#1204517)
66e42d
66e42d
* Fri Mar 13 2015 Tomáš Mráz <tmraz@redhat.com> 1.6.3-2
66e42d
- do not use strict aliasing for bufhelp functions (#1201219)
66e42d
66e42d
* Fri Mar  6 2015 Tomáš Mráz <tmraz@redhat.com> 1.6.3-1
66e42d
- new upstream version
66e42d
66e42d
* Wed Feb 25 2015 Tomáš Mráz <tmraz@redhat.com> 1.6.2-4
66e42d
- do not initialize secure memory during the selftest (#1195850)
66e42d
66e42d
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 1.6.2-3
66e42d
- Rebuilt for Fedora 23 Change
66e42d
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
66e42d
66e42d
* Wed Jan 14 2015 Tomáš Mráz <tmraz@redhat.com> 1.6.2-2
66e42d
- fix buildability of programs using gcrypt.h with -ansi (#1182200)
66e42d
66e42d
* Mon Dec  8 2014 Tomáš Mráz <tmraz@redhat.com> 1.6.2-1
66e42d
- new upstream version
66e42d
66e42d
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-7
66e42d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
66e42d
66e42d
* Thu Jul 17 2014 Tom Callaway <spot@fedoraproject.org> - 1.6.1-6
66e42d
- fix license handling
66e42d
66e42d
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-5
66e42d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
66e42d
66e42d
* Tue May 20 2014 Kyle McMartin <kyle@fedoraproject.org> 1.6.1-4
66e42d
- Re-enable below algos, apply patch from upstream list to make
66e42d
  that code -fPIC friendly. (rhbz#1069792)
66e42d
66e42d
* Mon May 19 2014 Kyle McMartin <kyle@fedoraproject.org> 1.6.1-3
66e42d
- Disable rijndael, cast5, camellia ARM assembly, as it's non-PIC as
66e42d
  presently written, which results in .text relocations in the shared
66e42d
  library. (rhbz#1069792)
66e42d
66e42d
* Thu Apr 24 2014 Tomáš Mráz <tmraz@redhat.com> 1.6.1-2
66e42d
- drop the temporary compat shared library version
66e42d
- fix the soname version in -use-fipscheck.patch
66e42d
66e42d
* Fri Feb 28 2014 Tomáš Mráz <tmraz@redhat.com> 1.6.1-1
66e42d
- new upstream version breaking ABI compatibility
66e42d
- this release temporarily includes old compatibility .so
66e42d
66e42d
* Tue Jan 21 2014 Tomáš Mráz <tmraz@redhat.com> 1.5.3-3
66e42d
- add back the nistp521r1 EC curve
66e42d
- fix a bug in the Whirlpool hash implementation
66e42d
- speed up the PBKDF2 computation
66e42d
66e42d
* Sun Oct 20 2013 Tom Callaway <spot@fedoraproject.org> - 1.5.3-2
66e42d
- add cleared ECC support
66e42d
66e42d
* Fri Jul 26 2013 Tomáš Mráz <tmraz@redhat.com> 1.5.3-1
66e42d
- new upstream version fixing cache side-channel attack on RSA private keys
66e42d
66e42d
* Thu Jun 20 2013 Tomáš Mráz <tmraz@redhat.com> 1.5.2-3
66e42d
- silence false error detected by valgrind (#968288)
66e42d
66e42d
* Thu Apr 25 2013 Tomáš Mráz <tmraz@redhat.com> 1.5.2-2
66e42d
- silence strict aliasing warning in Rijndael
66e42d
- apply UsrMove
66e42d
- spec file cleanups
66e42d
66e42d
* Fri Apr 19 2013 Tomáš Mráz <tmraz@redhat.com> 1.5.2-1
66e42d
- new upstream version
66e42d
66e42d
* Wed Mar 20 2013 Tomas Mraz <tmraz@redhat.com> 1.5.1-1
66e42d
- new upstream version
66e42d
66e42d
* Tue Mar  5 2013 Tomas Mraz <tmraz@redhat.com> 1.5.0-11
66e42d
- use poll() instead of select() when gathering randomness (#913773)
66e42d
66e42d
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-10
66e42d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
66e42d
66e42d
* Thu Jan  3 2013 Tomas Mraz <tmraz@redhat.com> 1.5.0-9
66e42d
- allow empty passphrase in PBKDF2 needed for cryptsetup (=891266)
66e42d
66e42d
* Mon Dec  3 2012 Tomas Mraz <tmraz@redhat.com> 1.5.0-8
66e42d
- fix multilib conflict in libgcrypt-config
66e42d
- fix minor memory leaks and other bugs found by Coverity scan
66e42d
66e42d
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-6
66e42d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
66e42d
66e42d
* Thu Apr  5 2012 Tomas Mraz <tmraz@redhat.com> 1.5.0-5
66e42d
- Correctly rebuild the info documentation
66e42d
66e42d
* Wed Apr  4 2012 Tomas Mraz <tmraz@redhat.com> 1.5.0-4
66e42d
- Add GCRYCTL_SET_ENFORCED_FIPS_FLAG command
66e42d
66e42d
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-3
66e42d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
66e42d
66e42d
* Mon Aug 15 2011 Kalev Lember <kalevlember@gmail.com> 1.5.0-2
66e42d
- Rebuilt for rpm bug #728707
66e42d
66e42d
* Thu Jul 21 2011 Tomas Mraz <tmraz@redhat.com> 1.5.0-1
66e42d
- new upstream version
66e42d
66e42d
* Mon Jun 20 2011 Tomas Mraz <tmraz@redhat.com> 1.4.6-4
66e42d
- Always xor seed from /dev/urandom over /etc/gcrypt/rngseed
66e42d
66e42d
* Mon May 30 2011 Tomas Mraz <tmraz@redhat.com> 1.4.6-3
66e42d
- Make the FIPS-186-3 DSA implementation CAVS testable
66e42d
- add configurable source of RNG seed /etc/gcrypt/rngseed
66e42d
  in the FIPS mode (#700388)
66e42d
66e42d
* Fri Feb 11 2011 Tomas Mraz <tmraz@redhat.com> 1.4.6-1
66e42d
- new upstream version with minor changes
66e42d
66e42d
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.5-7
66e42d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
66e42d
66e42d
* Fri Feb  4 2011 Tomas Mraz <tmraz@redhat.com> 1.4.5-6
66e42d
- fix a bug in the fips-186-3 dsa parameter generation code
66e42d
66e42d
* Tue Feb  1 2011 Tomas Mraz <tmraz@redhat.com> 1.4.5-5
66e42d
- use /dev/urandom for seeding in the FIPS mode
66e42d
- make the tests to pass in the FIPS mode also fixing
66e42d
  the FIPS-186-3 DSA keygen
66e42d
66e42d
* Sun Feb 14 2010 Rex Dieter <rdieter@fedoraproject.org> 1.4.5-4
66e42d
- FTBFS libgcrypt-1.4.5-3.fc13: ImplicitDSOLinking (#564973)
66e42d
66e42d
* Wed Feb  3 2010 Tomas Mraz <tmraz@redhat.com> 1.4.5-3
66e42d
- drop the S390 build workaround as it is no longer needed
66e42d
- additional spec file cleanups for merge review (#226008)
66e42d
66e42d
* Mon Dec 21 2009 Tomas Mraz <tmraz@redhat.com> 1.4.5-1
66e42d
- workaround for build on S390 (#548825)
66e42d
- spec file cleanups
66e42d
- upgrade to new minor upstream release
66e42d
66e42d
* Tue Aug 11 2009 Tomas Mraz <tmraz@redhat.com> 1.4.4-8
66e42d
- fix warning when installed with --excludedocs (#515961)
66e42d
66e42d
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.4-7
66e42d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
66e42d
66e42d
* Thu Jun 18 2009 Tomas Mraz <tmraz@redhat.com> 1.4.4-6
66e42d
- and now really apply the padlock patch
66e42d
66e42d
* Wed Jun 17 2009 Tomas Mraz <tmraz@redhat.com> 1.4.4-5
66e42d
- fix VIA padlock RNG inline assembly call (#505724)
66e42d
66e42d
* Thu Mar  5 2009 Tomas Mraz <tmraz@redhat.com> 1.4.4-4
66e42d
- with the integrity verification check the library needs to link to libdl
66e42d
  (#488702)
66e42d
66e42d
* Tue Mar  3 2009 Tomas Mraz <tmraz@redhat.com> 1.4.4-3
66e42d
- add hmac FIPS integrity verification check
66e42d
66e42d
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.4-2
66e42d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
66e42d
66e42d
* Fri Jan 30 2009 Tomas Mraz <tmraz@redhat.com> 1.4.4-1
66e42d
- update to 1.4.4
66e42d
- do not abort when the fips mode kernel flag is inaccessible
66e42d
  due to permissions (#470219)
66e42d
- hobble the library to drop the ECC support
66e42d
66e42d
* Mon Oct 20 2008 Dennis Gilmore <dennis@ausil.us> 1.4.3-2
66e42d
- disable asm on sparc64
66e42d
66e42d
* Thu Sep 18 2008 Nalin Dahyabhai <nalin@redhat.com> 1.4.3-1
66e42d
- update to 1.4.3
66e42d
- own /etc/gcrypt
66e42d
66e42d
* Mon Sep 15 2008 Nalin Dahyabhai <nalin@redhat.com>
66e42d
- invoke make with %%{?_smp_mflags} to build faster on multi-processor
66e42d
  systems (Steve Grubb)
66e42d
66e42d
* Mon Sep  8 2008 Nalin Dahyabhai <nalin@redhat.com> 1.4.2-1
66e42d
- update to 1.4.2
66e42d
66e42d
* Tue Apr 29 2008 Nalin Dahyabhai <nalin@redhat.com> 1.4.1-1
66e42d
- update to 1.4.1
66e42d
- bump libgpgerror-devel requirement to 1.4, matching the requirement enforced
66e42d
  by the configure script
66e42d
66e42d
* Thu Apr  3 2008 Joe Orton <jorton@redhat.com> 1.4.0-3
66e42d
- add patch from upstream to fix severe performance regression
66e42d
  in entropy gathering
66e42d
66e42d
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.4.0-2
66e42d
- Autorebuild for GCC 4.3
66e42d
66e42d
* Mon Dec 10 2007 Nalin Dahyabhai <nalin@redhat.com> - 1.4.0-1
66e42d
- update to 1.4.0
66e42d
66e42d
* Tue Oct 16 2007 Nalin Dahyabhai <nalin@redhat.com> - 1.2.4-6
66e42d
- use ldconfig to build the soname symlink for packaging along with the
66e42d
  shared library (#334731)
66e42d
66e42d
* Wed Aug 22 2007 Nalin Dahyabhai <nalin@redhat.com> - 1.2.4-5
66e42d
- add missing gawk buildrequirement
66e42d
- switch from explicitly specifying the /dev/random RNG to just verifying
66e42d
  that the non-LGPL ones were disabled by the configure script
66e42d
66e42d
* Thu Aug 16 2007 Nalin Dahyabhai <nalin@redhat.com> - 1.2.4-4
66e42d
- clarify license
66e42d
- force use of the linux /dev/random RNG, to avoid accidentally falling back
66e42d
  to others which would affect the license of the resulting library
66e42d
66e42d
* Mon Jul 30 2007 Nalin Dahyabhai <nalin@redhat.com> - 1.2.4-3
66e42d
- disable static libraries (part of #249815)
66e42d
66e42d
* Fri Jul 27 2007 Nalin Dahyabhai <nalin@redhat.com> - 1.2.4-2
66e42d
- move libgcrypt shared library to /%%{_lib} (#249815)
66e42d
66e42d
* Tue Feb  6 2007 Nalin Dahyabhai <nalin@redhat.com> - 1.2.4-1
66e42d
- update to 1.2.4
66e42d
66e42d
* Mon Jan 22 2007 Nalin Dahyabhai <nalin@redhat.com> - 1.2.3-2
66e42d
- make use of install-info more failsafe (Ville Skyttä, #223705)
66e42d
66e42d
* Fri Sep  1 2006 Nalin Dahyabhai <nalin@redhat.com> - 1.2.3-1
66e42d
- update to 1.2.3
66e42d
66e42d
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.2.2-3.1
66e42d
- rebuild
66e42d
66e42d
* Mon Jun 05 2006 Jesse Keating <jkeating@redhat.com> 1.2.2-3
66e42d
- Added missing buildreq pkgconfig
66e42d
66e42d
* Tue May 16 2006 Nalin Dahyabhai <nalin@redhat.com> 1.2.2-2
66e42d
- remove file conflicts in libgcrypt-config by making the 64-bit version
66e42d
  think the libraries are in /usr/lib (which is wrong, but which it also
66e42d
  prunes from the suggest --libs output, so no harm done, hopefully)
66e42d
66e42d
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.2.2-1.2.1
66e42d
- bump again for double-long bug on ppc(64)
66e42d
66e42d
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.2.2-1.2
66e42d
- rebuilt for new gcc4.1 snapshot and glibc changes
66e42d
66e42d
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
66e42d
- rebuilt
66e42d
66e42d
* Wed Oct  5 2005 Nalin Dahyabhai <nalin@redhat.com> 1.2.2-1
66e42d
- update to 1.2.2
66e42d
66e42d
* Wed Mar 16 2005 Nalin Dahyabhai <nalin@redhat.com> 1.2.1-1
66e42d
- update to 1.2.1
66e42d
66e42d
* Fri Jul 30 2004 Florian La Roche <Florian.LaRoche@redhat.de>
66e42d
- another try to package the symlink
66e42d
66e42d
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
66e42d
- rebuilt
66e42d
66e42d
* Sun May  2 2004 Bill Nottingham <notting@redhat.com> - 1.2.0-1
66e42d
- update to official 1.2.0
66e42d
66e42d
* Fri Apr 16 2004 Bill Nottingham <notting@redhat.com> - 1.1.94-1
66e42d
- update to 1.1.94
66e42d
66e42d
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
66e42d
- rebuilt
66e42d
66e42d
* Sat Feb 21 2004 Florian La Roche <Florian.LaRoche@redhat.de>
66e42d
- add symlinks to shared libs at compile time
66e42d
66e42d
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
66e42d
- rebuilt
66e42d
66e42d
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
66e42d
- rebuilt
66e42d
66e42d
* Thu Mar 20 2003 Jeff Johnson <jbj@redhat.com> 1.1.12-1
66e42d
- upgrade to 1.1.12 (beta).
66e42d
66e42d
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
66e42d
- automated rebuild
66e42d
66e42d
* Sun May 26 2002 Tim Powers <timp@redhat.com>
66e42d
- automated rebuild
66e42d
66e42d
* Tue May 21 2002 Jeff Johnson <jbj@redhat.com>
66e42d
- update to 1.1.7
66e42d
- change license to LGPL.
66e42d
- include splint annotations patch.
66e42d
- install info pages.
66e42d
66e42d
* Tue Apr  2 2002 Nalin Dahyabhai <nalin@redhat.com> 1.1.6-1
66e42d
- update to 1.1.6
66e42d
66e42d
* Thu Jan 10 2002 Nalin Dahyabhai <nalin@redhat.com> 1.1.5-1
66e42d
- fix the Source tag so that it's a real URL
66e42d
66e42d
* Thu Dec 20 2001 Nalin Dahyabhai <nalin@redhat.com>
66e42d
- initial package