Blame SPECS/certmonger.spec

7a8c6d
%if 0%{?fedora} > 15 || 0%{?rhel} > 6
7a8c6d
%global systemd 1
7a8c6d
%global	sysvinit 0
7a8c6d
%else
7a8c6d
%global systemd 0
7a8c6d
%global	sysvinit 1
7a8c6d
%endif
7a8c6d
7a8c6d
%if 0%{?fedora} > 15 && 0%{?fedora} < 20
7a8c6d
%global systemdsysv 1
7a8c6d
%else
7a8c6d
%global systemdsysv 0
7a8c6d
%endif
7a8c6d
7a8c6d
%if 0%{?fedora} > 14 || 0%{?rhel} > 6
7a8c6d
%global tmpfiles 1
7a8c6d
%else
7a8c6d
%global tmpfiles 0
7a8c6d
%endif
7a8c6d
7a8c6d
%if 0%{?fedora} > 9 || 0%{?rhel} > 5
7a8c6d
%global sysvinitdir %{_initddir}
7a8c6d
%else
7a8c6d
%global sysvinitdir %{_initrddir}
7a8c6d
%endif
7a8c6d
7a8c6d
Name:		certmonger
7a8c6d
Version:	0.78.4
7a8c6d
Release:	12%{?dist}
7a8c6d
Summary:	Certificate status monitor and PKI enrollment client
7a8c6d
7a8c6d
Group:		System Environment/Daemons
7a8c6d
License:	GPLv3+
7a8c6d
URL:		https://pagure.io/certmonger/
7a8c6d
Source0:	https://releases.pagure.org/certmonger/certmonger-%{version}.tar.gz
7a8c6d
Source1:	https://releases.pagure.org/released/certmonger/certmonger-%{version}.tar.gz.sig
7a8c6d
BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
7a8c6d
7a8c6d
Patch0001:	0001-Stop-assuming-RSA-512-works.patch
7a8c6d
Patch0002:	0002-Stop-assuming-RSA-512-works-part-two.patch
7a8c6d
Patch0003:	0003-Add-issuer-request-option-for-specifying-issuer.patch
7a8c6d
Patch0004:	0004-Documentation-mark-CERTMONGER_CA_ISSUER-as-0.79.patch
7a8c6d
Patch0005:	0005-Comment-whitespace-fixup.patch
7a8c6d
Patch0006:	0006-ipa-submit-Retry-without-ca-on-OptionError.patch
7a8c6d
Patch0007:	0007-getcert-fix-a-potential-out-of-bounds.patch
7a8c6d
Patch0008:	0008-Document-the-X-option-in-the-ipa-submit-man-page.patch
7a8c6d
Patch0009:	0009-Fix-a-flakiness-in-the-028-dbus-test.patch
7a8c6d
Patch0010:	0010-Set-all-bits-to-1-in-local-CA-Basic-Constraint-to-se.patch
7a8c6d
Patch0011:	0011-Fix-conversions-of-bit-lengths-to-byte-lengths.patch
7a8c6d
Patch0012:	0012-Remove-trailing-CR-LF-when-reading-passwords-from-a-.patch
7a8c6d
Patch0013:	0013-Disable-the-10-iterate-tests-which-randomly-fail.patch
7a8c6d
Patch0014:	0014-MS-cert-template-add-D-Bus-property-and-storage.patch
7a8c6d
Patch0015:	0015-MS-cert-template-add-template-extension-to-CSR.patch
7a8c6d
Patch0016:	0016-MS-cert-template-add-option-to-command-line-programs.patch
7a8c6d
Patch0017:	0017-MS-cert-template-validate-argument.patch
7a8c6d
Patch0018:	0018-MS-cert-template-add-tests.patch
7a8c6d
Patch0019:	0019-Fix-C99-build-error-on-EL7-systems.patch
7a8c6d
Patch0020:	0020-If-stderr-is-not-a-tty-log-to-syslog-so-the-helpers-.patch
7a8c6d
Patch0021:	0021-On-PKCS-7-verify-failures-log-the-PKCS-7-file-fix-va.patch
7a8c6d
Patch0022:	0022-Allow-configuration-of-client-SCEP-algorithms.patch
7a8c6d
Patch0023:	0023-Updates-per-Feedback.patch
7a8c6d
Patch0024:	0024-Updated-tests.patch
7a8c6d
Patch0025:	0025-Add-cipher-and-digest-difference-messages.patch
7a8c6d
Patch0026:	0026-Document-key-cert-file-owner-and-mode-options.patch
7a8c6d
Patch0027:	0027-scep-correct-GetCAChain-to-GetCACertChain.patch
7a8c6d
Patch0028:	0028-No-message-ca-ident-from-GetCACaps-GetCACert-drop-Ge.patch
7a8c6d
Patch0029:	0029-Document-R-N-o-in-dogtag-ipa-renew-agent-submit.patch
7a8c6d
7a8c6d
7a8c6d
Patch1001:	1001-Remove-rekey-feature.patch
7a8c6d
Patch1002:	1002-Fix-CA-option-name-for-ipa-cert-request.patch
7a8c6d
7a8c6d
BuildRequires:	openldap-devel
7a8c6d
BuildRequires:	dbus-devel, nspr-devel, nss-devel, openssl-devel, libidn-devel
7a8c6d
%if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
7a8c6d
BuildRequires:  libuuid-devel
7a8c6d
%else
7a8c6d
BuildRequires:  e2fsprogs-devel
7a8c6d
%endif
7a8c6d
BuildRequires:	libtalloc-devel, libtevent-devel
7a8c6d
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 9
7a8c6d
BuildRequires:	libcurl-devel
7a8c6d
%else
7a8c6d
BuildRequires:	curl-devel
7a8c6d
%endif
7a8c6d
BuildRequires:	libxml2-devel, xmlrpc-c-devel
7a8c6d
%if 0%{?rhel} < 6
7a8c6d
BuildRequires:	bind-libbind-devel
7a8c6d
%endif
7a8c6d
# Required for 'make check':
7a8c6d
#  for diff and cmp
7a8c6d
BuildRequires:	diffutils
7a8c6d
#  for expect
7a8c6d
BuildRequires:	expect
7a8c6d
#  for mktemp, which was absorbed into coreutils at some point
7a8c6d
BuildRequires:	mktemp
7a8c6d
#  for certutil and pk12util
7a8c6d
BuildRequires:	nss-tools
7a8c6d
#  for openssl
7a8c6d
BuildRequires:	openssl
7a8c6d
#  for dbus-launch
7a8c6d
BuildRequires:	/usr/bin/dbus-launch
7a8c6d
#  for dos2unix
7a8c6d
BuildRequires:	/usr/bin/dos2unix
7a8c6d
BuildRequires:	/usr/bin/unix2dos
7a8c6d
#  for which
7a8c6d
BuildRequires:	/usr/bin/which
7a8c6d
#  for dbus tests
7a8c6d
BuildRequires:	dbus-python
7a8c6d
#  for popt or popt-devel, depending on the build environment
7a8c6d
BuildRequires: /usr/include/popt.h
7a8c6d
BuildRequires:  autoconf
7a8c6d
BuildRequires:  automake
7a8c6d
BuildRequires:  pkgconfig
7a8c6d
BuildRequires:  libtool
7a8c6d
BuildRequires:	gettext-devel
7a8c6d
7a8c6d
# we need a running system bus
7a8c6d
Requires:	dbus
7a8c6d
7a8c6d
# for killall in post script
7a8c6d
Requires:      psmisc
7a8c6d
7a8c6d
%if %{systemd}
7a8c6d
BuildRequires:	systemd-units
7a8c6d
Requires(post):	systemd-units
7a8c6d
Requires(preun):	systemd-units, dbus, sed
7a8c6d
Requires(postun):	systemd-units
7a8c6d
%endif
7a8c6d
7a8c6d
%if %{systemdsysv}
7a8c6d
Requires(post):	systemd-sysv
7a8c6d
%global systemdsysvsave \
7a8c6d
# Save the current service runlevel info, in case the user wants \
7a8c6d
# to apply the enabled status manually later, by running \
7a8c6d
#   "systemd-sysv-convert --apply certmonger". \
7a8c6d
%{_bindir}/systemd-sysv-convert --save certmonger >/dev/null 2>&1 ||:
7a8c6d
%else
7a8c6d
%global systemdsysvsave %{nil}
7a8c6d
%endif
7a8c6d
7a8c6d
%if %{sysvinit}
7a8c6d
Requires(post):	/sbin/chkconfig, /sbin/service
7a8c6d
Requires(preun):	/sbin/chkconfig, /sbin/service, dbus, sed
7a8c6d
%endif
7a8c6d
7a8c6d
%if 0%{?fedora} >= 15
7a8c6d
# Certain versions of libtevent have incorrect internal ABI versions.
7a8c6d
Conflicts: libtevent < 0.9.13
7a8c6d
%endif
7a8c6d
7a8c6d
%description
7a8c6d
Certmonger is a service which is primarily concerned with getting your
7a8c6d
system enrolled with a certificate authority (CA) and keeping it enrolled.
7a8c6d
7a8c6d
%prep
7a8c6d
%autosetup -p1
7a8c6d
7a8c6d
%if 0%{?rhel} > 0
7a8c6d
# Enabled by default for RHEL for bug #765600, still disabled by default for
7a8c6d
# Fedora pending a similar bug report there.
7a8c6d
sed -i 's,^# chkconfig: - ,# chkconfig: 345 ,g' sysvinit/certmonger.in
7a8c6d
%endif
7a8c6d
7a8c6d
%build
7a8c6d
autoreconf -i -f
7a8c6d
%configure \
7a8c6d
%if %{systemd}
7a8c6d
	--enable-systemd \
