9e5f05
%global systemd 1
9e5f05
%global	sysvinit 0
9e5f05
9e5f05
%global systemdsysv 0
9e5f05
9e5f05
%global tmpfiles 1
9e5f05
9e5f05
%global sysvinitdir %{_initddir}
9e5f05
0b76c1
%bcond_without xmlrpc
0b76c1
9e5f05
Name:		certmonger
3d9e01
Version:	0.79.17
3d9e01
Release:	2%{?dist}
9e5f05
Summary:	Certificate status monitor and PKI enrollment client
9e5f05
9e5f05
Group:		System Environment/Daemons
9e5f05
License:	GPLv3+
9e5f05
URL:		http://pagure.io/certmonger/
9e5f05
Source0:	http://releases.pagure.org/certmonger/certmonger-%{version}.tar.gz
3d9e01
#Source1:	http://releases.pagure.org/certmonger/certmonger-%%{version}.tar.gz.sig
9e5f05
3d9e01
Patch0001:	0001-Revert-Remove-the-certmaster-CA-from-the-028-dbus-te.patch
3d9e01
Patch0002:	0002-Don-t-run-the-002-keygen-tests-when-root.patch
0b76c1
9e5f05
BuildRequires:	autoconf
9e5f05
BuildRequires:	automake
9e5f05
BuildRequires:	gettext-devel
9e5f05
BuildRequires:	gcc
9e5f05
BuildRequires:	openldap-devel
9e5f05
BuildRequires:	libidn2-devel
9e5f05
BuildRequires:	python3-dbus
9e5f05
BuildRequires:	dbus-devel
9e5f05
BuildRequires:	nspr-devel
9e5f05
BuildRequires:	nss-devel
9e5f05
BuildRequires:	openssl-devel
9e5f05
BuildRequires:	libuuid-devel
9e5f05
BuildRequires:	libtalloc-devel, libtevent-devel
9e5f05
BuildRequires:	libcurl-devel
0b76c1
BuildRequires:	libxml2-devel
0b76c1
%if %{with xmlrpc}
0b76c1
BuildRequires:	xmlrpc-c-devel
0b76c1
%endif
0b76c1
BuildRequires:	jansson-devel
9e5f05
# Required for 'make check':
9e5f05
#  for diff and cmp
9e5f05
BuildRequires:	diffutils
9e5f05
#  for expect
9e5f05
BuildRequires:	expect
9e5f05
#  for certutil and pk12util
9e5f05
BuildRequires:	nss-tools
9e5f05
#  for openssl
9e5f05
BuildRequires:	openssl
9e5f05
#  for dbus-launch
9e5f05
BuildRequires:	/usr/bin/dbus-launch
9e5f05
#  for dos2unix
9e5f05
BuildRequires:	/usr/bin/dos2unix
9e5f05
BuildRequires:	/usr/bin/unix2dos
9e5f05
#  for which
9e5f05
BuildRequires:	/usr/bin/which
9e5f05
BuildRequires:	popt-devel
9e5f05
#  for make check
9e5f05
BuildRequires:	python3-devel
0b76c1
BuildRequires:	krb5-devel
9e5f05
9e5f05
# we need a running system bus
9e5f05
Requires:	dbus
9e5f05
Requires(post):	%{_bindir}/dbus-send
9e5f05
9e5f05
%if %{systemd}
9e5f05
BuildRequires:	systemd-units
9e5f05
Requires(post):	systemd-units
9e5f05
Requires(preun):	systemd-units, dbus, sed
9e5f05
Requires(postun):	systemd-units
9e5f05
%endif
9e5f05
9e5f05
%if %{systemdsysv}
9e5f05
Requires(post):	systemd-sysv
9e5f05
%global systemdsysvsave \
9e5f05
# Save the current service runlevel info, in case the user wants \
9e5f05
# to apply the enabled status manually later, by running \
9e5f05
#   "systemd-sysv-convert --apply certmonger". \
9e5f05
%{_bindir}/systemd-sysv-convert --save certmonger >/dev/null 2>&1 ||:
9e5f05
%else
9e5f05
%global systemdsysvsave %{nil}
9e5f05
%endif
9e5f05
9e5f05
%if %{sysvinit}
9e5f05
Requires(post):	/sbin/chkconfig, /sbin/service
9e5f05
Requires(preun):	/sbin/chkconfig, /sbin/service, dbus, sed
9e5f05
%endif
9e5f05
9e5f05
9e5f05
%description
9e5f05
Certmonger is a service which is primarily concerned with getting your
9e5f05
system enrolled with a certificate authority (CA) and keeping it enrolled.
9e5f05
9e5f05
%prep
0b76c1
%autosetup -p1
9e5f05
9e5f05
%build
9e5f05
autoreconf -i -f
9e5f05
%configure \
9e5f05
%if %{systemd}
9e5f05
	--enable-systemd \
9e5f05
%endif
9e5f05
%if %{sysvinit}
9e5f05
	--enable-sysvinit=%{sysvinitdir} \
9e5f05
%endif
9e5f05
%if %{tmpfiles}
9e5f05
	--enable-tmpfiles \
9e5f05
%endif
5e5f7c
	--with-homedir=/run/certmonger \
0b76c1
%if %{with xmlrpc}
0b76c1
	--with-xmlrpc \
0b76c1
%endif
5e5f7c
	--with-tmpdir=/run/certmonger --enable-pie --enable-now
0b76c1
%if %{with xmlrpc}
9e5f05
# For some reason, some versions of xmlrpc-c-config in Fedora and RHEL just
9e5f05
# tell us about libxmlrpc_client, but we need more.  Work around.
9e5f05
make %{?_smp_mflags} XMLRPC_LIBS="-lxmlrpc_client -lxmlrpc_util -lxmlrpc"
0b76c1
%else
0b76c1
make %{?_smp_mflags}
0b76c1
%endif
9e5f05
9e5f05
%install
9e5f05
rm -rf $RPM_BUILD_ROOT
9e5f05
make install DESTDIR=$RPM_BUILD_ROOT
9e5f05
mkdir -p $RPM_BUILD_ROOT/%{_localstatedir}/lib/certmonger/{cas,requests}
5e5f7c
install -m755 -d $RPM_BUILD_ROOT/run/certmonger
9e5f05
%{find_lang} %{name}
9e5f05
9e5f05
%check
9e5f05
# Seed then openssl RNG if not set
9e5f05
if [ ! -e $HOME/.rnd ] ; then
9e5f05
	openssl rand -writerand $HOME/.rnd
9e5f05
fi
9e5f05
make check
9e5f05
9e5f05
%post
9e5f05
if test $1 -eq 1 ; then
9e5f05
	%{_bindir}/dbus-send --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig 2>&1 || :
9e5f05
fi
0b76c1
%if %{without xmlrpc}
0b76c1
# remove any existing certmaster CA configuration
0b76c1
if test $1 -gt 1 ; then
0b76c1
	%{_bindir}/getcert remove-ca -c certmaster 2>&1 || :
0b76c1
fi
0b76c1
%endif
9e5f05
%if %{systemd}
9e5f05
if test $1 -eq 1 ; then
9e5f05
	/bin/systemctl daemon-reload >/dev/null 2>&1 || :
9e5f05
fi
9e5f05
%endif
9e5f05
%if %{sysvinit}
9e5f05
/sbin/chkconfig --add certmonger
9e5f05
%endif
9e5f05
9e5f05
%triggerin -- certmonger < 0.58
9e5f05
if test $1 -gt 1 ; then
9e5f05
	# If the daemon is running, remove knowledge of the dogtag renewer.