7a8c6d
%endif
7a8c6d
%if %{sysvinit}
7a8c6d
	--enable-sysvinit=%{sysvinitdir} \
7a8c6d
%endif
7a8c6d
%if %{tmpfiles}
7a8c6d
	--enable-tmpfiles \
7a8c6d
%endif
7a8c6d
	--with-homedir=/var/run/certmonger \
7a8c6d
	--with-tmpdir=/var/run/certmonger --enable-pie --enable-now
7a8c6d
# For some reason, some versions of xmlrpc-c-config in Fedora and RHEL just
7a8c6d
# tell us about libxmlrpc_client, but we need more.  Work around.
7a8c6d
make %{?_smp_mflags} XMLRPC_LIBS="-lxmlrpc_client -lxmlrpc_util -lxmlrpc"
7a8c6d
7a8c6d
%install
7a8c6d
rm -rf $RPM_BUILD_ROOT
7a8c6d
make install DESTDIR=$RPM_BUILD_ROOT
7a8c6d
mkdir -p $RPM_BUILD_ROOT/%{_localstatedir}/lib/certmonger/{cas,requests}
7a8c6d
install -m755 -d $RPM_BUILD_ROOT/var/run/certmonger
7a8c6d
%{find_lang} %{name}
7a8c6d
7a8c6d
%check
7a8c6d
make check
7a8c6d
7a8c6d
%clean
7a8c6d
rm -rf $RPM_BUILD_ROOT
7a8c6d
7a8c6d
%post
7a8c6d
if test $1 -eq 1 ; then
7a8c6d
	killall -HUP dbus-daemon 2>&1 > /dev/null
7a8c6d
fi
7a8c6d
%if %{systemd}
7a8c6d
if test $1 -eq 1 ; then
7a8c6d
	/bin/systemctl daemon-reload >/dev/null 2>&1 || :
7a8c6d
fi
7a8c6d
%endif
7a8c6d
%if %{sysvinit}
7a8c6d
/sbin/chkconfig --add certmonger
7a8c6d
%endif
7a8c6d
7a8c6d
%triggerin -- certmonger < 0.58
7a8c6d
if test $1 -gt 1 ; then
7a8c6d
	# If the daemon is running, remove knowledge of the dogtag renewer.
7a8c6d
	objpath=`dbus-send --system --reply-timeout=10000 --dest=org.fedorahosted.certmonger --print-reply=o /org/fedorahosted/certmonger org.fedorahosted.certmonger.find_ca_by_nickname string:dogtag-ipa-renew-agent 2> /dev/null | sed -r 's,^ +,,g' || true`
7a8c6d
	if test -n "$objpath" ; then
7a8c6d
		dbus-send --system --dest=org.fedorahosted.certmonger --print-reply /org/fedorahosted/certmonger org.fedorahosted.certmonger.remove_known_ca objpath:"$objpath" >/dev/null 2> /dev/null
7a8c6d
	fi
7a8c6d
	# Remove the data file, in case it isn't running.