9e5f05
	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`
9e5f05
	if test -n "$objpath" ; then
9e5f05
		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
9e5f05
	fi
9e5f05
	# Remove the data file, in case it isn't running.
9e5f05
	for cafile in %{_localstatedir}/lib/certmonger/cas/* ; do
9e5f05
		if grep -q '^id=dogtag-ipa-renew-agent$' "$cafile" ; then
9e5f05
			rm -f "$cafile"
9e5f05
		fi
9e5f05
	done
9e5f05
fi
9e5f05
exit 0
9e5f05
9e5f05
%postun
9e5f05
%if %{systemd}
9e5f05
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
9e5f05
if [ $1 -ge 1 ] ; then
9e5f05
	/bin/systemctl try-restart certmonger.service >/dev/null 2>&1 || :
9e5f05
fi
9e5f05
%endif
9e5f05
%if %{sysvinit}
9e5f05
if test $1 -gt 0 ; then
9e5f05
	/sbin/service certmonger condrestart 2>&1 > /dev/null
9e5f05
fi
9e5f05
%endif
9e5f05
exit 0
9e5f05
9e5f05
%preun
9e5f05
%if %{systemd}
9e5f05
if test $1 -eq 0 ; then
9e5f05
	/bin/systemctl --no-reload disable certmonger.service > /dev/null 2>&1 || :
9e5f05
	/bin/systemctl stop certmonger.service > /dev/null 2>&1 || :
9e5f05
fi
9e5f05
%endif
9e5f05
%if %{sysvinit}
9e5f05
if test $1 -eq 0 ; then
9e5f05
	/sbin/service certmonger stop 2>&1 > /dev/null
9e5f05
	/sbin/chkconfig --del certmonger
9e5f05
fi
9e5f05
%endif
9e5f05
exit 0
9e5f05
9e5f05
%if %{systemd}
9e5f05
%triggerun -- certmonger < 0.43
9e5f05
%{systemdsysvsave}
9e5f05
# Do this because the old package's %%postun doesn't know we need to do it.
9e5f05
/sbin/chkconfig --del certmonger >/dev/null 2>&1 || :
9e5f05
# Do this because the old package's %%postun wouldn't have tried.
9e5f05
/bin/systemctl try-restart certmonger.service >/dev/null 2>&1 || :
9e5f05
exit 0
9e5f05
%endif
9e5f05
9e5f05
%files -f %{name}.lang
9e5f05
%defattr(-,root,root,-)
9e5f05
%doc README.md LICENSE STATUS doc/*.txt
9e5f05
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/*
9e5f05
%{_datadir}/dbus-1/services/*
9e5f05
%dir %{_sysconfdir}/certmonger
9e5f05
%config(noreplace) %{_sysconfdir}/certmonger/certmonger.conf
5e5f7c
%dir /run/certmonger
9e5f05
%{_bindir}/*
9e5f05
%{_sbindir}/certmonger
9e5f05
%{_mandir}/man*/*
9e5f05
%{_libexecdir}/%{name}
9e5f05
%{_localstatedir}/lib/certmonger
9e5f05
%if %{sysvinit}
9e5f05
%{sysvinitdir}/certmonger
9e5f05
%endif
9e5f05
%if %{tmpfiles}
9e5f05
%attr(0644,root,root) %config(noreplace) %{_tmpfilesdir}/certmonger.conf
9e5f05
%endif
9e5f05
%if %{systemd}
9e5f05
%{_unitdir}/*
9e5f05
%{_datadir}/dbus-1/system-services/*
9e5f05
%endif
9e5f05
9e5f05
%changelog
3d9e01
* Wed Dec  7 2022 Rob Crittenden <rcritten@redhat.com> - 0.79.17-2
3d9e01
- Skip the keygen tests when executed as root.
3d9e01
3d9e01
* Tue Dec  6 2022 Rob Crittenden <rcritten@redhat.com> - 0.79.17-1
3d9e01
- Update to upstream 0.79.17 (#2139523)
3d9e01
- Certificate format validation when adding the SCEP server's CA (#2150025)
3d9e01
- Certmonger SCEP renewal should not use old challenges (#2150030)
3d9e01
- certmonger SEGV during rekey in FIPS mode (#2150070)
3d9e01
77e006
* Mon Oct 18 2021 Rob Crittenden <rcritten@redhat.com> - 0.79.13-5
77e006
- certmonger creates CSRs with invalid DER syntax for X509v3 extensions
77e006
  with critical=FALSE (#2012258)
77e006
77e006
* Wed Oct 06 2021 Rob Crittenden <rcritten@redhat.com> - 0.79.13-4
77e006
- Certmonger SCEP renewal should not use old challenges (#1577570)
77e006
- Certmonger segfault after cert renewal request (#1881500)
77e006
- Include certificate NotBefore date in output of the 'getcert list' command
77e006
  (#1940261)
77e006
- Certmonger certificates stuck in NEED_GUIDANCE (#2001079)
77e006
77e006
* Wed Apr 28 2021 Rob Crittenden <rcritten@redhat.com> - 0.79.13-3
77e006
- Fix local CA to work under FIPS (#1950132)
77e006
0b76c1
* Tue Nov 10 2020 Rob Crittenden <rcritten@redhat.com> - 0.79.13-2
0b76c1
- Rebuild with xmlrpc-c support enabled (#1687698)
0b76c1
0b76c1
* Wed Oct 28 2020 Rob Crittenden <rcritten@redhat.com> - 0.79.13-1
0b76c1
- Rebase to 0.79.13 (#1891743)
0b76c1
 
0b76c1
* Thu Jul 30 2020 Rob Crittenden <rcritten@redhat.com> - 0.79.7-15
0b76c1
- Replace the previous fix for dbus restarting with PartOf in the
0b76c1
  certmonger systemd service file to link the two (#1687698)
0b76c1
5e5f7c
* Tue Jun  2 2020 Rob Crittenden <rcritten@redhat.com> - 0.79.7-14
5e5f7c
- Include &message=CA-IDENT with GetCACaps/GetCACert requests (#1843009)
5e5f7c
5e5f7c
* Mon May 18 2020 Rob Crittenden <rcritten@redhat.com> - 0.79.7-13
5e5f7c
- Exit gracefully if dbus is restarted (#1687698)
5e5f7c
5e5f7c
* Thu May 14 2020 Rob Crittenden <rcritten@redhat.com> - 0.79.7-12
5e5f7c
- Add long command-line options to man pages and help output (#1782838)
5e5f7c
5e5f7c
* Mon May  4 2020 Rob Crittenden <rcritten@redhat.com> - 0.79.7-11
5e5f7c
- Fix test failure in 039-fromfile
5e5f7c
5e5f7c
* Mon May  4 2020 Rob Crittenden <rcritten@redhat.com> - 0.79.7-10
5e5f7c
- Ensure that files read in have a trailing new-line (#1829490)
5e5f7c
5e5f7c
* Thu Apr 30 2020 Rob Crittenden <rcritten@redhat.com> - 0.79.7-9
5e5f7c
- Call the secport equivalent of PR_ErrorToString
5e5f7c
- Remove a couple of unused varaibles found by coverity
5e5f7c
5e5f7c
* Mon Apr 13 2020 Rob Crittenden <rcritten@redhat.com> - 0.79.7-8
5e5f7c
- Move systemd tmpfiles from /var/run to /run (#1804928)
5e5f7c
- Improve logging in the SCEP helper (#1807691)
5e5f7c
- Fix sort order of certificates passed into PKCS7_verify (#1808052)
5e5f7c
- Add -N option to SCEP helper to separate web server chain from
5e5f7c
  SCEP issuer chain (#1808613)
5e5f7c
- Add template profile, MS v2 template and issuer to getcert list
5e5f7c
  output (#1734451)
5e5f7c
5e5f7c
* Tue Dec 17 2019 Rob Crittenden <rcritten@redhat.com> - 0.79.7-7
5e5f7c
- Update gating requirements
5e5f7c
5e5f7c
* Mon Dec 16 2019 Rob Crittenden <rcritten@redhat.com> - 0.79.7-6
5e5f7c
- Rebuild
5e5f7c
5e5f7c
* Mon Dec  2 2019 Rob Crittenden <rcritten@redhat.com> - 0.79.7-5
5e5f7c
- Fix use-after-free issue when retrieving CA chain (#1710632)
5e5f7c
5e5f7c
* Mon Dec  2 2019 Rob Crittenden <rcritten@redhat.com> - 0.79.7-4
5e5f7c
- Optimize closing of file descriptors on fork (#1763745)
5e5f7c
- Remove NOMODDB flag flag from context init, look for full tokens (#1746543)
5e5f7c
- Retrieve full IPA CA chain (#1710632)
5e5f7c
9e5f05
* Tue May 14 2019 Rob Crittenden <rcritten@redhat.com> - 0.79.7-3
9e5f05
- Rebuild for new annobin (#1708095)
9e5f05
9e5f05
* Fri May 10 2019 Rob Crittenden <rcritten@redhat.com> - 0.79.7-2
9e5f05
- Rebuild for new annobin (#1708095)
9e5f05
9e5f05
* Thu May  9 2019 Alexander Bokovoy <abokovoy@redhat.com> - 0.79.7-1
9e5f05
- Rebase to 0.79.7 (#1708095)
9e5f05
9e5f05
* Mon Oct  8 2018 Rob Crittenden <rcritten@redhat.com> - 0.79.6-5
9e5f05
- Address more issues uncovered by static analysis (#1632449)
9e5f05
9e5f05
* Tue Oct  2 2018 Rob Crittenden <rcritten@redhat.com> - 0.79.6-4
9e5f05
- Improve handling of NSS tokens (#1624930)
9e5f05
- Pull in upstream fixes discovered in coverity and clang (#1632449)
9e5f05
9e5f05
* Mon Aug 13 2018 Rob Crittenden <rcritten@redhat.com> - 0.79.6-3
9e5f05
- Add BuildRequires on python3-devel (#1615507)
9e5f05
9e5f05
* Thu Aug  2 2018 Rob Crittenden <rcritten@redhat.com> - 0.79.6-2
9e5f05
- Fix test failure on some platforms
9e5f05
9e5f05
* Wed Aug  1 2018 Rob Crittenden <rcritten@redhat.com> - 0.79.6-1
9e5f05
- Update to upstream 0.79.6
9e5f05
- Fix unit tests to work with python 3
9e5f05
9e5f05
* Fri Feb 23 2018 Rob Crittenden <rcritten@redhat.com> 0.79.5-6
9e5f05
- Fix unit tests. NSS crypto policy disallows keys < 1024
9e5f05
9e5f05
* Wed Feb 21 2018 Rob Crittenden <rcritten@redhat.com> 0.79.5-5
9e5f05
- Add BuildRequires on gcc
9e5f05
9e5f05
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.79.5-4
9e5f05
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
9e5f05
9e5f05
* Wed Jan 10 2018 Rob Crittenden <rcritten@redhat.com> 0.79.5-3
9e5f05
- Remove BR on mktemp. It is now provided by coreutils.
9e5f05
- Patch to fix NSS handling of keys in sqlite databases
9e5f05
- Patches to fix tests now that sqlite is the NSS default.
9e5f05
9e5f05
* Wed Oct  4 2017 Rob Crittenden <rcritten@redhat.com> 0.79.5-2
9e5f05
- Switch BR from /usr/include/popt.h to popt-devel
9e5f05
9e5f05
* Fri Sep  1 2017 Rob Crittenden <rcritten@redhat.com> 0.79.5-1
9e5f05
- update to 0.79.5:
9e5f05
   - getcert start-tracking: use issuer option when specified
9e5f05
   - add support for specifying the MS certificate template
9e5f05
   - Reformat certificates returned by Dogtag to strip extra newline
9e5f05
9e5f05
* Wed Aug 16 2017 Rob Crittenden <rcritten@redhat.com> 0.79.4-2
9e5f05
- Reformat certificates returned by Dogtag. Dogtag was including
9e5f05
  a spurious newline before -----END CERTIFICATE-----
9e5f05
9e5f05
* Mon Aug  7 2017 Rob Crittenden <rcritten@redhat.com> 0.79.4-1
9e5f05
- update to 0.79.4
9e5f05
  - fix CA option name for ipa cert-request
9e5f05
  - fix minor memory leak
9e5f05
  - fix build warnings
9e5f05
  - fix an incorrect date in the .spec changelog
9e5f05
  - bump gettext version to avoid warning
9e5f05
9e5f05
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.79.3-3
9e5f05
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
9e5f05
9e5f05
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.79.3-2
9e5f05
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
9e5f05
9e5f05
* Tue Feb 28 2017 Nalin Dahyabhai <nalin@redhat.com> 0.79.3-1
9e5f05
- update to 0.79.3:
9e5f05
  - fix self-signing self-test cases that used DSA or EC keys
9e5f05
9e5f05
* Mon Feb 27 2017 Nalin Dahyabhai <nalin@redhat.com> 0.79.2-2
9e5f05
- update %%docs list because README is now README.md
9e5f05
9e5f05
* Mon Feb 27 2017 Nalin Dahyabhai <nalin@redhat.com> 0.79.2-1
9e5f05
- update to 0.79.2:
9e5f05
  - fix 'make distcheck' target
9e5f05
9e5f05
* Sun Feb 19 2017 Nalin Dahyabhai <nalin@redhat.com> 0.79.1-1
9e5f05
- update to 0.79.1:
9e5f05
  - update translations
9e5f05
  - fix 'make archive' target
9e5f05
9e5f05
* Sun Feb 19 2017 Nalin Dahyabhai <nalin@redhat.com> 0.79-1
9e5f05
- update to 0.79:
9e5f05
  - getcert now offers an option (-X) for requesting processing by a particular
9e5f05
    CA if the server we're contacting is running more than one
9e5f05
  - getcert also offers options (--for-ca, --not-for-ca, --ca-path-length) for
9e5f05
    requesting BasicConstraints values
9e5f05
  - getcert now displays times in local time instead of UTC, which was
9e5f05
    previously the only way they were displayed; the --utc option can often be
9e5f05
    used to switch back to its previous behavior
9e5f05
  - the SCEP enrollment helper now correctly issues GetCACertChain requests to
9e5f05
    SCEP servers, instead of issuing a GetCAChain request, which isn't part of
9e5f05
    the protocol; from report by Jason Garland
9e5f05
  - when issuing SCEP requests, the ID of the CA included in the HTTP request
9e5f05
    is now URL-encoded, as it should be
9e5f05
  - renewal or notification-of-impending-expiration logic is now triggered
9e5f05
    closer to TTL thresholds rather than waiting for a periodic check to pass a
9e5f05
    threshold
9e5f05
  - properly builds with OpenSSL 1.1, thanks to Lukas Slebodnik and Tomas Mraz
9e5f05
    for a lot of the legwork
9e5f05
- resync .spec file with Fedora
9e5f05
- upstream project migrated from fedorahosted.org to pagure.io
9e5f05
9e5f05
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.78.6-6
9e5f05
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
9e5f05
9e5f05
* Sat Jan 21 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.78.6-5
9e5f05
- Rebuild for xmlrpc-c
9e5f05
9e5f05
* Wed Jul  6 2016 Nalin Dahyabhai <nalin@redhat.com> 0.78.6-4
9e5f05
- add backported fix to wait a reasonable amount of time after calling the
9e5f05
  'resubmit' method for a new certificate to be issued when we're exercising
9e5f05
  the D-Bus API during tests (Jan Cholasta, #1351052)
9e5f05
9e5f05
* Wed Jul  6 2016 Nalin Dahyabhai <nalin@redhat.com> 0.78.6-3
9e5f05
- instead of using killall to send a SIGHUP to the system bus daemon in %%post
9e5f05
  to get it to reload its configuration, use dbus-send to send a ReloadConfig
9e5f05
  request over the bus (should fix #1277573)
9e5f05
9e5f05
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.78.6-2
9e5f05
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
9e5f05
9e5f05
* Wed Jan 13 2016 Nalin Dahyabhai <nalin@redhat.com> 0.78.6-1
9e5f05
- document the -R, -N, -o, and -t flags for dogtag-ipa-renew-agent-submit
9e5f05
- stop checking that we can generate 512 bit keys during self-tests
9e5f05
9e5f05
* Thu Nov 12 2015 Nalin Dahyabhai <nalin@redhat.com> 0.78.5-1
9e5f05
- fix a possible uninitialized memory read (possibly #1260871)
9e5f05
- log a diagnostic error when we fail to initialize libkrb5
9e5f05
9e5f05
* Tue Aug  4 2015 Nalin Dahyabhai <nalin@redhat.com> 0.78.4-1
9e5f05
- fix the "getcert start-tracking" -L and -l options (#1249753)
9e5f05
- output diagnostics about the second request when scep-submit encounters an
9e5f05
  error during a second request to the SCEP server
9e5f05
9e5f05
* Mon Jul 20 2015 Nalin Dahyabhai <nalin@redhat.com> 0.78.3-1
9e5f05
- call poptGetOptArg() correctly, to fix parsing of the -R flag to scep-submit
9e5f05
  and the -O and -o flags to dogtag-submit (#1244914)
9e5f05
9e5f05
* Thu Jul  9 2015 Nalin Dahyabhai <nalin@redhat.com> 0.78.2-1
9e5f05
- tweak initialization so that we set up for providing our D-Bus API before we
9e5f05
  register our name with the bus, so that we can handle any requests that
9e5f05
  arrive before the acknowledgement of that registration
9e5f05
- on systems that run systemd, add the right data file so that the service gets
9e5f05
  started when someone tries to talk to the daemon (ticket #38)
9e5f05
- correctly check for error responses when sending GetCAChain requests to SCEP
9e5f05
  servers
9e5f05
9e5f05
* Sun Jun 21 2015 Nalin Dahyabhai <nalin@redhat.com> 0.78.1-1
9e5f05
- self-tests: assume that certutil won't generate DSA keys with more than 1024
9e5f05
  bits, and will often short us by a few
9e5f05
9e5f05
* Sat Jun 20 2015 Nalin Dahyabhai <nalin@redhat.com> 0.78-1
9e5f05
- switch to using popt for parsing command line arguments, continuing to
9e5f05
  use old help text for now so that we can catch up with translations (print
9e5f05
  old text for --help, new text (with longopts!) for -H)
9e5f05
- add some plumbing for eventually receiving per-certificate roots in
9e5f05
  addition to issued certificates and chain certificates
9e5f05
- add a "rekey" command to getcert, for triggering enrollment using a new
9e5f05
  key pair (#1087932)
9e5f05
- scep-submit: check for the Renewal capability, and default to taking
9e5f05
  advantage of it during rekeying, unless the new -n flag is specified to it
9e5f05
- dogtag-submit: add flags for passing user names, UDNs, passwords, and PINs
9e5f05
  to the helper (part of ticket #12)
9e5f05
- dogtag-submit: add a flag for using the agent creds to do TLS client auth
9e5f05
  while submitting enrollment requests (more of ticket #12)
9e5f05
- dogtag-submit: handle cases where we submit a request and the server
9e5f05
  returns a success code rather than just queuing the request (#12 again)
9e5f05
- ipa-submit: pass requested profile names to the server as an argument
9e5f05
  named "profile_id"; if the server gives us an "unrecognized argument"
9e5f05
  error, retry without it for compatibility's sake (part of IPA ticket #57)
9e5f05
- keygen: fix a possible crash if keygen fails to return a key from NSS
9e5f05
- correct the certmonger(8) man page's description of the -c flag, which it
9e5f05
  used to call the -C flag
9e5f05
- add logic for setting ownership and permissions on certificates and keys
9e5f05
  when saving them to disk
9e5f05
- add configuration options "max_key_lifetime" and "max_key_use_count" for
9e5f05
  making automatic renewal prefer rekeying
9e5f05
9e5f05
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.77.5-2
9e5f05
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
9e5f05
9e5f05
* Thu May 28 2015 Nalin Dahyabhai <nalin@redhat.com> 0.77.5-1
9e5f05
- pass $CERTMONGER_REQ_IP_ADDRESS to enrollment helpers if the signing request
9e5f05
  includes IP address subjectAltName values
9e5f05
- correctly verify signatures on SCEP server replies when the signer is neither
9e5f05
  the top-level CA nor the RA (feedback in #1161768)
9e5f05
- correctly verify signatures on SCEP server replies when there is more than
9e5f05
  one certificate in the chain between the RA and the top-level CA (feedback in
9e5f05
  #1161768)
9e5f05
9e5f05
* Fri May 15 2015 Nalin Dahyabhai <nalin@redhat.com> 0.77.4-1
9e5f05
- don't display PINs in "getcert list" output (#42)
9e5f05
- clean up launching of a private instance in "getcert"
9e5f05
- expand on the don't-delete-private-key fix from 0.77.3 by letting NSS's
9e5f05
  own safety checks have an effect
9e5f05
- backport record-keeping of key generation dates and counts of how many
9e5f05
  times we've gotten certificates using a given key pair
9e5f05
9e5f05
* Thu May  7 2015 Nalin Dahyabhai <nalin@redhat.com> 0.77.3-1
9e5f05
- fix a data loss bug when saving renewed certificates to NSS databases - the
9e5f05
  private key could be removed in error since 0.77
9e5f05
- fixes for bugs found by static analysis
9e5f05
- fix self-tests when built with OpenSSL 1.0.2
9e5f05
9e5f05
* Tue Apr 14 2015 Nalin Dahyabhai <nalin@redhat.com> 0.77.2-1
9e5f05
- expose the certificate's not-valid-before and not-valid-after dates as a
9e5f05
  property over D-Bus (ticket #41)
9e5f05
- give the local signer its own configuration option to set the lifetime
9e5f05
  of its signing certificate, falling back to the lifetime configured for
9e5f05
  the self-signer as a default to match the previous behavior
9e5f05
- fix a potential read segfault parsing the output of an enrollment helper,
9e5f05
  introduced in 0.77 (thanks to Steve Neuharth)
9e5f05
- read the ns-certtype extension value in certificates
9e5f05
- request an enrollment certtype extension to CSRs if we have a profile name
9e5f05
  that we want to use (ticket #17, possibly part of IPA ticket #57)
9e5f05
9e5f05
* Fri Feb 27 2015 Nalin Dahyabhai <nalin@redhat.com> 0.77.1-1
9e5f05
- update to 0.77
9e5f05
  - add initial, still rough, SCEP support (#1140241,#1161768)
9e5f05
    - add an scep-submit helper to handle part of it
9e5f05
  - getcert: add add-ca/add-scep-ca/modify-ca/remove-ca commands
9e5f05
  - getcert: add -l, -L flags to request/resubmit/start-tracking commands
9e5f05
    to provide a way to set a ChallengePassword in signing requests
9e5f05
  - lay some groundwork for rekeying support
9e5f05
  - bundled dogtag enrollment helpers now output debugging info to stderr (#)
9e5f05
  - ipa-getcert: fix a crash when using DNS discovery to locate servers (#39)
9e5f05
  - getcert: fix displaying of pre-request pre-/post-save commands (#1178190,
9e5f05
    #1181022, patch by David Kupka)
9e5f05
  - use Zanata for translations
9e5f05
  - getcert list: list the certificate's profile name, if it contains one
9e5f05
9e5f05
* Tue Nov 18 2014 Nalin Dahyabhai <nalin@redhat.com> 0.76.8-1
9e5f05
- dogtag-submit: accept additional options to pass to the server when
9e5f05
  approving requests using agent creds (#1165155, patch by Jan Cholasta)
9e5f05
- getcert: print help output when 'status' isn't given any args (#1163541)
9e5f05
9e5f05
* Tue Nov 11 2014 Nalin Dahyabhai <nalin@redhat.com> 0.76.7-1
9e5f05
- correctly read CA not-valid-after dates on 32-bit machines (also reported by
9e5f05
  Natxo Asenjo), so that we don't spin on polling them (#1163023)
9e5f05
9e5f05
* Mon Nov 10 2014 Nalin Dahyabhai <nalin@redhat.com> 0.76.6-1
9e5f05
- don't discard the priority value in DNS SRV records
9e5f05
9e5f05
* Mon Nov 10 2014 Nalin Dahyabhai <nalin@redhat.com> 0.76.5-1
9e5f05
- avoid premature exit on CA data analysis failures (should fix an issue
9e5f05
  reported by Natxo Asenjo)
9e5f05
9e5f05
* Mon Nov 10 2014 Nalin Dahyabhai <nalin@redhat.com> 0.76.4-1
9e5f05
- fix a failure in self-tests
9e5f05
9e5f05
* Mon Nov 10 2014 Nalin Dahyabhai <nalin@redhat.com> 0.76.3-1
9e5f05
- fixes for bugs found by static analysis
9e5f05
- handle IDN correctly when doing service location using SRV records
9e5f05
- documentation updates
9e5f05
9e5f05
* Wed Nov  5 2014 Nalin Dahyabhai <nalin@redhat.com>
9e5f05
- rework the state machine so that we save an issued certificate's associated
9e5f05
  CA certificates, then re-read the certificate, then run the post hook and
9e5f05
  issue notifications, in that order, instead of saving CA certificates after
9e5f05
  running the post hook, which was always a surprising order (#1131700)
9e5f05
- add a generic dogtag-submit helper that doesn't include any IPA defaults,
9e5f05
  to make it easier to know the difference between paramenters it requires
9e5f05
  and parameters which are optional (#12)
9e5f05
9e5f05
* Tue Nov  4 2014 Nalin Dahyabhai <nalin@redhat.com> 0.76.2-1
9e5f05
- ipa-submit: when we fail to locate/contact LDAP or XML-RPC servers,
9e5f05
  use discovery to find them (#1136900)
9e5f05
9e5f05
* Fri Oct 31 2014 Nalin Dahyabhai <nalin@redhat.com> 0.76.1-1
9e5f05
- allow for 'certmonger -P abstract:...' to work, too
9e5f05
9e5f05
* Fri Oct 31 2014 Nalin Dahyabhai <nalin@redhat.com> 0.76-1
9e5f05
- require a single certificate to be specified to 'getcert status' (#1148001,
9e5f05
  #1163541, #1163539)
9e5f05
- shorten the default help message which getcert prints when it's not given
9e5f05
  a specific command (#1131704)
9e5f05
- add private listener (-l, -L, -P) mode to certmonger, to allow it to listen
9e5f05
  for connections directly from clients running under the same UID
9e5f05
- add a command mode (-c) to certmonger, in which once it's started, it
9e5f05
  launches a specified command, and after that command exits, the daemon exits
9e5f05
- when getcert is invoked with no bus running, if it's running as root, run
9e5f05
  certmonger in private listener mode with the same invocation of getcert as
9e5f05
  the command to start and wait for (#1134497)
9e5f05
9e5f05
* Thu Aug 28 2014 Nalin Dahyabhai <nalin@redhat.com> 0.75.14-1
9e5f05
- make pathname canonicalization slightly smarter, to handle ".." in
9e5f05
  locations (#1131758)
9e5f05
- updates to self-tests (#1144082)
9e5f05
9e5f05
* Thu Aug 21 2014 Kevin Fenzi <kevin@scrye.com> - 0.75.13-2
9e5f05
- Rebuild for rpm bug 1131960
9e5f05
9e5f05
* Mon Aug 18 2014 Nalin Dahyabhai <nalin@redhat.com> 0.75.13-1
9e5f05
- add a missing test case file (whoops)
9e5f05
9e5f05
* Mon Aug 18 2014 Nalin Dahyabhai <nalin@redhat.com> 0.75.12-1
9e5f05
- correct encoding/decoding of variant-typed data which we receive and send
9e5f05
  as part of the org.freedesktop.DBus.Properties interface over the bus, and
9e5f05
  add some tests for them (based on patch from David Kupka, ticket #36)
9e5f05
9e5f05
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.75.10-2
9e5f05
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
9e5f05
9e5f05
* Tue Aug 12 2014 Nalin Dahyabhai <nalin@redhat.com> 0.75.11-1
9e5f05
- when getcert is passed a -a flag, to indicate that CA root certificates
9e5f05
  should be stored in the specified database, don't ignore locations which
9e5f05
  don't include a storage scheme (#1129537)
9e5f05
- when called to 'start-tracking' with the -a or -F flags, if we have
9e5f05
  applicable certificates on-hand for a CA that we're either told to use
9e5f05
  or which we decide is the correct one, save the certificates (#1129696)
9e5f05
9e5f05
* Tue Aug  5 2014 Nalin Dahyabhai <nalin@redhat.com> 0.75.10-1
9e5f05
- when attempting to contact an IPA LDAP server, if no "ldap_uri" is set in
9e5f05
  default.conf, and no "host" is set either, try to construct the server URI
9e5f05
  using the "server" setting (#1126985)
9e5f05
9e5f05
* Thu Jul 31 2014 Nalin Dahyabhai <nalin@redhat.com> 0.75.9-1
9e5f05
- avoid potential use-after-free after a CA is removed dynamically (thanks to
9e5f05
  Keenan Brock) (#1125342)
9e5f05
- add a "external-helper" property to CA objects
9e5f05
9e5f05
* Mon Jul 21 2014 Nalin Dahyabhai <nalin@redhat.com> 0.75.8-1
9e5f05
- add a 'refresh' option to the getcert command
9e5f05
- add a '-a' flag to the getcert command's 'refresh-ca' option
9e5f05
9e5f05
* Thu Jul 17 2014 Nalin Dahyabhai <nalin@redhat.com> 0.75.7-2
9e5f05
- reintroduce package Requires: on systemd-sysv on F19 and EL6 and older,
9e5f05
  conditionalized it so that it's ignored on newer releases, and make
9e5f05
  whether or not we call systemd-sysv-convert in triggers depend on that,
9e5f05
  too (#1104138)
9e5f05
9e5f05
* Thu Jul 17 2014 Nalin Dahyabhai <nalin@redhat.com> 0.75.7-1
9e5f05
- fix an inconsistency in how we parse cookie values returned by CA helpers,
9e5f05
  in that single-line values would lose the end-of-line after a daemon
9e5f05
  restart, but not before
9e5f05
- handle timeout values and exit status values when calling CA helpers
9e5f05
  in non-SUBMIT, non-POLL modes (#1118468)
9e5f05
- rework how we save CA certificates so that we save CA certificates associated
9e5f05
  with end-entity certificates when we save that end-entity certificate, which
9e5f05
  requires running all of the involved pre- and post-save commands
9e5f05
- drop package Requires: on systemd-sysv (#1104138)
9e5f05
9e5f05
* Thu Jun 26 2014 Nalin Dahyabhai <nalin@redhat.com> 0.75.6-1
9e5f05
- avoid potential use-after-free and read overrun after a CA is added
9e5f05
  dynamically (thanks to Jan Cholasta)
9e5f05
9e5f05
* Fri Jun 20 2014 Nalin Dahyabhai <nalin@redhat.com> 0.75.5-1
9e5f05
- documentation updates
9e5f05
9e5f05
* Fri Jun 20 2014 Nalin Dahyabhai <nalin@redhat.com> 0.75.4-2
9e5f05
- add a %%trigger to remove knowledge of the "dogtag-ipa-renew-agent" CA
9e5f05
  when we detect certmonger versions prior to 0.58 being installed, to
9e5f05
  avoid cases where some older versions choke on CAs with nicknames that
9e5f05
  contain characters that can't legally be part of a D-Bus name (#948993)
9e5f05
9e5f05
* Thu Jun 19 2014 Nalin Dahyabhai <nalin@redhat.com> 0.75.4-1
9e5f05
- fix creation and packaging of the "local" CA's data directory
9e5f05
9e5f05
* Wed Jun 18 2014 Nalin Dahyabhai <nalin@redhat.com> 0.75.3-1
9e5f05
- read and cache whether or not we saw a noOCSPcheck extension in certificates
9e5f05
- documentation updates
9e5f05
9e5f05
* Mon Jun 16 2014 Nalin Dahyabhai <nalin@redhat.com> 0.75.2-1
9e5f05
- when generating keys using OpenSSL, if key generation fails, try
9e5f05
  again with the default key size, in case we're in FIPS mode
9e5f05
- documentation updates
9e5f05
9e5f05
* Sat Jun 14 2014 Nalin Dahyabhai <nalin@redhat.com> 0.75.1-1
9e5f05
- log the state in 'getcert status' verbose mode
9e5f05
9e5f05
* Fri Jun 13 2014 Nalin Dahyabhai <nalin@redhat.com> 0.75-1
9e5f05
- add a -w (wait) flag to the getcert's request/resubmit/start-tracking
9e5f05
  commands, and add a non-waiting status command
9e5f05
9e5f05
* Wed Jun 11 2014 Nalin Dahyabhai <nalin@redhat.com> 0.74.96-1
9e5f05
- make the trust settings we apply to CA-supplied certificates while
9e5f05
  saving them to NSS databases run-time configurable
9e5f05
- fix compiling against EL5-era OpenSSL
9e5f05
- when saving CA certificates we pull from an IPA server, nickname
9e5f05
  it using the realm name with " IPA CA" appended rather than just
9e5f05
  naming it "IPA CA"
9e5f05
- fix the local signer so that when it issues itself a new certificate,
9e5f05
  it uses the same subject name
9e5f05
- add a -w flag to getcert's request, resubmit, and start-tracking
9e5f05
  commands, telling it to wait until either the certificate is issued,
9e5f05
  we get to a state where we know that we won't be able to get one, or
9e5f05
  we are waiting for a CA
9e5f05
9e5f05
* Mon Jun  9 2014 Nalin Dahyabhai <nalin@redhat.com> 0.74.95-1
9e5f05
- add the "local" signer, a local toy CA that signs anything you'll
9e5f05
  ask it to sign
9e5f05
9e5f05
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.74-2
9e5f05
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
9e5f05
9e5f05
* Fri Jun  6 2014 Nalin Dahyabhai <nalin@redhat.com> 0.74.94-1
9e5f05
- fix self-test errors that we trigger with new OpenSSL
9e5f05
- fix a build error that would sometimes happen when we're told to
9e5f05
  build PIE binaries
9e5f05
- quiet a compile warning
9e5f05
9e5f05
* Thu Jun  5 2014 Nalin Dahyabhai <nalin@redhat.com> 0.74.93-1
9e5f05
- add some self-tests
9e5f05
- simplify the internal submit-to-CA logic
9e5f05
- fixes for more problems found through static analysis
9e5f05
9e5f05
* Tue Jun  3 2014 Nalin Dahyabhai <nalin@redhat.com> 0.74.92-1
9e5f05
- retrieve CA information from CAs, if the helpers can do so, and
9e5f05
  add a command to explicitly refresh that data: "getcert refresh-ca"
9e5f05
- offer to save CA certificates to files and databases, when specified with
9e5f05
  new -a and -F flags to getcert request/resubmit/start-tracking (#1098208,
9e5f05
  trac #31)
9e5f05
- add IP address subject alternate names when getcert request/resubmit
9e5f05
  is passed the -A option (trac #35)
9e5f05
- read and cache the freshestCRL extension in certificates
9e5f05
- properly interpret KDC-unreachable errors encountered in the IPA
9e5f05
  submission error as a server-unreachable error that we will retry,
9e5f05
  rather than a misconfiguration error which we won't
9e5f05
- don't let tests get tripped up by new formatting used in dos2unix status
9e5f05
  messages (#1099080)
9e5f05
- updated translations
9e5f05
- be explicit that we are going to use bashisms in test scripts by calling
9e5f05
  the shell interpreter as 'bash' rather than 'sh' (trac #27)
9e5f05
9e5f05
* Thu Apr  3 2014 Nalin Dahyabhai <nalin@redhat.com> 0.74-1
9e5f05
- also save state when we exit due to SIGHUP
9e5f05
- don't get tripped up when enrollment helpers hand us certificates which
9e5f05
  include CRLF line terminators (ticket #25)
9e5f05
- be tolerant of certificate issuer names, subject names, DNS, email, and
9e5f05
  Kerberos principal namem subjectAltNames, and crl distribution point URLs
9e5f05
  that contain newlines
9e5f05
- read and cache the certificate template extension in certificates
9e5f05
- enforce different minimum key sizes depending on the type of key we're
9e5f05
  trying to generate
9e5f05
- store DER versions of subject, issuer and template subject, if we have
9e5f05
  them (Jan Cholasta, ticket #26)
9e5f05
- when generating signing requests with subject names that don't quite parse
9e5f05
  as subject names, encode what we're given as PrintableString rather than
9e5f05
  as a UTF8String
9e5f05
- always chdir() to a known location at startup, even if we're not becoming
9e5f05
  a daemon
9e5f05
- fix a couple of memory leaks (static analysis)
9e5f05
- add missing buildrequires: on which
9e5f05
9e5f05
* Thu Feb 20 2014 Nalin Dahyabhai <nalin@redhat.com> 0.73-1
9e5f05
- updates to 0.73
9e5f05
  - getcert no longer claims to be stuck when a CA is unreachable,
9e5f05
    because the daemon isn't actually stuck
9e5f05
9e5f05
* Mon Feb 17 2014 Nalin Dahyabhai <nalin@redhat.com>
9e5f05
- updates to 0.73
9e5f05
  - also pass the key type to enrollment helpers in the environment as
9e5f05
    a the value of "CERTMONGER_KEY_TYPE"
9e5f05
9e5f05
* Mon Feb 10 2014 Nalin Dahyabhai <nalin@redhat.com>
9e5f05
- move the tmpfiles.d file from /etc/tmpfiles.d to %%{_tmpfilesdir},
9e5f05
  where it belongs (#1180978)
9e5f05
9e5f05
* Mon Feb 10 2014 Nalin Dahyabhai <nalin@redhat.com>
9e5f05
- updates for 0.73
9e5f05
  - set the flag to encode EC public key parameters using named curves
9e5f05
    instead of the default of all-the-details when using OpenSSL
9e5f05
  - don't break when NSS supports secp521r1 but OpenSSL doesn't
9e5f05
  - also pass the CA nickname to enrollment helpers in the environment as
9e5f05
    a text value in "CERTMONGER_CA_NICKNAME", so they can use that value
9e5f05
    when reading configuration settings
9e5f05
  - also pass the SPKAC value to enrollment helpers in the environment as
9e5f05
    a base64 value in "CERTMONGER_SPKAC"
9e5f05
  - also pass the request's SubjectPublicKeyInfo value to enrollment helpers
9e5f05
    in the environment as a base64 value in "CERTMONGER_SPKI" (part of #16)
9e5f05
  - when generating signing requests using NSS, be more accommodating of
9e5f05
    requested subject names that don't parse properly
9e5f05
9e5f05
* Mon Feb  3 2014 Nalin Dahyabhai <nalin@redhat.com> 0.72-1
9e5f05
- update to 0.72
9e5f05
  - support generating DSA parameters and keys on sufficiently-new OpenSSL
9e5f05
    and NSS
9e5f05
  - support generating EC keys when OpenSSL and NSS support it, using key
9e5f05
    size to select the curve to use from among secp256r1, secp384r1,
9e5f05
    secp521r1 (which are the ones that are usually available, though
9e5f05
    secp521r1 isn't always, even if the other two are)
9e5f05
  - stop trying to cache public key parameters at all and instead cache public
9e5f05
    key info properly
9e5f05
  - encode the friendlyName attribute in signing requests as a BMPString,
9e5f05
    not as a PrintableString
9e5f05
  - catch more filesystem permissions problems earlier (more of #996581)
9e5f05
9e5f05
* Mon Jan 27 2014 Nalin Dahyabhai <nalin@redhat.com> 0.71-1
9e5f05
- check for cases where we fail to allocate memory while reading a request
9e5f05
  or CA entry from disk (John Haxby)
9e5f05
- only handle one watch at a time, which should avoid abort() during
9e5f05
  attempts to reconnect to the message bus after losing our connection
9e5f05
  to it (#1055521)
9e5f05
9e5f05
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.70-2
9e5f05
- Mass rebuild 2014-01-24
9e5f05
9e5f05
* Thu Jan  2 2014 Nalin Dahyabhai <nalin@redhat.com> 0.70-1
9e5f05
- add a --with-homedir option to configure, and use it, since subprocesses
9e5f05
  which we run and which use NSS may attempt to write to $HOME/.pki, and
9e5f05
  0.69's strategy of setting that to "/" was rightly hitting SELinux policy
9e5f05
  denials (#1047798)
9e5f05
9e5f05
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.69-2
9e5f05
- Mass rebuild 2013-12-27
9e5f05
9e5f05
* Mon Dec  9 2013 Nalin Dahyabhai <nalin@redhat.com> 0.69-1
9e5f05
- tweak how we decide whether we're on the master or a minion when we're
9e5f05
  told to use certmaster as a CA
9e5f05
- clean up one of the tests so that it doesn't have to work around internal
9e5f05
  logging producing duplicate messages
9e5f05
- when logging errors while setting up to contact xmlrpc servers, explicitly
9e5f05
  note that the error is client-side
9e5f05
- don't abort() due to incorrect locking when an attempt to save an issued
9e5f05
  certificate to the designated location fails (part of #1032760/#1033333,
9e5f05
  ticket #22)
9e5f05
- when reading an issued certificate from an enrollment helper, ignore
9e5f05
  noise before or after the certificate itself (more of #1032760/1033333,
9e5f05
  ticket #22)
9e5f05
- run subprocesses in a cleaned-up environment (more of #1032760/1033333,
9e5f05
  ticket #22)
9e5f05
- clear the ca-error that we saved when we had an error talking to the CA if we
9e5f05
  subsequently succeed in talking to the CA
9e5f05
- various other static-analysis fixes
9e5f05
9e5f05
* Thu Aug 29 2013 Nalin Dahyabhai <nalin@redhat.com> 0.68-1
9e5f05
- notice when the OpenSSL RNG isn't seeded
9e5f05
- notice when saving certificates or keys fails due to filesystem-related
9e5f05
  permission denial (#996581)
9e5f05
9e5f05
* Tue Aug  6 2013 Nalin Dahyabhai <nalin@redhat.com> 0.67-3
9e5f05
- pull up a patch from master to adapt self-tests to certutil's diagnostic
9e5f05
  output having changed (#992050)
9e5f05
9e5f05
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.67-2
9e5f05
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
9e5f05
9e5f05
* Mon Mar 11 2013 Nalin Dahyabhai <nalin@redhat.com> 0.67-1
9e5f05
- when saving certificates to NSS databases, try to preserve the trust
9e5f05
  value assigned to a previously-present certificate with the same nickname
9e5f05
  and subject, if one is found
9e5f05
- when saving certificates to NSS databases, also prune certificates from
9e5f05
  the database which have both the same nickname and subject as the one
9e5f05
  we're adding, to avoid tripping up tools that only fetch one certificate
9e5f05
  by nickname
9e5f05
9e5f05
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.65-2
9e5f05
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
9e5f05
9e5f05
* Wed Jan 23 2013 Nalin Dahyabhai <nalin@redhat.com> 0.66-1
9e5f05
- build as position-independent executables with early binding (#883966)
9e5f05
- also don't tag the unit file as a configuration file (internal tooling)
9e5f05
9e5f05
* Wed Jan 23 2013 Nalin Dahyabhai <nalin@redhat.com> 0.65-2
9e5f05
- don't tag the D-Bus session .service file as a configuration file (internal
9e5f05
  tooling)
9e5f05
9e5f05
* Tue Jan  8 2013 Nalin Dahyabhai <nalin@redhat.com> 0.65-1
9e5f05
- fix a crash in the self-tests
9e5f05
9e5f05
* Tue Jan  8 2013 Nalin Dahyabhai <nalin@redhat.com> 0.64-1
9e5f05
- at startup, if we resume the state machine for a given certificate to a state
9e5f05
  which expects to have the newly-added lock already acquired, acquire it
9e5f05
  before moving on with the certificate's work (still aimed at fixing #883484)
9e5f05
9e5f05
* Tue Dec 18 2012 Nalin Dahyabhai <nalin@redhat.com> 0.63-1
9e5f05
- serialize access to NSS databases and the running of pre- and post-save
9e5f05
  commands which might also access them (possibly fixing part of #883484)
9e5f05
9e5f05
* Thu Nov 29 2012 Nalin Dahyabhai <nalin@redhat.com> 0.62-1
9e5f05
- add a -u flag to getcert to enable requesting a keyUsage extension value
9e5f05
- request subjectKeyIdentifier extensions from CAs, and include them in
9e5f05
  self-signed certificates
9e5f05
- request basicConstraints from CAs, defaulting to requests for end-entity
9e5f05
  certificates
9e5f05
- when requesting CA certificates, also request authorityKeyIdentifier
9e5f05
- add support for requesting CRL distribution point and authorityInfoAccess
9e5f05
  extensions that specify OCSP responder locations
9e5f05
- don't crash when OpenSSL can't build a template certificate from a request
9e5f05
  when we're in FIPS mode
9e5f05
- put NSS in FIPS mode, when the system booted that way, except when we're
9e5f05
  trying to write certificates to a database
9e5f05
- fix CSR generation and self-signing in FIPS mode with NSS
9e5f05
- fix self-signing in FIPS mode with OpenSSL
9e5f05
- new languages from the translation team: mai, ml, nn, ga
9e5f05
9e5f05
* Tue Nov 27 2012 Nalin Dahyabhai <nalin@redhat.com> 0.61-3
9e5f05
- backport change from git to not choke if X509_REQ_to_X509() fails when we're
9e5f05
  self-signing using OpenSSL
9e5f05
- backport another change from git to represent this as a CA-rejected error
9e5f05
9e5f05
* Mon Sep 24 2012 Nalin Dahyabhai <nalin@redhat.com> 0.61-1
9e5f05
- fix a regression in reading old request tracking files where the
9e5f05
  request was in state NEED_TO_NOTIFY or NOTIFYING
9e5f05
9e5f05
* Wed Sep  5 2012 Nalin Dahyabhai <nalin@redhat.com> 0.60-1
9e5f05
- adjust internals of logic for talking to dogtag to at least have a
9e5f05
  concept of non-agent cases
9e5f05
- when talking to an IPA server's internal Dogtag instance, infer which
9e5f05
  ports the CA is listening on from the "dogtag_version" setting in the
9e5f05
  IPA configuration (Ade Lee)
9e5f05
- send a notification (or log a message, whatever) when we save a new
9e5f05
  certificate (#766167)
9e5f05
9e5f05
* Mon Jul 30 2012 Nalin Dahyabhai <nalin@redhat.com>
9e5f05
- fix a bad %%preun scriptlet
9e5f05
9e5f05
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.59-2
9e5f05
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
9e5f05
9e5f05
* Fri Jun 29 2012 Nalin Dahyabhai <nalin@redhat.com> 0.59-1
9e5f05
- mostly documentation updates
9e5f05
9e5f05
* Fri Jun 29 2012 Nalin Dahyabhai <nalin@redhat.com> 0.58-1
9e5f05
- add a "dogtag-ipa-renew-agent" CA so that we can renew certificates using
9e5f05
  an IPA server's internal Dogtag instance
9e5f05
- export the requested profile and old certificate to enrollment helpers
9e5f05
- make libxml and libcurl into hard build-time requirements
9e5f05
- serialize all pre/save/post sequences to make sure that stop/save/start
9e5f05
  doesn't become stop1/save1/stop2/start1/save2/start2 when we're stopping
9e5f05
  a service while we muck with more than one of its certificates
9e5f05
9e5f05
* Fri Jun 15 2012 Nalin Dahyabhai <nalin@redhat.com>
9e5f05
- add a command option (-T) to getcert for specifying which enrollment
9e5f05
  profile to tell a CA that we're using, in case it cares (#10)
9e5f05
9e5f05
* Thu Jun 14 2012 Nalin Dahyabhai <nalin@redhat.com> 0.57-1
9e5f05
- clarify that the command passed to getcert -C is a "post"-save command
9e5f05
- add a "pre"-save command option to getcert, specified with the -B flag (#9)
9e5f05
- after we notify of an impending not-valid-after approaching, don't do it
9e5f05
  again immediately
9e5f05
9e5f05
* Sat Mar  3 2012 Nalin Dahyabhai <nalin@redhat.com> 0.56-1
9e5f05
- when a caller sets the is-default flag on a CA, and another CA is no longer
9e5f05
  the default, emit the PropertiesChanged signal on the CA which is not the
9e5f05
  default, instead on the new default a second time
9e5f05
- drop some dead code from the D-Bus message handlers (static analysis,
9e5f05
  #796813)
9e5f05
- cache public keys when we read private keys
9e5f05
- go back to printing an error indicating that we're missing a required
9e5f05
  argument when we're missing a required argument, not that the option is
9e5f05
  invalid (broken since 0.51, #796542)
9e5f05
9e5f05
* Wed Feb 15 2012 Nalin Dahyabhai <nalin@redhat.com> 0.55-1
9e5f05
- allow root to use our implementation of org.freedesktop.DBus.Properties
9e5f05
- take more care to not emit useless PropertiesChanged signals
9e5f05
9e5f05
* Wed Feb 15 2012 Nalin Dahyabhai <nalin@redhat.com> 0.54-1
9e5f05
- fix setting the group ID when spawning the post-save command
9e5f05
9e5f05
* Tue Feb 14 2012 Nalin Dahyabhai <nalin@redhat.com> 0.53-1
9e5f05
- large changes to the D-Bus glue, exposing a lot of data which we were
9e5f05
  providing via D-Bus getter methods as properties, and providing more
9e5f05
  accurate introspection data
9e5f05
- emit a signal when the daemon saves a certificate to the destination
9e5f05
  location, and provide an option to have the daemon spawn an arbitrary
9e5f05
  command at that point, too (#766167)
9e5f05
- enable starting the service by default on RHEL (#765600)
9e5f05
9e5f05
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.52-2
9e5f05
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
9e5f05
9e5f05
* Fri Dec 16 2011 Nalin Dahyabhai <nalin@redhat.com> 0.52-1
9e5f05
- note that SELinux usually confines us to writing only to cert_t in
9e5f05
  doc/getting-started.txt (#765599)
9e5f05
- fix crashes when we add a request during our first run when we're
9e5f05
  populating the hard-coded CA list
9e5f05
- properly deal with cases where a path is passed to us is "./XXX"
9e5f05
- in session mode, create our data directories as we go
9e5f05
9e5f05
* Tue Dec  6 2011 Nalin Dahyabhai <nalin@redhat.com> 0.51-1
9e5f05
- api: lift restrictions on characters used in request and CA nicknames by
9e5f05
  making their object names not incorporate their nicknames
9e5f05
- api: add find_request_by_nickname and find_ca_by_nickname
9e5f05
- certmonger-ipa-submit.8: list -k, -K, -t in the summary, document -K
9e5f05
- getcert: print "invalid option" error messages ourselves (#756291)
9e5f05
- ipa-submit: supply a Referer: header when submitting requests to IPA
9e5f05
  (#750617, needed for #747710)
9e5f05
9e5f05
* Fri Oct 14 2011 Nalin Dahyabhai <nalin@redhat.com> 0.50-1
9e5f05
- really fix these this time:
9e5f05
 - getcert: error out when "list -c" finds no matching CA (#743488)
9e5f05
 - getcert: error out when "list -i" finds no matching request (#743485)
9e5f05
9e5f05
* Wed Oct 12 2011 Nalin Dahyabhai <nalin@redhat.com> 0.49-1
9e5f05
- when using an NSS database, skip loading the module database (#743042)
9e5f05
- when using an NSS database, skip loading root certs
9e5f05
- generate SPKAC values when generating CSRs, though we don't do anything
9e5f05
  with SPKAC values yet
9e5f05
- internally maintain and use challenge passwords, if we have them
9e5f05
- behave better when certificates have shorter lifetimes
9e5f05
- add/recognize/handle notification type "none"
9e5f05
- getcert: error out when "list -c" finds no matching CA (#743488)
9e5f05
- getcert: error out when "list -i" finds no matching request (#743485)
9e5f05
9e5f05
* Thu Sep 29 2011 Nalin Dahyabhai <nalin@redhat.com> 0.48-1
9e5f05
- don't incorrectly assume that CERT_ImportCerts() returns a NULL-terminated
9e5f05
  array (#742348)
9e5f05
9e5f05
* Tue Sep 27 2011 Nalin Dahyabhai <nalin@redhat.com> 0.47-1
9e5f05
- getcert: distinguish between {stat() succeeds but isn't a directory} and
9e5f05
  {stat() failed} when printing an error message (#739903)
9e5f05
- getcert resubmit/start-tracking: when we're looking for an existing request
9e5f05
  by ID, and we don't find one, note that specifically (#741262)
9e5f05
9e5f05
* Mon Aug 29 2011 Stephen Gallagher <sgallagh@redhat.com> - 0.46-1.1
9e5f05
- Rebuild against fixed libtevent version
9e5f05
9e5f05
* Mon Aug 15 2011 Nalin Dahyabhai <nalin@redhat.com> 0.46-1
9e5f05
- treat the ability to access keys in an NSS database without using a PIN,
9e5f05
  when we've been told we need one, as an error (#692766, really this time)
9e5f05
9e5f05
* Thu Aug 11 2011 Nalin Dahyabhai <nalin@redhat.com> 0.45-1
9e5f05
- modify the systemd .service file to be a proper 'dbus' service (more
9e5f05
  of #718172)
9e5f05
9e5f05
* Thu Aug 11 2011 Nalin Dahyabhai <nalin@redhat.com> 0.44-1
9e5f05
- check specifically for cases where a specified token that we need to
9e5f05
  use just isn't present for whatever reason (#697058)
9e5f05
9e5f05
* Wed Aug 10 2011 Nalin Dahyabhai <nalin@redhat.com> 0.43-1
9e5f05
- add a -K option to ipa-submit, to use the current ccache, which makes
9e5f05
  it easier to test
9e5f05
9e5f05
* Fri Aug  5 2011 Nalin Dahyabhai <nalin@redhat.com>
9e5f05
- if xmlrpc-c's struct xmlrpc_curl_xportparms has a gss_delegate field, set
9e5f05
  it to TRUE when we're doing Negotiate auth (#727864, #727863, #727866)
9e5f05
9e5f05
* Wed Jul 13 2011 Nalin Dahyabhai <nalin@redhat.com>
9e5f05
- treat the ability to access keys in an NSS database without using a PIN,
9e5f05
  when we've been told we need one, as an error (#692766)
9e5f05
- when handling "getcert resubmit" requests, if we don't have a key yet,
9e5f05
  make sure we go all the way back to generating one (#694184)
9e5f05
- getcert: try to clean up tests for NSS and PEM file locations (#699059)
9e5f05
- don't try to set reconnect-on-exit policy unless we managed to connect
9e5f05
  to the bus (#712500)
9e5f05
- handle cases where we specify a token but the storage token isn't
9e5f05
  known (#699552)
9e5f05
- getcert: recognize -i and storage options to narrow down which requests
9e5f05
  the user wants to know about (#698772)
9e5f05
- output hints when the daemon has startup problems, too (#712075)
9e5f05
- add flags to specify whether we're bus-activated or not, so that we can
9e5f05
  exit if we have nothing to do after handling a request received over
9e5f05
  the bus if some specified amount of time has passed
9e5f05
- explicitly disallow non-root access in the D-Bus configuration (#712072)
9e5f05
- migrate to systemd on releases newer than Fedora 15 or RHEL 6 (#718172)
9e5f05
- fix a couple of incorrect calls to talloc_asprintf() (#721392)
9e5f05
9e5f05
* Wed Apr 13 2011 Nalin Dahyabhai <nalin@redhat.com> 0.42-1
9e5f05
- getcert: fix a buffer overrun preparing a request for the daemon when
9e5f05
  there are more parameters to encode than space in the array (#696185)
9e5f05
- updated translations: de, es, id, pl, ru, uk
9e5f05
9e5f05
* Mon Apr 11 2011 Nalin Dahyabhai <nalin@redhat.com> 0.41-1
9e5f05
- read information about the keys we've just generated before proceeding
9e5f05
  to generating a CSR (part of #694184, part of #695675)
9e5f05
- when processing a "resubmit" request from getcert, go back to key
9e5f05
  generation if we don't have keys yet, else go back to CSR generation as
9e5f05
  before (#694184, #695675)
9e5f05
- configure with --with-tmpdir=/var/run/certmonger and own /var/run/certmonger
9e5f05
  (#687899), and add a systemd tmpfiles.d control file for creating
9e5f05
  /var/run/certmonger on Fedora 15 and later
9e5f05
- let session instances exit when they get disconnected from the bus
9e5f05
- use a lock file to make sure there's only one session instance messing
9e5f05
  around with the user's files at a time
9e5f05
- fix errors saving certificates to NSS databases when there's already a
9e5f05
  certificate there with the same nickname (#695672)
9e5f05
- make key and certificate location output from 'getcert list' more properly
9e5f05
  translatable (#7)
9e5f05
9e5f05
* Mon Mar 28 2011 Nalin Dahyabhai <nalin@redhat.com> 0.40-1
9e5f05
- update to 0.40
9e5f05
  - fix validation check on EKU OIDs in getcert (#691351)
9e5f05
  - get session bus mode sorted
9e5f05
  - add a list of recognized EKU values to the getcert-request man page
9e5f05
9e5f05
* Fri Mar 25 2011 Nalin Dahyabhai <nalin@redhat.com> 0.39-1
9e5f05
- update to 0.39
9e5f05
  - fix use of an uninitialized variable in the xmlrpc-based submission
9e5f05
    helpers (#690886)
9e5f05
9e5f05
* Thu Mar 24 2011 Nalin Dahyabhai <nalin@redhat.com> 0.38-1
9e5f05
- update to 0.38
9e5f05
  - catch cases where we can't read a PIN file, but we never have to log
9e5f05
    in to the token to access the private key (more of #688229)
9e5f05
9e5f05
* Tue Mar 22 2011 Nalin Dahyabhai <nalin@redhat.com> 0.37-1
9e5f05
- update to 0.37
9e5f05
  - be more careful about checking if we can read a PIN file successfully
9e5f05
    before we even call an API that might need us to try (#688229)
9e5f05
  - fix strict aliasing warnings
9e5f05
9e5f05
* Tue Mar 22 2011 Nalin Dahyabhai <nalin@redhat.com> 0.36-1
9e5f05
- update to 0.36
9e5f05
  - fix some use-after-free bugs in the daemon (#689776)
9e5f05
  - fix a copy/paste error in certmonger-ipa-submit(8)
9e5f05
  - getcert now suppresses error details when not given its new -v option
9e5f05
    (#683926, more of #681641/#652047)
9e5f05
  - updated translations
9e5f05
    - de, es, pl, ru, uk
9e5f05
    - indonesian translation is now for "id" rather than "in"
9e5f05
9e5f05
* Wed Mar  2 2011 Nalin Dahyabhai <nalin@redhat.com> 0.35.1-1
9e5f05
- fix a self-test that broke because one-year-from-now is now a day's worth
9e5f05
  of seconds further out than it was a few days ago
9e5f05
9e5f05
* Mon Feb 14 2011 Nalin Dahyabhai <nalin@redhat.com> 0.35-1
9e5f05
- update to 0.35
9e5f05
  - self-test fixes to rebuild properly in mock (#670322)
9e5f05
9e5f05
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.34-2
9e5f05
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
9e5f05
9e5f05
* Fri Jan 14 2011 Nalin Dahyabhai <nalin@redhat.com> 0.34-1
9e5f05
- update to 0.34
9e5f05
  - explicitly note the number of requests we're tracking in the output of
9e5f05
    "getcert list" (#652049)
9e5f05
  - try to offer some suggestions when we get certain specific errors back
9e5f05
    in "getcert" (#652047)
9e5f05
  - updated translations
9e5f05
    - es
9e5f05
9e5f05
* Thu Dec 23 2010 Nalin Dahyabhai <nalin@redhat.com> 0.33-1
9e5f05
- update to 0.33
9e5f05
  - new translations
9e5f05
    - id by Okta Purnama Rahadian!
9e5f05
  - updated translations
9e5f05
    - pl, uk
9e5f05
  - roll up assorted fixes for defects
9e5f05
9e5f05
* Fri Nov 12 2010 Nalin Dahyabhai <nalin@redhat.com> 0.32-2
9e5f05
- depend on the e2fsprogs libuuid on Fedora and RHEL releases where it's
9e5f05
  not part of util-linux-ng
9e5f05
9e5f05
* Wed Oct 13 2010 Nalin Dahyabhai <nalin@redhat.com> 0.32-1
9e5f05
- oops, rfc5280 says we shouldn't be populating unique identifiers, so
9e5f05
  make it a configuration option and default the behavior to off
9e5f05
9e5f05
* Tue Oct 12 2010 Nalin Dahyabhai <nalin@redhat.com> 0.31-1
9e5f05
- start populating the optional unique identifier fields in self-signed
9e5f05
  certificates
9e5f05
9e5f05
* Thu Sep 30 2010 Nalin Dahyabhai <nalin@redhat.com> 0.30-4
9e5f05
- explicitly require "dbus" to try to ensure we have a running system bus
9e5f05
  when we get started (#639126)
9e5f05
9e5f05
* Wed Sep 29 2010 jkeating - 0.30-3
9e5f05
- Rebuilt for gcc bug 634757
9e5f05
9e5f05
* Thu Sep 23 2010 Nalin Dahyabhai <nalin@redhat.com> 0.30-2
9e5f05
- try to SIGHUP the messagebus daemon at first install so that it'll
9e5f05
  let us claim our service name if it isn't restarted before we are
9e5f05
  first started (#636876)
9e5f05
9e5f05
* Wed Aug 25 2010 Nalin Dahyabhai <nalin@redhat.com> 0.30-1
9e5f05
- update to 0.30
9e5f05
  - fix errors computing the time at the end of an interval that were
9e5f05
    caught by self-tests
9e5f05
9e5f05
* Mon Aug 23 2010 Nalin Dahyabhai <nalin@redhat.com> 0.29-1
9e5f05
- update to 0.29
9e5f05
  - fix 64-bit cleanliness issue using libdbus
9e5f05
  - actually include the full set of tests in tarballs
9e5f05
9e5f05
* Tue Aug 17 2010 Nalin Dahyabhai <nalin@redhat.com> 0.28-1
9e5f05
- update to 0.28
9e5f05
  - fix self-signing certificate notBefore and notAfter values on 32-bit
9e5f05
    machines
9e5f05
9e5f05
* Tue Aug 17 2010 Nalin Dahyabhai <nalin@redhat.com> 0.27-1
9e5f05
- update to 0.27
9e5f05
  - portability and test fixes
9e5f05
9e5f05
* Fri Aug 13 2010 Nalin Dahyabhai <nalin@redhat.com> 0.26-1
9e5f05
- update to 0.26
9e5f05
  - when canceling a submission request that's being handled by a helper,
9e5f05
    reap the child process's status after killing it (#624120)
9e5f05
9e5f05
* Fri Aug 13 2010 Nalin Dahyabhai <nalin@redhat.com> 0.25-1
9e5f05
- update to 0.25
9e5f05
  - new translations
9e5f05
    - in by Okta Purnama Rahadian!
9e5f05
  - fix detection of cases where we can't access a private key in an NSS
9e5f05
    database because we don't have the PIN
9e5f05
  - teach '*getcert start-tracking' about the -p and -P options which the
9e5f05
    '*getcert request' commands already understand (#621670), and also
9e5f05
    the -U, -K, -E, and -D flags
9e5f05
  - double-check that the nicknames of keys we get back from
9e5f05
    PK11_ListPrivKeysInSlot() match the desired nickname before accepting
9e5f05
    them as matches, so that our tests won't all blow up on EL5
9e5f05
  - fix dynamic addition and removal of CAs implemented through helpers
9e5f05
9e5f05
* Mon Jun 28 2010 Nalin Dahyabhai <nalin@redhat.com> 0.24-4
9e5f05
- init script: ensure that the subsys lock is created whenever we're called to
9e5f05
  "start" when we're already running (even more of #596719)
9e5f05
9e5f05
* Tue Jun 15 2010 Nalin Dahyabhai <nalin@redhat.com> 0.24-3
9e5f05
- more gracefully handle manual daemon startups and cleaning up of unexpected
9e5f05
  crashes (still more of #596719)
9e5f05
9e5f05
* Thu Jun 10 2010 Nalin Dahyabhai <nalin@redhat.com> 0.24-2
9e5f05
- don't create the daemon pidfile until after we've connected to the D-Bus
9e5f05
  (still more of #596719)
9e5f05
9e5f05
* Tue Jun  8 2010 Nalin Dahyabhai <nalin@redhat.com> 0.24-1
9e5f05
- update to 0.24
9e5f05
  - keep the lock on the pid file, if we have one, when we fork, and cancel
9e5f05
    daemon startup if we can't gain ownership of the lock (the rest of #596719)
9e5f05
  - make the man pages note which external configuration files we consult when
9e5f05
    submitting requests to certmaster and ipa CAs
9e5f05
9e5f05
* Thu May 27 2010 Nalin Dahyabhai <nalin@redhat.com> 0.23-1
9e5f05
- update to 0.23
9e5f05
  - new translations
9e5f05
    - pl by Piotr DrÄ…g!
9e5f05
  - cancel daemon startup if we can't gain ownership of our well-known
9e5f05
    service name on the DBus (#596719)
9e5f05
9e5f05
* Fri May 14 2010 Nalin Dahyabhai <nalin@redhat.com> 0.22-1
9e5f05
- update to 0.22
9e5f05
  - new translations
9e5f05
    - de by Fabian Affolter!
9e5f05
  - certmaster-submit: don't fall over when we can't find a certmaster.conf
9e5f05
    or a minion.conf (i.e., certmaster isn't installed) (#588932)
9e5f05
  - when reading extension values from certificates, prune out duplicate
9e5f05
    principal names, email addresses, and hostnames
9e5f05
9e5f05
* Tue May  4 2010 Nalin Dahyabhai <nalin@redhat.com> 0.21-1
9e5f05
- update to 0.21
9e5f05
  - getcert/*-getcert: relay the desired CA to the local service, whether
9e5f05
    specified on the command line (in getcert) or as a built-in hard-wired
9e5f05
    default (in *-getcert) (#584983)
9e5f05
  - flesh out the default certmonger.conf so that people can get a feel for
9e5f05
    the expected formatting (Jenny Galipeau)
9e5f05
9e5f05
* Wed Apr 21 2010 Nalin Dahyabhai <nalin@redhat.com> 0.20-1
9e5f05
- update to 0.20
9e5f05
  - correctly parse certificate validity periods given in years (spotted by
9e5f05
    Stephen Gallagher)
9e5f05
  - setup for translation
9e5f05
    - es by Héctor Daniel Cabrera!
9e5f05
    - ru by Yulia Poyarkova!
9e5f05
    - uk by Yuri Chornoivan!
9e5f05
  - fix unpreprocessed defaults in certmonger.conf's man page
9e5f05
  - tweak the IPA-specific message that indicates a principal name also needs
9e5f05
    to be specified if we're not using the default subject name (#579542)
9e5f05
  - make the validity period of self-signed certificates into a configuration
9e5f05
    setting and not a piece of the state information we track about the signer
9e5f05
  - init script: exit with status 2 instead of 1 when invoked with an
9e5f05
    unrecognized argument (#584517)
9e5f05
9e5f05
* Tue Mar 23 2010 Nalin Dahyabhai <nalin@redhat.com> 0.19-1
9e5f05
- update to 0.19
9e5f05
  - correctly initialize NSS databases that need to be using a PIN
9e5f05
  - add certmonger.conf, for customizing notification timings and settings,
9e5f05
    and use of digests other than the previously-hard-coded SHA256, and
9e5f05
    drop those settings from individual requests
9e5f05
  - up the default self-sign validity interval from 30 days to 365 days
9e5f05
  - drop the first default notification interval from 30 days to 28 days
9e5f05
    (these two combined to create a fun always-reissuing loop earlier)
9e5f05
  - record the token which contains the key or certificate when we're
9e5f05
    storing them in an NSS database, and report it
9e5f05
  - improve handling of cases where we're supposed to use a PIN but we
9e5f05
    either don't have one or we have the wrong one
9e5f05
  - teach getcert to accept a PIN file's name or a PIN value when adding
9e5f05
    a new entry
9e5f05
  - update the IPA submission helper to use the new 'request_cert' signature
9e5f05
    that's landing soon
9e5f05
  - more tests
9e5f05
9e5f05
* Fri Feb 12 2010 Nalin Dahyabhai <nalin@redhat.com> 0.18-1
9e5f05
- update to 0.18
9e5f05
  - add support for using encrypted storage for keys, using PIN values
9e5f05
    supplied directly or read from files whose names are supplied
9e5f05
  - don't choke on NSS database locations that use the "sql:" or "dbm:"
9e5f05
    prefix
9e5f05
9e5f05
* Mon Jan 25 2010 Nalin Dahyabhai <nalin@redhat.com> 0.17-2
9e5f05
- make the D-Bus configuration file (noreplace) (#541072)
9e5f05
- make the %%check section and the deps we have just for it conditional on
9e5f05
  the same macro (#541072)
9e5f05
9e5f05
* Wed Jan  6 2010 Nalin Dahyabhai <nalin@redhat.com> 0.17-1
9e5f05
- update to 0.17
9e5f05
  - fix a hang in the daemon (Rob Crittenden)
9e5f05
  - documentation updates
9e5f05
  - fix parsing of submission results from IPA (Rob Crittenden)
9e5f05
9e5f05
* Fri Dec 11 2009 Nalin Dahyabhai <nalin@redhat.com> 0.16-1
9e5f05
- update to 0.16
9e5f05
  - set a umask at startup (Dan Walsh)
9e5f05
9e5f05
* Tue Dec  8 2009 Nalin Dahyabhai <nalin@redhat.com> 0.15-1
9e5f05
- update to 0.15
9e5f05
  - notice that a directory with a trailing '/' is the same location as the
9e5f05
    directory without it
9e5f05
  - fix handling of the pid file when we write one (by actually giving it
9e5f05
    contents)
9e5f05
9e5f05
* Wed Nov 25 2009 Nalin Dahyabhai <nalin@redhat.com> 0.14-1
9e5f05
- update to 0.14
9e5f05
  - check key and certificate location at add-time to make sure they're
9e5f05
    absolute paths to files or directories, as appropriate
9e5f05
  - IPA: dig into the 'result' item if the named result value we're looking
9e5f05
    for isn't in the result struct
9e5f05
9e5f05
* Tue Nov 24 2009 Nalin Dahyabhai <nalin@redhat.com> 0.13-1
9e5f05
- update to 0.13
9e5f05
  - change the default so that we default to trying to auto-refresh
9e5f05
    certificates unless told otherwise
9e5f05
  - preemptively enforce limitations on request nicknames so that they
9e5f05
    make valid D-Bus object path components
9e5f05
9e5f05
* Tue Nov 24 2009 Nalin Dahyabhai <nalin@redhat.com> 0.12-1
9e5f05
- update to 0.12
9e5f05
  - add a crucial bit of error reporting when CAs reject our requests
9e5f05
  - count the number of configured CAs correctly
9e5f05
9e5f05
* Mon Nov 23 2009 Nalin Dahyabhai <nalin@redhat.com> 0.11-1
9e5f05
- update to 0.11
9e5f05
  - add XML-RPC submission for certmaster and IPA
9e5f05
  - prune entries with duplicate names from the data store
9e5f05
9e5f05
* Fri Nov 13 2009 Nalin Dahyabhai <nalin@redhat.com> 0.10-1
9e5f05
- update to 0.10
9e5f05
  - add some compiler warnings and then fix them
9e5f05
9e5f05
* Fri Nov 13 2009 Nalin Dahyabhai <nalin@redhat.com> 0.9-1
9e5f05
- update to 0.9
9e5f05
  - run external submission helpers correctly
9e5f05
  - fix signing of signing requests generated for keys stored in files
9e5f05
  - only care about new interface and route notifications from netlink,
9e5f05
    and ignore notifications that don't come from pid 0
9e5f05
  - fix logic for determining expiration status
9e5f05
  - correct the version number in self-signed certificates
9e5f05
9e5f05
* Tue Nov 10 2009 Nalin Dahyabhai <nalin@redhat.com> 0.8-1
9e5f05
- update to 0.8
9e5f05
  - encode windows UPN values in requests correctly
9e5f05
  - watch for netlink routing changes and restart stalled submission requests
9e5f05
  - 'getcert resubmit' can force a regeneration of the CSR and submission
9e5f05
9e5f05
* Fri Nov  6 2009 Nalin Dahyabhai <nalin@redhat.com> 0.7-1
9e5f05
- update to 0.7
9e5f05
  - first cut at a getting-started document
9e5f05
  - refactor some internal key handling with NSS
9e5f05
  - check for duplicate request nicknames at add-time
9e5f05
9e5f05
* Tue Nov  3 2009 Nalin Dahyabhai <nalin@redhat.com> 0.6-1
9e5f05
- update to 0.6
9e5f05
  - man pages
9e5f05
  - 'getcert stop-tracking' actually makes the server forget now
9e5f05
  - 'getcert request -e' was redundant, dropped the -e option
9e5f05
  - 'getcert request -i' now sets the request nickname
9e5f05
  - 'getcert start-tracking -i' now sets the request nickname
9e5f05
9e5f05
* Mon Nov  2 2009 Nalin Dahyabhai <nalin@redhat.com> 0.5-1
9e5f05
- update to 0.5
9e5f05
  - packaging fixes
9e5f05
  - add a selfsign-getcert client
9e5f05
  - self-signed certs now get basic constraints and their own serial numbers
9e5f05
  - accept id-ms-kp-sc-logon as a named EKU value in a request
9e5f05
9e5f05
* Thu Oct 29 2009 Nalin Dahyabhai <nalin@redhat.com> 0.4-1
9e5f05
- update to 0.4
9e5f05
9e5f05
* Thu Oct 22 2009 Nalin Dahyabhai <nalin@redhat.com> 0.1-1
9e5f05
- update to 0.1
9e5f05
9e5f05
* Sun Oct 18 2009 Nalin Dahyabhai <nalin@redhat.com> 0.0-1
9e5f05
- initial package