7a8c6d
	for cafile in %{_localstatedir}/lib/certmonger/cas/* ; do
7a8c6d
		if grep -q '^id=dogtag-ipa-renew-agent$' "$cafile" ; then
7a8c6d
			rm -f "$cafile"
7a8c6d
		fi
7a8c6d
	done
7a8c6d
fi
7a8c6d
exit 0
7a8c6d
7a8c6d
%postun
7a8c6d
%if %{systemd}
7a8c6d
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
7a8c6d
if [ $1 -ge 1 ] ; then
7a8c6d
	/bin/systemctl try-restart certmonger.service >/dev/null 2>&1 || :
7a8c6d
fi
7a8c6d
%endif
7a8c6d
%if %{sysvinit}
7a8c6d
if test $1 -gt 0 ; then
7a8c6d
	/sbin/service certmonger condrestart 2>&1 > /dev/null
7a8c6d
fi
7a8c6d
%endif
7a8c6d
exit 0
7a8c6d
7a8c6d
%preun
7a8c6d
%if %{systemd}
7a8c6d
if test $1 -eq 0 ; then
7a8c6d
	/bin/systemctl --no-reload disable certmonger.service > /dev/null 2>&1 || :
7a8c6d
	/bin/systemctl stop certmonger.service > /dev/null 2>&1 || :
7a8c6d
fi
7a8c6d
%endif
7a8c6d
%if %{sysvinit}
7a8c6d
if test $1 -eq 0 ; then
7a8c6d
	/sbin/service certmonger stop 2>&1 > /dev/null
7a8c6d
	/sbin/chkconfig --del certmonger
7a8c6d
fi
7a8c6d
%endif
7a8c6d
exit 0
7a8c6d
7a8c6d
%if %{systemd}
7a8c6d
%triggerun -- certmonger < 0.43
7a8c6d
%{systemdsysvsave}
7a8c6d
# Do this because the old package's %%postun doesn't know we need to do it.
7a8c6d
/sbin/chkconfig --del certmonger >/dev/null 2>&1 || :
7a8c6d
# Do this because the old package's %%postun wouldn't have tried.
7a8c6d
/bin/systemctl try-restart certmonger.service >/dev/null 2>&1 || :
7a8c6d
exit 0
7a8c6d
%endif
7a8c6d
7a8c6d
%files -f %{name}.lang
7a8c6d
%defattr(-,root,root,-)
7a8c6d
%doc README LICENSE STATUS doc/*.txt
7a8c6d
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/*
7a8c6d
%{_datadir}/dbus-1/services/*
7a8c6d
%dir %{_sysconfdir}/certmonger
7a8c6d
%config(noreplace) %{_sysconfdir}/certmonger/certmonger.conf
7a8c6d
%dir /var/run/certmonger
7a8c6d
%{_bindir}/*
7a8c6d
%{_sbindir}/certmonger
7a8c6d
%{_mandir}/man*/*
7a8c6d
%{_libexecdir}/%{name}
7a8c6d
%{_localstatedir}/lib/certmonger
7a8c6d
%if %{sysvinit}
7a8c6d
%{sysvinitdir}/certmonger
7a8c6d
%endif
7a8c6d
%if %{tmpfiles}
7a8c6d
%attr(0644,root,root) %config(noreplace) %{_tmpfilesdir}/certmonger.conf
7a8c6d
%endif
7a8c6d
%if %{systemd}
7a8c6d
%{_unitdir}/*
7a8c6d
%{_datadir}/dbus-1/system-services/*
7a8c6d
%endif
7a8c6d
7a8c6d
%changelog
7a8c6d
* Wed Jul 31 2019 Rob Crittenden <rcritten@redhat.com> - 0.78.4-12
7a8c6d
- Add documentation for the '-N' option to the dogtag-ipa-renew-agent-submit
7a8c6d
  man page (#1651368)
7a8c6d
- SCEP: Don't set message=<ca ident> with GetCaps and GetCACert (#1608781)
7a8c6d
- SCEP operation GetCAChain is not valid. Should be GetCACertChain (#1590727)
7a8c6d
- Document owner and permission parameters to getcert (#1549585)
7a8c6d
7a8c6d
* Tue Feb 12 2019 Rob Crittenden <rcritten@redhat.com> - 0.78.4-11
7a8c6d
- Increase SCEP spec compliance, set more secure default cipher and hash.
7a8c6d
  (#1533216)
7a8c6d
7a8c6d
* Fri Aug 24 2018 Rob Crittenden <rcritten@redhat.com> - 0.78.4-10
7a8c6d
- Backport patches to add support for the MS Certificate Template V2
7a8c6d
  extension (#1622184)
7a8c6d
7a8c6d
* Mon Aug 13 2018 Rob Crittenden <rcritten@redhat.com> - 0.78.4-9
7a8c6d
- Remove patch to pass _PROXY, _proxy, LANG and LC_* environment
7a8c6d
  variables to helpers. The root cause was a bug in IPA (#1596161)
7a8c6d
7a8c6d
* Tue Jul 17 2018 Rob Crittenden <rcritten@redhat.com> - 0.78.4-8
7a8c6d
- Disable iterate-10 test which fails intermitently (#1596161)
7a8c6d
- Add BuildRequires for running autoreconf
7a8c6d
7a8c6d
* Tue Jul 17 2018 Rob Crittenden <rcritten@redhat.com> - 0.78.4-7
7a8c6d
- Pass _PROXY, _proxy, LANG and LC_* environment variables to
7a8c6d
  helpers (#1596161)
7a8c6d
7a8c6d
* Tue May 29 2018 Rob Crittenden <rcritten@redhat.com> - 0.78.4-6
7a8c6d
- Remove reference to unused patch
7a8c6d
7a8c6d
* Mon May 21 2018 Rob Crittenden <rcritten@redhat.com> - 0.78.4-5
7a8c6d
- Add Requires on psmsic for killall in post script (#1458890)
7a8c6d
- upstream project migrated from fedorahosted.org to pagure.io (#1501723)
7a8c6d
- Strip CR/LF from passwords read from a file (#1545935)
7a8c6d
7a8c6d
* Mon Mar  5 2018 Rob Crittenden <rcritten@redhat.com> - 0.78.4-4
7a8c6d
- Use required DER encoding when setting CA basic constraint (#1551635)
7a8c6d
- NSS 3.34 more strictly enforces length checking when verifying signatures
7a8c6d
  (#1551702)
7a8c6d
7a8c6d
* Tue Sep  6 2016 Jan Cholasta <jcholast@redhat.com> - 0.78.4-3
7a8c6d
- Resolves: #1367683 getcert request command fails to use Sub CA using -X
7a8c6d
  argument
7a8c6d
  - Fix CA option name for ipa cert-request
7a8c6d
7a8c6d
* Fri Jul  1 2016 Jan Cholasta <jcholast@redhat.com> - 0.78.4-2
7a8c6d
- Resolves: #1345755 Support for specifying IPA lightweight CA
7a8c6d
  - Add 'issuer' request option for specifying issuer
7a8c6d
  - Documentation: mark $CERTMONGER_CA_ISSUER as 0.79
7a8c6d
  - Comment/whitespace fixup
7a8c6d
  - ipa-submit: Retry without "ca" on OptionError
7a8c6d
  - getcert: fix a potential out-of-bounds
7a8c6d
  - Document the -X option in the ipa-submit man page
7a8c6d
- Resolves: #1351052 certmonger build for RHEL 7.3 failure
7a8c6d
  - Stop assuming RSA 512 works
7a8c6d
  - Stop assuming RSA 512 works, part two
7a8c6d
  - Fix a flakiness in the 028-dbus test
7a8c6d
7a8c6d
* Mon Aug 10 2015 Jan Cholasta <jcholast@redhat.com> - 0.78.4-1
7a8c6d
- Resolves: #1249753 challenge password not added in csr using start-tracking
7a8c6d
- Resolves: #1250397 Remove certmonger rekey feature in 7.2
7a8c6d
  - Remove rekey feature
7a8c6d
- Related:  #1205756 Rebase certmonger to 0.77 or later
7a8c6d
  - Update to upstream 0.78.4
7a8c6d
7a8c6d
* Fri Jul 24 2015 Jan Cholasta <jcholast@redhat.com> - 0.78.3-1
7a8c6d
- Resolves: #1244914 scep ca helper does not parse command line options
7a8c6d
  correctly
7a8c6d
- Related:  #1205756 Rebase certmonger to 0.77 or later
7a8c6d
  - Update to upstream 0.78.3
7a8c6d
7a8c6d
* Mon Jun 22 2015 Jan Cholasta <jcholast@redhat.com> - 0.78.1-1
7a8c6d
- Resolves: #1140241 RFE: Add SCEP support to certmonger
7a8c6d
- Resolves: #1148001 ipa-getcert killed by SIGABRT
7a8c6d
- Resolves: #1205756 Rebase certmonger to 0.77 or later
7a8c6d
  - Update to upstream 0.78.1
7a8c6d
7a8c6d
* Tue Jan 13 2015 Jan Cholasta <jcholast@redhat.com> - 0.75.14-3
7a8c6d
- backport change from git to correctly retrieve string values from DBus
7a8c6d
  property interface replies (#1181022)
7a8c6d
7a8c6d
* Wed Nov 19 2014 Jan Cholasta <jcholast@redhat.com> - 0.75.14-2
7a8c6d
- backport dogtag-submit: accept additional options to pass to the server when
7a8c6d
  approving requests using agent creds (#1165155)
7a8c6d
7a8c6d
* Thu Aug 28 2014 Nalin Dahyabhai <nalin@redhat.com> 0.75.14-1
7a8c6d
- make pathname canonicalization slightly smarter, to handle ".." in
7a8c6d
  locations (#1131758)
7a8c6d
- updates to self-tests (#1144082)
7a8c6d
7a8c6d
* Thu Aug 21 2014 Kevin Fenzi <kevin@scrye.com> - 0.75.13-2
7a8c6d
- Rebuild for rpm bug 1131960
7a8c6d
7a8c6d
* Mon Aug 18 2014 Nalin Dahyabhai <nalin@redhat.com> 0.75.13-1
7a8c6d
- add a missing test case file (whoops)
7a8c6d
7a8c6d
* Mon Aug 18 2014 Nalin Dahyabhai <nalin@redhat.com> 0.75.12-1
7a8c6d
- correct encoding/decoding of variant-typed data which we receive and send
7a8c6d
  as part of the org.freedesktop.DBus.Properties interface over the bus, and
7a8c6d
  add some tests for them (based on patch from David Kupka, ticket #36)
7a8c6d
7a8c6d
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.75.10-2
7a8c6d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
7a8c6d
7a8c6d
* Tue Aug 12 2014 Nalin Dahyabhai <nalin@redhat.com> 0.75.11-1
7a8c6d
- when getcert is passed a -a flag, to indicate that CA root certificates
7a8c6d
  should be stored in the specified database, don't ignore locations which
7a8c6d
  don't include a storage scheme (#1129537)
7a8c6d
- when called to 'start-tracking' with the -a or -F flags, if we have
7a8c6d
  applicable certificates on-hand for a CA that we're either told to use
7a8c6d
  or which we decide is the correct one, save the certificates (#1129696)
7a8c6d
7a8c6d
* Tue Aug  5 2014 Nalin Dahyabhai <nalin@redhat.com> 0.75.10-1
7a8c6d
- when attempting to contact an IPA LDAP server, if no "ldap_uri" is set in
7a8c6d
  default.conf, and no "host" is set either, try to construct the server URI
7a8c6d
  using the "server" setting (#1126985)
7a8c6d
7a8c6d
* Thu Jul 31 2014 Nalin Dahyabhai <nalin@redhat.com> 0.75.9-1
7a8c6d
- avoid potential use-after-free after a CA is removed dynamically (thanks to
7a8c6d
  Keenan Brock) (#1125342)
7a8c6d
- add a "external-helper" property to CA objects
7a8c6d
7a8c6d
* Mon Jul 21 2014 Nalin Dahyabhai <nalin@redhat.com> 0.75.8-1
7a8c6d
- add a 'refresh' option to the getcert command
7a8c6d
- add a '-a' flag to the getcert command's 'refresh-ca' option
7a8c6d
7a8c6d
* Thu Jul 17 2014 Nalin Dahyabhai <nalin@redhat.com> 0.75.7-2
7a8c6d
- reintroduce package Requires: on systemd-sysv on F19 and EL6 and older,
7a8c6d
  conditionalized it so that it's ignored on newer releases, and make
7a8c6d
  whether or not we call systemd-sysv-convert in triggers depend on that,
7a8c6d
  too (#1104138)
7a8c6d
7a8c6d
* Thu Jul 17 2014 Nalin Dahyabhai <nalin@redhat.com> 0.75.7-1
7a8c6d
- fix an inconsistency in how we parse cookie values returned by CA helpers,
7a8c6d
  in that single-line values would lose the end-of-line after a daemon
7a8c6d
  restart, but not before
7a8c6d
- handle timeout values and exit status values when calling CA helpers
7a8c6d
  in non-SUBMIT, non-POLL modes (#1118468)
7a8c6d
- rework how we save CA certificates so that we save CA certificates associated
7a8c6d
  with end-entity certificates when we save that end-entity certificate, which
7a8c6d
  requires running all of the involved pre- and post-save commands
7a8c6d
- drop package Requires: on systemd-sysv (#1104138)
7a8c6d
7a8c6d
* Thu Jun 26 2014 Nalin Dahyabhai <nalin@redhat.com> 0.75.6-1
7a8c6d
- avoid potential use-after-free and read overrun after a CA is added
7a8c6d
  dynamically (thanks to Jan Cholasta)
7a8c6d
7a8c6d
* Fri Jun 20 2014 Nalin Dahyabhai <nalin@redhat.com> 0.75.5-1
7a8c6d
- documentation updates
7a8c6d
7a8c6d
* Fri Jun 20 2014 Nalin Dahyabhai <nalin@redhat.com> 0.75.4-2
7a8c6d
- add a %%trigger to remove knowledge of the "dogtag-ipa-renew-agent" CA
7a8c6d
  when we detect certmonger versions prior to 0.58 being installed, to
7a8c6d
  avoid cases where some older versions choke on CAs with nicknames that
7a8c6d
  contain characters that can't legally be part of a D-Bus name (#948993)
7a8c6d
7a8c6d
* Thu Jun 19 2014 Nalin Dahyabhai <nalin@redhat.com> 0.75.4-1
7a8c6d
- fix creation and packaging of the "local" CA's data directory
7a8c6d
7a8c6d
* Wed Jun 18 2014 Nalin Dahyabhai <nalin@redhat.com> 0.75.3-1
7a8c6d
- read and cache whether or not we saw a noOCSPcheck extension in certificates
7a8c6d
- documentation updates
7a8c6d
7a8c6d
* Mon Jun 16 2014 Nalin Dahyabhai <nalin@redhat.com> 0.75.2-1
7a8c6d
- when generating keys using OpenSSL, if key generation fails, try
7a8c6d
  again with the default key size, in case we're in FIPS mode
7a8c6d
- documentation updates
7a8c6d
7a8c6d
* Sat Jun 14 2014 Nalin Dahyabhai <nalin@redhat.com> 0.75.1-1
7a8c6d
- log the state in 'getcert status' verbose mode
7a8c6d
7a8c6d
* Fri Jun 13 2014 Nalin Dahyabhai <nalin@redhat.com> 0.75-1
7a8c6d
- add a -w (wait) flag to the getcert's request/resubmit/start-tracking
7a8c6d
  commands, and add a non-waiting status command
7a8c6d
7a8c6d
* Wed Jun 11 2014 Nalin Dahyabhai <nalin@redhat.com> 0.74.96-1
7a8c6d
- make the trust settings we apply to CA-supplied certificates while
7a8c6d
  saving them to NSS databases run-time configurable
7a8c6d
- fix compiling against EL5-era OpenSSL
7a8c6d
- when saving CA certificates we pull from an IPA server, nickname
7a8c6d
  it using the realm name with " IPA CA" appended rather than just
7a8c6d
  naming it "IPA CA"
7a8c6d
- fix the local signer so that when it issues itself a new certificate,
7a8c6d
  it uses the same subject name
7a8c6d
- add a -w flag to getcert's request, resubmit, and start-tracking
7a8c6d
  commands, telling it to wait until either the certificate is issued,
7a8c6d
  we get to a state where we know that we won't be able to get one, or
7a8c6d
  we are waiting for a CA
7a8c6d
7a8c6d
* Mon Jun  9 2014 Nalin Dahyabhai <nalin@redhat.com> 0.74.95-1
7a8c6d
- add the "local" signer, a local toy CA that signs anything you'll
7a8c6d
  ask it to sign
7a8c6d
7a8c6d
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.74-2
7a8c6d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
7a8c6d
7a8c6d
* Fri Jun  6 2014 Nalin Dahyabhai <nalin@redhat.com> 0.74.94-1
7a8c6d
- fix self-test errors that we trigger with new OpenSSL
7a8c6d
- fix a build error that would sometimes happen when we're told to
7a8c6d
  build PIE binaries
7a8c6d
- quiet a compile warning
7a8c6d
7a8c6d
* Thu Jun  5 2014 Nalin Dahyabhai <nalin@redhat.com> 0.74.93-1
7a8c6d
- add some self-tests
7a8c6d
- simplify the internal submit-to-CA logic
7a8c6d
- fixes for more problems found through static analysis
7a8c6d
7a8c6d
* Tue Jun  3 2014 Nalin Dahyabhai <nalin@redhat.com> 0.74.92-1
7a8c6d
- retrieve CA information from CAs, if the helpers can do so, and
7a8c6d
  add a command to explicitly refresh that data: "getcert refresh-ca"
7a8c6d
- offer to save CA certificates to files and databases, when specified with
7a8c6d
  new -a and -F flags to getcert request/resubmit/start-tracking (#1098208,
7a8c6d
  trac #31)
7a8c6d
- add IP address subject alternate names when getcert request/resubmit
7a8c6d
  is passed the -A option (trac #35)
7a8c6d
- read and cache the freshestCRL extension in certificates
7a8c6d
- properly interpret KDC-unreachable errors encountered in the IPA
7a8c6d
  submission error as a server-unreachable error that we will retry,
7a8c6d
  rather than a misconfiguration error which we won't
7a8c6d
- don't let tests get tripped up by new formatting used in dos2unix status
7a8c6d
  messages (#1099080)
7a8c6d
- updated translations
7a8c6d
- be explicit that we are going to use bashisms in test scripts by calling
7a8c6d
  the shell interpreter as 'bash' rather than 'sh' (trac #27)
7a8c6d
7a8c6d
* Thu Apr  3 2014 Nalin Dahyabhai <nalin@redhat.com> 0.74-1
7a8c6d
- also save state when we exit due to SIGHUP
7a8c6d
- don't get tripped up when enrollment helpers hand us certificates which
7a8c6d
  include CRLF line terminators (ticket #25)
7a8c6d
- be tolerant of certificate issuer names, subject names, DNS, email, and
7a8c6d
  Kerberos principal namem subjectAltNames, and crl distribution point URLs
7a8c6d
  that contain newlines
7a8c6d
- read and cache the certificate template extension in certificates
7a8c6d
- enforce different minimum key sizes depending on the type of key we're
7a8c6d
  trying to generate
7a8c6d
- store DER versions of subject, issuer and template subject, if we have
7a8c6d
  them (Jan Cholasta, ticket #26)
7a8c6d
- when generating signing requests with subject names that don't quite parse
7a8c6d
  as subject names, encode what we're given as PrintableString rather than
7a8c6d
  as a UTF8String
7a8c6d
- always chdir() to a known location at startup, even if we're not becoming
7a8c6d
  a daemon
7a8c6d
- fix a couple of memory leaks (static analysis)
7a8c6d
- add missing buildrequires: on which
7a8c6d
7a8c6d
* Thu Feb 20 2014 Nalin Dahyabhai <nalin@redhat.com> 0.73-1
7a8c6d
- updates to 0.73
7a8c6d
  - getcert no longer claims to be stuck when a CA is unreachable,
7a8c6d
    because the daemon isn't actually stuck
7a8c6d
7a8c6d
* Mon Feb 17 2014 Nalin Dahyabhai <nalin@redhat.com>
7a8c6d
- updates to 0.73
7a8c6d
  - also pass the key type to enrollment helpers in the environment as
7a8c6d
    a the value of "CERTMONGER_KEY_TYPE"
7a8c6d
7a8c6d
* Mon Feb 10 2014 Nalin Dahyabhai <nalin@redhat.com>
7a8c6d
- move the tmpfiles.d file from /etc/tmpfiles.d to %%{_tmpfilesdir},
7a8c6d
  where it belongs (#1180978)
7a8c6d
7a8c6d
* Mon Feb 10 2014 Nalin Dahyabhai <nalin@redhat.com>
7a8c6d
- updates for 0.73
7a8c6d
  - set the flag to encode EC public key parameters using named curves
7a8c6d
    instead of the default of all-the-details when using OpenSSL
7a8c6d
  - don't break when NSS supports secp521r1 but OpenSSL doesn't
7a8c6d
  - also pass the CA nickname to enrollment helpers in the environment as
7a8c6d
    a text value in "CERTMONGER_CA_NICKNAME", so they can use that value
7a8c6d
    when reading configuration settings
7a8c6d
  - also pass the SPKAC value to enrollment helpers in the environment as
7a8c6d
    a base64 value in "CERTMONGER_SPKAC"
7a8c6d
  - also pass the request's SubjectPublicKeyInfo value to enrollment helpers
7a8c6d
    in the environment as a base64 value in "CERTMONGER_SPKI" (part of #16)
7a8c6d
  - when generating signing requests using NSS, be more accommodating of
7a8c6d
    requested subject names that don't parse properly
7a8c6d
7a8c6d
* Mon Feb  3 2014 Nalin Dahyabhai <nalin@redhat.com> 0.72-1
7a8c6d
- update to 0.72
7a8c6d
  - support generating DSA parameters and keys on sufficiently-new OpenSSL
7a8c6d
    and NSS
7a8c6d
  - support generating EC keys when OpenSSL and NSS support it, using key
7a8c6d
    size to select the curve to use from among secp256r1, secp384r1,
7a8c6d
    secp521r1 (which are the ones that are usually available, though
7a8c6d
    secp521r1 isn't always, even if the other two are)
7a8c6d
  - stop trying to cache public key parameters at all and instead cache public
7a8c6d
    key info properly
7a8c6d
  - encode the friendlyName attribute in signing requests as a BMPString,
7a8c6d
    not as a PrintableString
7a8c6d
  - catch more filesystem permissions problems earlier (more of #996581)
7a8c6d
7a8c6d
* Mon Jan 27 2014 Nalin Dahyabhai <nalin@redhat.com> 0.71-1
7a8c6d
- check for cases where we fail to allocate memory while reading a request
7a8c6d
  or CA entry from disk (John Haxby)
7a8c6d
- only handle one watch at a time, which should avoid abort() during
7a8c6d
  attempts to reconnect to the message bus after losing our connection
7a8c6d
  to it (#1055521)
7a8c6d
7a8c6d
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.70-2
7a8c6d
- Mass rebuild 2014-01-24
7a8c6d
7a8c6d
* Thu Jan  2 2014 Nalin Dahyabhai <nalin@redhat.com> 0.70-1
7a8c6d
- add a --with-homedir option to configure, and use it, since subprocesses
7a8c6d
  which we run and which use NSS may attempt to write to $HOME/.pki, and
7a8c6d
  0.69's strategy of setting that to "/" was rightly hitting SELinux policy
7a8c6d
  denials (#1047798)
7a8c6d
7a8c6d
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.69-2
7a8c6d
- Mass rebuild 2013-12-27
7a8c6d
7a8c6d
* Mon Dec  9 2013 Nalin Dahyabhai <nalin@redhat.com> 0.69-1
7a8c6d
- tweak how we decide whether we're on the master or a minion when we're
7a8c6d
  told to use certmaster as a CA
7a8c6d
- clean up one of the tests so that it doesn't have to work around internal
7a8c6d
  logging producing duplicate messages
7a8c6d
- when logging errors while setting up to contact xmlrpc servers, explicitly
7a8c6d
  note that the error is client-side
7a8c6d
- don't abort() due to incorrect locking when an attempt to save an issued
7a8c6d
  certificate to the designated location fails (part of #1032760/#1033333,
7a8c6d
  ticket #22)
7a8c6d
- when reading an issued certificate from an enrollment helper, ignore
7a8c6d
  noise before or after the certificate itself (more of #1032760/1033333,
7a8c6d
  ticket #22)
7a8c6d
- run subprocesses in a cleaned-up environment (more of #1032760/1033333,
7a8c6d
  ticket #22)
7a8c6d
- clear the ca-error that we saved when we had an error talking to the CA if we
7a8c6d
  subsequently succeed in talking to the CA
7a8c6d
- various other static-analysis fixes
7a8c6d
7a8c6d
* Thu Aug 29 2013 Nalin Dahyabhai <nalin@redhat.com> 0.68-1
7a8c6d
- notice when the OpenSSL RNG isn't seeded
7a8c6d
- notice when saving certificates or keys fails due to filesystem-related
7a8c6d
  permission denial (#996581)
7a8c6d
7a8c6d
* Tue Aug  6 2013 Nalin Dahyabhai <nalin@redhat.com> 0.67-3
7a8c6d
- pull up a patch from master to adapt self-tests to certutil's diagnostic
7a8c6d
  output having changed (#992050)
7a8c6d
7a8c6d
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.67-2
7a8c6d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
7a8c6d
7a8c6d
* Mon Mar 11 2013 Nalin Dahyabhai <nalin@redhat.com> 0.67-1
7a8c6d
- when saving certificates to NSS databases, try to preserve the trust
7a8c6d
  value assigned to a previously-present certificate with the same nickname
7a8c6d
  and subject, if one is found
7a8c6d
- when saving certificates to NSS databases, also prune certificates from
7a8c6d
  the database which have both the same nickname and subject as the one
7a8c6d
  we're adding, to avoid tripping up tools that only fetch one certificate
7a8c6d
  by nickname
7a8c6d
7a8c6d
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.65-2
7a8c6d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
7a8c6d
7a8c6d
* Wed Jan 23 2013 Nalin Dahyabhai <nalin@redhat.com> 0.66-1
7a8c6d
- build as position-independent executables with early binding (#883966)
7a8c6d
- also don't tag the unit file as a configuration file (internal tooling)
7a8c6d
7a8c6d
* Wed Jan 23 2013 Nalin Dahyabhai <nalin@redhat.com> 0.65-2
7a8c6d
- don't tag the D-Bus session .service file as a configuration file (internal
7a8c6d
  tooling)
7a8c6d
7a8c6d
* Tue Jan  8 2013 Nalin Dahyabhai <nalin@redhat.com> 0.65-1
7a8c6d
- fix a crash in the self-tests
7a8c6d
7a8c6d
* Tue Jan  8 2013 Nalin Dahyabhai <nalin@redhat.com> 0.64-1
7a8c6d
- at startup, if we resume the state machine for a given certificate to a state
7a8c6d
  which expects to have the newly-added lock already acquired, acquire it
7a8c6d
  before moving on with the certificate's work (still aimed at fixing #883484)
7a8c6d
7a8c6d
* Tue Dec 18 2012 Nalin Dahyabhai <nalin@redhat.com> 0.63-1
7a8c6d
- serialize access to NSS databases and the running of pre- and post-save
7a8c6d
  commands which might also access them (possibly fixing part of #883484)
7a8c6d
7a8c6d
* Thu Nov 29 2012 Nalin Dahyabhai <nalin@redhat.com> 0.62-1
7a8c6d
- add a -u flag to getcert to enable requesting a keyUsage extension value
7a8c6d
- request subjectKeyIdentifier extensions from CAs, and include them in
7a8c6d
  self-signed certificates
7a8c6d
- request basicConstraints from CAs, defaulting to requests for end-entity
7a8c6d
  certificates
7a8c6d
- when requesting CA certificates, also request authorityKeyIdentifier
7a8c6d
- add support for requesting CRL distribution point and authorityInfoAccess
7a8c6d
  extensions that specify OCSP responder locations
7a8c6d
- don't crash when OpenSSL can't build a template certificate from a request
7a8c6d
  when we're in FIPS mode
7a8c6d
- put NSS in FIPS mode, when the system booted that way, except when we're
7a8c6d
  trying to write certificates to a database
7a8c6d
- fix CSR generation and self-signing in FIPS mode with NSS
7a8c6d
- fix self-signing in FIPS mode with OpenSSL
7a8c6d
- new languages from the translation team: mai, ml, nn, ga
7a8c6d
7a8c6d
* Tue Nov 27 2012 Nalin Dahyabhai <nalin@redhat.com> 0.61-3
7a8c6d
- backport change from git to not choke if X509_REQ_to_X509() fails when we're
7a8c6d
  self-signing using OpenSSL
7a8c6d
- backport another change from git to represent this as a CA-rejected error
7a8c6d
7a8c6d
* Mon Sep 24 2012 Nalin Dahyabhai <nalin@redhat.com> 0.61-1
7a8c6d
- fix a regression in reading old request tracking files where the
7a8c6d
  request was in state NEED_TO_NOTIFY or NOTIFYING
7a8c6d
7a8c6d
* Wed Sep  5 2012 Nalin Dahyabhai <nalin@redhat.com> 0.60-1
7a8c6d
- adjust internals of logic for talking to dogtag to at least have a
7a8c6d
  concept of non-agent cases
7a8c6d
- when talking to an IPA server's internal Dogtag instance, infer which
7a8c6d
  ports the CA is listening on from the "dogtag_version" setting in the
7a8c6d
  IPA configuration (Ade Lee)
7a8c6d
- send a notification (or log a message, whatever) when we save a new
7a8c6d
  certificate (#766167)
7a8c6d
7a8c6d
* Mon Jul 30 2012 Nalin Dahyabhai <nalin@redhat.com>
7a8c6d
- fix a bad %%preun scriptlet
7a8c6d
7a8c6d
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.59-2
7a8c6d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
7a8c6d
7a8c6d
* Fri Jun 29 2012 Nalin Dahyabhai <nalin@redhat.com> 0.59-1
7a8c6d
- mostly documentation updates
7a8c6d
7a8c6d
* Fri Jun 29 2012 Nalin Dahyabhai <nalin@redhat.com> 0.58-1
7a8c6d
- add a "dogtag-ipa-renew-agent" CA so that we can renew certificates using
7a8c6d
  an IPA server's internal Dogtag instance
7a8c6d
- export the requested profile and old certificate to enrollment helpers
7a8c6d
- make libxml and libcurl into hard build-time requirements
7a8c6d
- serialize all pre/save/post sequences to make sure that stop/save/start
7a8c6d
  doesn't become stop1/save1/stop2/start1/save2/start2 when we're stopping
7a8c6d
  a service while we muck with more than one of its certificates
7a8c6d
7a8c6d
* Fri Jun 15 2012 Nalin Dahyabhai <nalin@redhat.com>
7a8c6d
- add a command option (-T) to getcert for specifying which enrollment
7a8c6d
  profile to tell a CA that we're using, in case it cares (#10)
7a8c6d
7a8c6d
* Thu Jun 14 2012 Nalin Dahyabhai <nalin@redhat.com> 0.57-1
7a8c6d
- clarify that the command passed to getcert -C is a "post"-save command
7a8c6d
- add a "pre"-save command option to getcert, specified with the -B flag (#9)
7a8c6d
- after we notify of an impending not-valid-after approaching, don't do it
7a8c6d
  again immediately
7a8c6d
7a8c6d
* Sat Mar  3 2012 Nalin Dahyabhai <nalin@redhat.com> 0.56-1
7a8c6d
- when a caller sets the is-default flag on a CA, and another CA is no longer
7a8c6d
  the default, emit the PropertiesChanged signal on the CA which is not the
7a8c6d
  default, instead on the new default a second time
7a8c6d
- drop some dead code from the D-Bus message handlers (static analysis,
7a8c6d
  #796813)
7a8c6d
- cache public keys when we read private keys
7a8c6d
- go back to printing an error indicating that we're missing a required
7a8c6d
  argument when we're missing a required argument, not that the option is
7a8c6d
  invalid (broken since 0.51, #796542)
7a8c6d
7a8c6d
* Wed Feb 15 2012 Nalin Dahyabhai <nalin@redhat.com> 0.55-1
7a8c6d
- allow root to use our implementation of org.freedesktop.DBus.Properties
7a8c6d
- take more care to not emit useless PropertiesChanged signals
7a8c6d
7a8c6d
* Wed Feb 15 2012 Nalin Dahyabhai <nalin@redhat.com> 0.54-1
7a8c6d
- fix setting the group ID when spawning the post-save command
7a8c6d
7a8c6d
* Tue Feb 14 2012 Nalin Dahyabhai <nalin@redhat.com> 0.53-1
7a8c6d
- large changes to the D-Bus glue, exposing a lot of data which we were
7a8c6d
  providing via D-Bus getter methods as properties, and providing more
7a8c6d
  accurate introspection data
7a8c6d
- emit a signal when the daemon saves a certificate to the destination
7a8c6d
  location, and provide an option to have the daemon spawn an arbitrary
7a8c6d
  command at that point, too (#766167)
7a8c6d
- enable starting the service by default on RHEL (#765600)
7a8c6d
7a8c6d
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.52-2
7a8c6d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
7a8c6d
7a8c6d
* Fri Dec 16 2011 Nalin Dahyabhai <nalin@redhat.com> 0.52-1
7a8c6d
- note that SELinux usually confines us to writing only to cert_t in
7a8c6d
  doc/getting-started.txt (#765599)
7a8c6d
- fix crashes when we add a request during our first run when we're
7a8c6d
  populating the hard-coded CA list
7a8c6d
- properly deal with cases where a path is passed to us is "./XXX"
7a8c6d
- in session mode, create our data directories as we go
7a8c6d
7a8c6d
* Tue Dec  6 2011 Nalin Dahyabhai <nalin@redhat.com> 0.51-1
7a8c6d
- api: lift restrictions on characters used in request and CA nicknames by
7a8c6d
  making their object names not incorporate their nicknames
7a8c6d
- api: add find_request_by_nickname and find_ca_by_nickname
7a8c6d
- certmonger-ipa-submit.8: list -k, -K, -t in the summary, document -K
7a8c6d
- getcert: print "invalid option" error messages ourselves (#756291)
7a8c6d
- ipa-submit: supply a Referer: header when submitting requests to IPA
7a8c6d
  (#750617, needed for #747710)
7a8c6d
7a8c6d
* Fri Oct 14 2011 Nalin Dahyabhai <nalin@redhat.com> 0.50-1
7a8c6d
- really fix these this time:
7a8c6d
 - getcert: error out when "list -c" finds no matching CA (#743488)
7a8c6d
 - getcert: error out when "list -i" finds no matching request (#743485)
7a8c6d
7a8c6d
* Wed Oct 12 2011 Nalin Dahyabhai <nalin@redhat.com> 0.49-1
7a8c6d
- when using an NSS database, skip loading the module database (#743042)
7a8c6d
- when using an NSS database, skip loading root certs
7a8c6d
- generate SPKAC values when generating CSRs, though we don't do anything
7a8c6d
  with SPKAC values yet
7a8c6d
- internally maintain and use challenge passwords, if we have them
7a8c6d
- behave better when certificates have shorter lifetimes
7a8c6d
- add/recognize/handle notification type "none"
7a8c6d
- getcert: error out when "list -c" finds no matching CA (#743488)
7a8c6d
- getcert: error out when "list -i" finds no matching request (#743485)
7a8c6d
7a8c6d
* Thu Sep 29 2011 Nalin Dahyabhai <nalin@redhat.com> 0.48-1
7a8c6d
- don't incorrectly assume that CERT_ImportCerts() returns a NULL-terminated
7a8c6d
  array (#742348)
7a8c6d
7a8c6d
* Tue Sep 27 2011 Nalin Dahyabhai <nalin@redhat.com> 0.47-1
7a8c6d
- getcert: distinguish between {stat() succeeds but isn't a directory} and
7a8c6d
  {stat() failed} when printing an error message (#739903)
7a8c6d
- getcert resubmit/start-tracking: when we're looking for an existing request
7a8c6d
  by ID, and we don't find one, note that specifically (#741262)
7a8c6d
7a8c6d
* Mon Aug 29 2011 Stephen Gallagher <sgallagh@redhat.com> - 0.46-1.1
7a8c6d
- Rebuild against fixed libtevent version
7a8c6d
7a8c6d
* Mon Aug 15 2011 Nalin Dahyabhai <nalin@redhat.com> 0.46-1
7a8c6d
- treat the ability to access keys in an NSS database without using a PIN,
7a8c6d
  when we've been told we need one, as an error (#692766, really this time)
7a8c6d
7a8c6d
* Thu Aug 11 2011 Nalin Dahyabhai <nalin@redhat.com> 0.45-1
7a8c6d
- modify the systemd .service file to be a proper 'dbus' service (more
7a8c6d
  of #718172)
7a8c6d
7a8c6d
* Thu Aug 11 2011 Nalin Dahyabhai <nalin@redhat.com> 0.44-1
7a8c6d
- check specifically for cases where a specified token that we need to
7a8c6d
  use just isn't present for whatever reason (#697058)
7a8c6d
7a8c6d
* Wed Aug 10 2011 Nalin Dahyabhai <nalin@redhat.com> 0.43-1
7a8c6d
- add a -K option to ipa-submit, to use the current ccache, which makes
7a8c6d
  it easier to test
7a8c6d
7a8c6d
* Fri Aug  5 2011 Nalin Dahyabhai <nalin@redhat.com>
7a8c6d
- if xmlrpc-c's struct xmlrpc_curl_xportparms has a gss_delegate field, set
7a8c6d
  it to TRUE when we're doing Negotiate auth (#727864, #727863, #727866)
7a8c6d
7a8c6d
* Wed Jul 13 2011 Nalin Dahyabhai <nalin@redhat.com>
7a8c6d
- treat the ability to access keys in an NSS database without using a PIN,
7a8c6d
  when we've been told we need one, as an error (#692766)
7a8c6d
- when handling "getcert resubmit" requests, if we don't have a key yet,
7a8c6d
  make sure we go all the way back to generating one (#694184)
7a8c6d
- getcert: try to clean up tests for NSS and PEM file locations (#699059)
7a8c6d
- don't try to set reconnect-on-exit policy unless we managed to connect
7a8c6d
  to the bus (#712500)
7a8c6d
- handle cases where we specify a token but the storage token isn't
7a8c6d
  known (#699552)
7a8c6d
- getcert: recognize -i and storage options to narrow down which requests
7a8c6d
  the user wants to know about (#698772)
7a8c6d
- output hints when the daemon has startup problems, too (#712075)
7a8c6d
- add flags to specify whether we're bus-activated or not, so that we can
7a8c6d
  exit if we have nothing to do after handling a request received over
7a8c6d
  the bus if some specified amount of time has passed
7a8c6d
- explicitly disallow non-root access in the D-Bus configuration (#712072)
7a8c6d
- migrate to systemd on releases newer than Fedora 15 or RHEL 6 (#718172)
7a8c6d
- fix a couple of incorrect calls to talloc_asprintf() (#721392)
7a8c6d
7a8c6d
* Wed Apr 13 2011 Nalin Dahyabhai <nalin@redhat.com> 0.42-1
7a8c6d
- getcert: fix a buffer overrun preparing a request for the daemon when
7a8c6d
  there are more parameters to encode than space in the array (#696185)
7a8c6d
- updated translations: de, es, id, pl, ru, uk
7a8c6d
7a8c6d
* Mon Apr 11 2011 Nalin Dahyabhai <nalin@redhat.com> 0.41-1
7a8c6d
- read information about the keys we've just generated before proceeding
7a8c6d
  to generating a CSR (part of #694184, part of #695675)
7a8c6d
- when processing a "resubmit" request from getcert, go back to key
7a8c6d
  generation if we don't have keys yet, else go back to CSR generation as
7a8c6d
  before (#694184, #695675)
7a8c6d
- configure with --with-tmpdir=/var/run/certmonger and own /var/run/certmonger
7a8c6d
  (#687899), and add a systemd tmpfiles.d control file for creating
7a8c6d
  /var/run/certmonger on Fedora 15 and later
7a8c6d
- let session instances exit when they get disconnected from the bus
7a8c6d
- use a lock file to make sure there's only one session instance messing
7a8c6d
  around with the user's files at a time
7a8c6d
- fix errors saving certificates to NSS databases when there's already a
7a8c6d
  certificate there with the same nickname (#695672)
7a8c6d
- make key and certificate location output from 'getcert list' more properly
7a8c6d
  translatable (#7)
7a8c6d
7a8c6d
* Mon Mar 28 2011 Nalin Dahyabhai <nalin@redhat.com> 0.40-1
7a8c6d
- update to 0.40
7a8c6d
  - fix validation check on EKU OIDs in getcert (#691351)
7a8c6d
  - get session bus mode sorted
7a8c6d
  - add a list of recognized EKU values to the getcert-request man page
7a8c6d
7a8c6d
* Fri Mar 25 2011 Nalin Dahyabhai <nalin@redhat.com> 0.39-1
7a8c6d
- update to 0.39
7a8c6d
  - fix use of an uninitialized variable in the xmlrpc-based submission
7a8c6d
    helpers (#690886)
7a8c6d
7a8c6d
* Thu Mar 24 2011 Nalin Dahyabhai <nalin@redhat.com> 0.38-1
7a8c6d
- update to 0.38
7a8c6d
  - catch cases where we can't read a PIN file, but we never have to log
7a8c6d
    in to the token to access the private key (more of #688229)
7a8c6d
7a8c6d
* Tue Mar 22 2011 Nalin Dahyabhai <nalin@redhat.com> 0.37-1
7a8c6d
- update to 0.37
7a8c6d
  - be more careful about checking if we can read a PIN file successfully
7a8c6d
    before we even call an API that might need us to try (#688229)
7a8c6d
  - fix strict aliasing warnings
7a8c6d
7a8c6d
* Tue Mar 22 2011 Nalin Dahyabhai <nalin@redhat.com> 0.36-1
7a8c6d
- update to 0.36
7a8c6d
  - fix some use-after-free bugs in the daemon (#689776)
7a8c6d
  - fix a copy/paste error in certmonger-ipa-submit(8)
7a8c6d
  - getcert now suppresses error details when not given its new -v option
7a8c6d
    (#683926, more of #681641/#652047)
7a8c6d
  - updated translations
7a8c6d
    - de, es, pl, ru, uk
7a8c6d
    - indonesian translation is now for "id" rather than "in"
7a8c6d
7a8c6d
* Wed Mar  2 2011 Nalin Dahyabhai <nalin@redhat.com> 0.35.1-1
7a8c6d
- fix a self-test that broke because one-year-from-now is now a day's worth
7a8c6d
  of seconds further out than it was a few days ago
7a8c6d
7a8c6d
* Mon Feb 14 2011 Nalin Dahyabhai <nalin@redhat.com> 0.35-1
7a8c6d
- update to 0.35
7a8c6d
  - self-test fixes to rebuild properly in mock (#670322)
7a8c6d
7a8c6d
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.34-2
7a8c6d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
7a8c6d
7a8c6d
* Fri Jan 14 2011 Nalin Dahyabhai <nalin@redhat.com> 0.34-1
7a8c6d
- update to 0.34
7a8c6d
  - explicitly note the number of requests we're tracking in the output of
7a8c6d
    "getcert list" (#652049)
7a8c6d
  - try to offer some suggestions when we get certain specific errors back
7a8c6d
    in "getcert" (#652047)
7a8c6d
  - updated translations
7a8c6d
    - es
7a8c6d
7a8c6d
* Thu Dec 23 2010 Nalin Dahyabhai <nalin@redhat.com> 0.33-1
7a8c6d
- update to 0.33
7a8c6d
  - new translations
7a8c6d
    - id by Okta Purnama Rahadian!
7a8c6d
  - updated translations
7a8c6d
    - pl, uk
7a8c6d
  - roll up assorted fixes for defects
7a8c6d
7a8c6d
* Fri Nov 12 2010 Nalin Dahyabhai <nalin@redhat.com> 0.32-2
7a8c6d
- depend on the e2fsprogs libuuid on Fedora and RHEL releases where it's
7a8c6d
  not part of util-linux-ng
7a8c6d
7a8c6d
* Wed Oct 13 2010 Nalin Dahyabhai <nalin@redhat.com> 0.32-1
7a8c6d
- oops, rfc5280 says we shouldn't be populating unique identifiers, so
7a8c6d
  make it a configuration option and default the behavior to off
7a8c6d
7a8c6d
* Tue Oct 12 2010 Nalin Dahyabhai <nalin@redhat.com> 0.31-1
7a8c6d
- start populating the optional unique identifier fields in self-signed
7a8c6d
  certificates
7a8c6d
7a8c6d
* Thu Sep 30 2010 Nalin Dahyabhai <nalin@redhat.com> 0.30-4
7a8c6d
- explicitly require "dbus" to try to ensure we have a running system bus
7a8c6d
  when we get started (#639126)
7a8c6d
7a8c6d
* Wed Sep 29 2010 jkeating - 0.30-3
7a8c6d
- Rebuilt for gcc bug 634757
7a8c6d
7a8c6d
* Thu Sep 23 2010 Nalin Dahyabhai <nalin@redhat.com> 0.30-2
7a8c6d
- try to SIGHUP the messagebus daemon at first install so that it'll
7a8c6d
  let us claim our service name if it isn't restarted before we are
7a8c6d
  first started (#636876)
7a8c6d
7a8c6d
* Wed Aug 25 2010 Nalin Dahyabhai <nalin@redhat.com> 0.30-1
7a8c6d
- update to 0.30
7a8c6d
  - fix errors computing the time at the end of an interval that were
7a8c6d
    caught by self-tests
7a8c6d
7a8c6d
* Mon Aug 23 2010 Nalin Dahyabhai <nalin@redhat.com> 0.29-1
7a8c6d
- update to 0.29
7a8c6d
  - fix 64-bit cleanliness issue using libdbus
7a8c6d
  - actually include the full set of tests in tarballs
7a8c6d
7a8c6d
* Tue Aug 17 2010 Nalin Dahyabhai <nalin@redhat.com> 0.28-1
7a8c6d
- update to 0.28
7a8c6d
  - fix self-signing certificate notBefore and notAfter values on 32-bit
7a8c6d
    machines
7a8c6d
7a8c6d
* Tue Aug 17 2010 Nalin Dahyabhai <nalin@redhat.com> 0.27-1
7a8c6d
- update to 0.27
7a8c6d
  - portability and test fixes
7a8c6d
7a8c6d
* Fri Aug 13 2010 Nalin Dahyabhai <nalin@redhat.com> 0.26-1
7a8c6d
- update to 0.26
7a8c6d
  - when canceling a submission request that's being handled by a helper,
7a8c6d
    reap the child process's status after killing it (#624120)
7a8c6d
7a8c6d
* Fri Aug 13 2010 Nalin Dahyabhai <nalin@redhat.com> 0.25-1
7a8c6d
- update to 0.25
7a8c6d
  - new translations
7a8c6d
    - in by Okta Purnama Rahadian!
7a8c6d
  - fix detection of cases where we can't access a private key in an NSS
7a8c6d
    database because we don't have the PIN
7a8c6d
  - teach '*getcert start-tracking' about the -p and -P options which the
7a8c6d
    '*getcert request' commands already understand (#621670), and also
7a8c6d
    the -U, -K, -E, and -D flags
7a8c6d
  - double-check that the nicknames of keys we get back from
7a8c6d
    PK11_ListPrivKeysInSlot() match the desired nickname before accepting
7a8c6d
    them as matches, so that our tests won't all blow up on EL5
7a8c6d
  - fix dynamic addition and removal of CAs implemented through helpers
7a8c6d
7a8c6d
* Mon Jun 28 2010 Nalin Dahyabhai <nalin@redhat.com> 0.24-4
7a8c6d
- init script: ensure that the subsys lock is created whenever we're called to
7a8c6d
  "start" when we're already running (even more of #596719)
7a8c6d
7a8c6d
* Tue Jun 15 2010 Nalin Dahyabhai <nalin@redhat.com> 0.24-3
7a8c6d
- more gracefully handle manual daemon startups and cleaning up of unexpected
7a8c6d
  crashes (still more of #596719)
7a8c6d
7a8c6d
* Thu Jun 10 2010 Nalin Dahyabhai <nalin@redhat.com> 0.24-2
7a8c6d
- don't create the daemon pidfile until after we've connected to the D-Bus
7a8c6d
  (still more of #596719)
7a8c6d
7a8c6d
* Tue Jun  8 2010 Nalin Dahyabhai <nalin@redhat.com> 0.24-1
7a8c6d
- update to 0.24
7a8c6d
  - keep the lock on the pid file, if we have one, when we fork, and cancel
7a8c6d
    daemon startup if we can't gain ownership of the lock (the rest of #596719)
7a8c6d
  - make the man pages note which external configuration files we consult when
7a8c6d
    submitting requests to certmaster and ipa CAs
7a8c6d
7a8c6d
* Thu May 27 2010 Nalin Dahyabhai <nalin@redhat.com> 0.23-1
7a8c6d
- update to 0.23
7a8c6d
  - new translations
7a8c6d
    - pl by Piotr DrÄ…g!
7a8c6d
  - cancel daemon startup if we can't gain ownership of our well-known
7a8c6d
    service name on the DBus (#596719)
7a8c6d
7a8c6d
* Fri May 14 2010 Nalin Dahyabhai <nalin@redhat.com> 0.22-1
7a8c6d
- update to 0.22
7a8c6d
  - new translations
7a8c6d
    - de by Fabian Affolter!
7a8c6d
  - certmaster-submit: don't fall over when we can't find a certmaster.conf
7a8c6d
    or a minion.conf (i.e., certmaster isn't installed) (#588932)
7a8c6d
  - when reading extension values from certificates, prune out duplicate
7a8c6d
    principal names, email addresses, and hostnames
7a8c6d
7a8c6d
* Tue May  4 2010 Nalin Dahyabhai <nalin@redhat.com> 0.21-1
7a8c6d
- update to 0.21
7a8c6d
  - getcert/*-getcert: relay the desired CA to the local service, whether
7a8c6d
    specified on the command line (in getcert) or as a built-in hard-wired
7a8c6d
    default (in *-getcert) (#584983)
7a8c6d
  - flesh out the default certmonger.conf so that people can get a feel for
7a8c6d
    the expected formatting (Jenny Galipeau)
7a8c6d
7a8c6d
* Wed Apr 21 2010 Nalin Dahyabhai <nalin@redhat.com> 0.20-1
7a8c6d
- update to 0.20
7a8c6d
  - correctly parse certificate validity periods given in years (spotted by
7a8c6d
    Stephen Gallagher)
7a8c6d
  - setup for translation
7a8c6d
    - es by Héctor Daniel Cabrera!
7a8c6d
    - ru by Yulia Poyarkova!
7a8c6d
    - uk by Yuri Chornoivan!
7a8c6d
  - fix unpreprocessed defaults in certmonger.conf's man page
7a8c6d
  - tweak the IPA-specific message that indicates a principal name also needs
7a8c6d
    to be specified if we're not using the default subject name (#579542)
7a8c6d
  - make the validity period of self-signed certificates into a configuration
7a8c6d
    setting and not a piece of the state information we track about the signer
7a8c6d
  - init script: exit with status 2 instead of 1 when invoked with an
7a8c6d
    unrecognized argument (#584517)
7a8c6d
7a8c6d
* Tue Mar 23 2010 Nalin Dahyabhai <nalin@redhat.com> 0.19-1
7a8c6d
- update to 0.19
7a8c6d
  - correctly initialize NSS databases that need to be using a PIN
7a8c6d
  - add certmonger.conf, for customizing notification timings and settings,
7a8c6d
    and use of digests other than the previously-hard-coded SHA256, and
7a8c6d
    drop those settings from individual requests
7a8c6d
  - up the default self-sign validity interval from 30 days to 365 days
7a8c6d
  - drop the first default notification interval from 30 days to 28 days
7a8c6d
    (these two combined to create a fun always-reissuing loop earlier)
7a8c6d
  - record the token which contains the key or certificate when we're
7a8c6d
    storing them in an NSS database, and report it
7a8c6d
  - improve handling of cases where we're supposed to use a PIN but we
7a8c6d
    either don't have one or we have the wrong one
7a8c6d
  - teach getcert to accept a PIN file's name or a PIN value when adding
7a8c6d
    a new entry
7a8c6d
  - update the IPA submission helper to use the new 'request_cert' signature
7a8c6d
    that's landing soon
7a8c6d
  - more tests
7a8c6d
7a8c6d
* Fri Feb 12 2010 Nalin Dahyabhai <nalin@redhat.com> 0.18-1
7a8c6d
- update to 0.18
7a8c6d
  - add support for using encrypted storage for keys, using PIN values
7a8c6d
    supplied directly or read from files whose names are supplied
7a8c6d
  - don't choke on NSS database locations that use the "sql:" or "dbm:"
7a8c6d
    prefix
7a8c6d
7a8c6d
* Mon Jan 25 2010 Nalin Dahyabhai <nalin@redhat.com> 0.17-2
7a8c6d
- make the D-Bus configuration file (noreplace) (#541072)
7a8c6d
- make the %%check section and the deps we have just for it conditional on
7a8c6d
  the same macro (#541072)
7a8c6d
7a8c6d
* Wed Jan  6 2010 Nalin Dahyabhai <nalin@redhat.com> 0.17-1
7a8c6d
- update to 0.17
7a8c6d
  - fix a hang in the daemon (Rob Crittenden)
7a8c6d
  - documentation updates
7a8c6d
  - fix parsing of submission results from IPA (Rob Crittenden)
7a8c6d
7a8c6d
* Fri Dec 11 2009 Nalin Dahyabhai <nalin@redhat.com> 0.16-1
7a8c6d
- update to 0.16
7a8c6d
  - set a umask at startup (Dan Walsh)
7a8c6d
7a8c6d
* Tue Dec  8 2009 Nalin Dahyabhai <nalin@redhat.com> 0.15-1
7a8c6d
- update to 0.15
7a8c6d
  - notice that a directory with a trailing '/' is the same location as the
7a8c6d
    directory without it
7a8c6d
  - fix handling of the pid file when we write one (by actually giving it
7a8c6d
    contents)
7a8c6d
7a8c6d
* Wed Nov 25 2009 Nalin Dahyabhai <nalin@redhat.com> 0.14-1
7a8c6d
- update to 0.14
7a8c6d
  - check key and certificate location at add-time to make sure they're
7a8c6d
    absolute paths to files or directories, as appropriate
7a8c6d
  - IPA: dig into the 'result' item if the named result value we're looking
7a8c6d
    for isn't in the result struct
7a8c6d
7a8c6d
* Tue Nov 24 2009 Nalin Dahyabhai <nalin@redhat.com> 0.13-1
7a8c6d
- update to 0.13
7a8c6d
  - change the default so that we default to trying to auto-refresh
7a8c6d
    certificates unless told otherwise
7a8c6d
  - preemptively enforce limitations on request nicknames so that they
7a8c6d
    make valid D-Bus object path components
7a8c6d
7a8c6d
* Tue Nov 24 2009 Nalin Dahyabhai <nalin@redhat.com> 0.12-1
7a8c6d
- update to 0.12
7a8c6d
  - add a crucial bit of error reporting when CAs reject our requests
7a8c6d
  - count the number of configured CAs correctly
7a8c6d
7a8c6d
* Mon Nov 23 2009 Nalin Dahyabhai <nalin@redhat.com> 0.11-1
7a8c6d
- update to 0.11
7a8c6d
  - add XML-RPC submission for certmaster and IPA
7a8c6d
  - prune entries with duplicate names from the data store
7a8c6d
7a8c6d
* Fri Nov 13 2009 Nalin Dahyabhai <nalin@redhat.com> 0.10-1
7a8c6d
- update to 0.10
7a8c6d
  - add some compiler warnings and then fix them
7a8c6d
7a8c6d
* Fri Nov 13 2009 Nalin Dahyabhai <nalin@redhat.com> 0.9-1
7a8c6d
- update to 0.9
7a8c6d
  - run external submission helpers correctly
7a8c6d
  - fix signing of signing requests generated for keys stored in files
7a8c6d
  - only care about new interface and route notifications from netlink,
7a8c6d
    and ignore notifications that don't come from pid 0
7a8c6d
  - fix logic for determining expiration status
7a8c6d
  - correct the version number in self-signed certificates
7a8c6d
7a8c6d
* Tue Nov 10 2009 Nalin Dahyabhai <nalin@redhat.com> 0.8-1
7a8c6d
- update to 0.8
7a8c6d
  - encode windows UPN values in requests correctly
7a8c6d
  - watch for netlink routing changes and restart stalled submission requests
7a8c6d
  - 'getcert resubmit' can force a regeneration of the CSR and submission
7a8c6d
7a8c6d
* Fri Nov  6 2009 Nalin Dahyabhai <nalin@redhat.com> 0.7-1
7a8c6d
- update to 0.7
7a8c6d
  - first cut at a getting-started document
7a8c6d
  - refactor some internal key handling with NSS
7a8c6d
  - check for duplicate request nicknames at add-time
7a8c6d
7a8c6d
* Tue Nov  3 2009 Nalin Dahyabhai <nalin@redhat.com> 0.6-1
7a8c6d
- update to 0.6
7a8c6d
  - man pages
7a8c6d
  - 'getcert stop-tracking' actually makes the server forget now
7a8c6d
  - 'getcert request -e' was redundant, dropped the -e option
7a8c6d
  - 'getcert request -i' now sets the request nickname
7a8c6d
  - 'getcert start-tracking -i' now sets the request nickname
7a8c6d
7a8c6d
* Mon Nov  2 2009 Nalin Dahyabhai <nalin@redhat.com> 0.5-1
7a8c6d
- update to 0.5
7a8c6d
  - packaging fixes
7a8c6d
  - add a selfsign-getcert client
7a8c6d
  - self-signed certs now get basic constraints and their own serial numbers
7a8c6d
  - accept id-ms-kp-sc-logon as a named EKU value in a request
7a8c6d
7a8c6d
* Thu Oct 29 2009 Nalin Dahyabhai <nalin@redhat.com> 0.4-1
7a8c6d
- update to 0.4
7a8c6d
7a8c6d
* Thu Oct 22 2009 Nalin Dahyabhai <nalin@redhat.com> 0.1-1
7a8c6d
- update to 0.1
7a8c6d
7a8c6d
* Sun Oct 18 2009 Nalin Dahyabhai <nalin@redhat.com> 0.0-1
7a8c6d
- initial package