Commit Graph

94 Commits

Author SHA1 Message Date
Rob Crittenden
549bc83a16 Update to upstream 0.79.20
Resolves: RHEL-40922
2024-06-12 15:16:52 -04:00
Rob Crittenden
85e3dcf93b Update to upstream 0.79.19 2023-10-10 15:23:02 -04:00
Rob Crittenden
92c94147f2 Update to upstream 0.79.18 2023-04-05 13:15:02 -04:00
Rob Crittenden
3c3ee59a21 Update to upstream 0.79.17 2022-11-30 14:36:43 -05:00
Rob Crittenden
0fb6642952 Update to upstream 0.79.16 2022-08-25 09:31:45 -04:00
Rob Crittenden
91793c6a31 Update to upstream 0.79.15 2022-01-05 15:16:44 -05:00
Rob Crittenden
7fa119ea0d Update to upstream 0.79.14 2021-06-15 15:39:18 -04:00
Rob Crittenden
45a9828da0 Update to upstream 0.79.13 2020-10-20 16:30:14 -04:00
Rob Crittenden
efe9c7e6bb Update to upstream 0.79.12 2020-10-05 11:52:14 -04:00
Rob Crittenden
9e169141d1 Update to upstream 0.79.11 2020-06-30 13:35:48 -04:00
Rob Crittenden
d8aa717596 Update to upstream 0.79.10 2020-06-26 17:12:50 -04:00
Rob Crittenden
a170c390c3 Update to upstream 0.79.9 2020-01-31 14:27:20 -05:00
Rob Crittenden
21430b4d60 Update to upstream 0.79.8 2019-07-17 13:57:55 -04:00
Rob Crittenden
7eca3b6000 Update to upstream 0.79.7
Also fix rpm warning about embedded % in a comment
2019-02-18 11:34:00 -05:00
Rob Crittenden
f021a3d3fd Update to upstream 0.79.6 2018-05-08 13:08:07 -04:00
Rob Crittenden
41e3137ddf Update to 0.79.5
- update to 0.79.5:
   - getcert start-tracking: use issuer option when specified
   - add support for specifying the MS certificate template
   - Reformat certificates returned by Dogtag to strip extra newline

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
2017-09-01 16:15:10 -04:00
Rob Crittenden
556a0b448b Update to 0.79.4
- update to 0.79.4:
  - fix CA option name for ipa cert-request
  - fix minor memory leak
  - fix build warnings
  - fix an incorrect date in the .spec changelog
  - bump gettext version to avoid warning

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
2017-08-07 17:56:14 -04:00
Nalin Dahyabhai
6ff35d776f Update to 0.79.3
- update to 0.79.3:
  - fix self-signing self-test cases that used DSA or EC keys

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-02-28 01:33:53 -05:00
Nalin Dahyabhai
c68c5e7f21 Update to 0.79.2-2
- update to 0.79.2:
  - update %%docs list because README is now README.md

- update to 0.79.1:
  - update translations
  - fix 'make archive' target

- update to 0.79:
  - getcert now offers an option (-X) for requesting processing by a particular
    CA if the server we're contacting is running more than one
  - getcert also offers options (--for-ca, --not-for-ca, --ca-path-length) for
    requesting BasicConstraints values
  - getcert now displays times in local time instead of UTC, which was
    previously the only way they were displayed; the --utc option can often be
    used to switch back to its previous behavior
  - the SCEP enrollment helper now correctly issues GetCACertChain requests to
    SCEP servers, instead of issuing a GetCAChain request, which isn't part of
    the protocol; from report by Jason Garland
  - when issuing SCEP requests, the ID of the CA included in the HTTP request
    is now URL-encoded, as it should be
  - renewal or notification-of-impending-expiration logic is now triggered
    closer to TTL thresholds rather than waiting for a periodic check to pass a
    threshold
  - properly builds with OpenSSL 1.1, thanks to Lukas Slebodnik and Tomas Mraz
    for a lot of the legwork
- resync .spec file with Fedora
- upstream project migrated from fedorahosted.org to pagure.io

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-02-27 22:03:49 -05:00
Nalin Dahyabhai
5f3c01e3a4 Update to 0.78.6
- document the -R, -N, -o, and -t flags for dogtag-ipa-renew-agent-submit
- stop checking that we can generate 512 bit keys during self-tests
2016-01-13 13:54:21 -05:00
Nalin Dahyabhai
1e4e4bd4df Update to 0.78.5
- fix a possible uninitialized memory read (possibly #1260871)
- log a diagnostic error when we fail to initialize libkrb5
2015-11-16 17:44:15 -05:00
Nalin Dahyabhai
c0ca98f8c4 Update to 0.78.4
Update to 0.78.4:
- fix the "getcert start-tracking" -L and -l options (#1249753)
- output diagnostics about the second request when scep-submit encounters an
  error during a second request to the SCEP server
2015-08-04 14:54:37 -04:00
Nalin Dahyabhai
cb61adfa6c Update to 0.78.3
- call poptGetOptArg() correctly, to fix parsing of the -R flag to scep-submit
  and the -O and -o flags to dogtag-submit (#1244914)
2015-07-20 15:29:52 -04:00
Nalin Dahyabhai
144e7dd1b0 Update to 0.78.2
- tweak initialization so that we set up for providing our D-Bus API before we
  register our name with the bus, so that we can handle any requests that
  arrive before the acknowledgement of that registration
- on systems that run systemd, add the right data file so that the service gets
  started when someone tries to talk to the daemon (ticket #38)
- correctly check for error responses when sending GetCAChain requests to SCEP
  servers
2015-07-09 20:21:53 -04:00
Nalin Dahyabhai
a85bb52ef3 Update to 0.78.1
- fixup the key-information-read test for DSA to account for certutil
  generating 1024 bit keys when we ask for more
- fix a typo in the package changelog
- add relevant references to bug reports and tickets in the 0.78 log
2015-06-21 02:21:52 -04:00
Nalin Dahyabhai
0760509e84 Update to 0.78
- switch to using popt for parsing command line arguments, continuing to
  use old help text for now so that we can catch up with translations (print
  old text for --help, new text (with longopts!) for -H)
- add some plumbing for eventually receiving per-certificate roots in
  addition to issued certificates and chain certificates
- add a "rekey" command to getcert, for triggering enrollment using a new
  key pair
- scep-submit: check for the Renewal capability, and default to taking
  advantage of it during rekeying, unless the new -n flag is specified to it
- dogtag-submit: add flags for passing user names, UDNs, passwords, and PINs
  to the helper
- dogtag-submit: add a flag for using the agent creds to do TLS client auth
  while submitting enrollment requests
- dogtag-submit: handle cases where we submit a request and the server
  returns a success code rather than just queuing the request
- ipa-submit: pass requested profile names to the server as an argument
  named "profile_id"; if the server gives us an "unrecognized argument"
  error, retry without it for compatibility's sake
- keygen: fix a possible crash if keygen fails to return a key from NSS
- correct the certmonger(8) man page's description of the -c flag, whic it
  used to call the -C flag
- add logic for setting ownership and permissions on certificates and keys
  when saving them to disk
- add configuration options "max_key_lifetime" and "max_key_use_count" for
  making automatic renewal prefer rekeying
2015-06-20 11:25:43 -04:00
Nalin Dahyabhai
d00093b7bf Whoops, actually update to 0.77.5 2015-05-28 10:25:45 -04:00
Nalin Dahyabhai
631c1c94d1 update to 0.77.4
- don't display PINs in "getcert list" output (#42)
- clean up launching of a private instance in "getcert"
- expand on the don't-delete-private-key fix from 0.77.3 by letting NSS's
  own safety checks have an effect
- backport record-keeping of key generation dates and counts of how many
  times we've gotten certificates using a given key pair
2015-05-17 16:53:39 -04:00
Nalin Dahyabhai
a1cad26520 Update to 0.77.3
- fix a data loss bug when saving renewed certificates to NSS databases - the
  private key could be removed in error since 0.77
- fixes for bugs found by static analysis
- fix self-tests when built with OpenSSL 1.0.2
2015-05-07 17:19:09 -04:00
Nalin Dahyabhai
c44b07d085 Update to 0.77.2
- expose the certificate's not-valid-before and not-valid-after dates as a
  property over D-Bus (ticket #41)
- give the local signer its own configuration option to set the lifetime
  of its signing certificate, falling back to the lifetime configured for
  the self-signer as a default to match the previous behavior
- fix a potential read segfault parsing the output of an enrollment helper,
  introduced in 0.77 (thanks to Steve Neuharth)
- read the ns-certtype extension value in certificates
- request an enrollment certtype extension to CSRs if we have a profile name
  that we want to use (ticket #17, possibly part of IPA ticket #57)
2015-04-14 13:37:57 -04:00
Nalin Dahyabhai
54551d64ad Update to 0.77.1
- update to 0.77.1
  - add initial, still rough, SCEP support (#1140241,#1161768)
    - add an scep-submit helper to handle part of it
  - getcert: add add-ca/add-scep-ca/modify-ca/remove-ca commands
  - getcert: add -l, -L flags to request/resubmit/start-tracking commands
    to provide a way to set a ChallengePassword in signing requests
  - lay some groundwork for rekeying support
  - bundled dogtag enrollment helpers now output debugging info to stderr
  - ipa-getcert: fix a crash when using DNS discovery to locate servers (#39)
  - getcert: fix displaying of pre-request pre-/post-save commands (#1178190,
    #1181022, patch by David Kupka)
  - use Zanata for translations
  - getcert list: list the certificate's profile name, if it contains one
2015-02-27 16:44:06 -05:00
Nalin Dahyabhai
cedf1c324f Update to 0.76.8
- dogtag-submit: accept additional options to pass to the server when
  approving requests using agent creds (#1165155, patch by Jan Cholasta)
- getcert: print help output when 'status' isn't given any args (#1163541)
2014-11-18 10:09:47 -05:00
Nalin Dahyabhai
8991081682 Update to 0.76.7
- correctly read CA not-valid-after dates on 32-bit machines (also
  reported by Natxo Asenjo), so that we don't spin on polling them
2014-11-11 13:06:53 -05:00
Nalin Dahyabhai
40a88215a9 Update to 0.76.6
Update to 0.76.6:
- avoid premature exit on CA data analysis failures (should fix issue
  reported by Natxo Asenjo)
- fixes for bugs found by static analysis
- rework the state machine so that we save an issued certificate's associated
  CA certificates, then re-read the certificate, then run the post hook and
  issue notifications, in that order, instead of saving CA certificates after
  running the post hook, which was always a surprising order (#1131700)
- add a generic dogtag-submit helper that doesn't include any IPA defaults,
  to make it easier to know the difference between paramenters it requires
  and parameters which are optional
- ipa-submit: when we fail to locate/contact LDAP or XML-RPC servers,
  use discovery to find them (#1136900)
- require a single certificate to be specified to 'getcert status' (#1148001)
- shorten the default help message which getcert prints when it's not given
  a specific command (#1131704)
- add private listener (-l, -L, -P) mode to certmonger, to allow it to listen
  for connections directly from clients running under the same UID
- add a command mode (-c) to certmonger, in which once it's started, it
  launches a specified command, and after that command exits, the daemon exits
- when getcert is invoked with no bus running, if it's running as root, run
  certmonger in private listener mode with the same invocation of getcert as
  the command to start and wait for (#1134497)
2014-11-10 17:58:42 -05:00
Nalin Dahyabhai
b6fcbbc5a0 Update to 0.75.14
- make pathname canonicalization slightly smarter, to handle ".." in
  locations
- updates to self-tests
2014-08-28 14:12:24 -04:00
Nalin Dahyabhai
9250e88626 Update to 0.75.13
- correct encoding/decoding of variant-typed data which we receive and
  send as part of the org.freedesktop.DBus.Properties interface over the
  bus, and add some tests for them (based on patch from David Kupka,
  ticket #36)
- when getcert is passed a -a flag, to indicate that CA root
  certificates should be stored in the specified database, don't ignore
  locations which don't include a storage scheme (#1129537)
- when called to 'start-tracking' with the -a or -F flags, if we have
  applicable certificates on-hand for a CA that we're either told to use
  or which we decide is the correct one, save the certificates
  (#1129696)
2014-08-18 13:20:11 -04:00
Nalin Dahyabhai
3ad00ba314 Update to 0.75.10
- when attempting to contact an IPA LDAP server, if no "ldap_uri" is set in
  default.conf, and no "host" is set either, try to construct the server URI
  using the "server" setting (#1126985)
2014-08-05 15:44:15 -04:00
Nalin Dahyabhai
3f724f69b3 Update to 0.75.9
- avoid potential use-after-free after a CA is removed dynamically (thanks to
  Keenan Brock) (#1125342)
- add a "external-helper" property to CA objects
2014-07-31 14:24:23 -04:00
Nalin Dahyabhai
1bab3989b3 Update to 0.75.8
- add a 'refresh' option to the getcert command
- add a '-a' flag to the getcert command's 'refresh-ca' option
- adjust package Requires: on systemd-sysv on F19 and EL6 and older,
  conditionalized it so that it's ignored on newer releases, and make
  whether or not we call systemd-sysv-convert in triggers depend on that,
  too (#1104138)
- fix an inconsistency in how we parse cookie values returned by CA helpers,
  in that single-line values would lose the end-of-line after a daemon
  restart, but not before
- handle timeout values and exit status values when calling CA helpers
  in non-SUBMIT, non-POLL modes (#1118468)
- rework how we save CA certificates so that we save CA certificates associated
  with end-entity certificates when we save that end-entity certificate, which
  requires running all of the involved pre- and post-save commands
2014-07-21 16:25:17 -04:00
Nalin Dahyabhai
acbe23a0ad Update to 0.75.6
- avoid potential use-after-free and read overrun after a CA is added
  dynamically (thanks to Jan Cholasta)
2014-06-26 10:18:38 -04:00
Nalin Dahyabhai
ff961cf333 Update to 0.75.5
- documentation updates
- add a %%trigger to remove knowledge of the "dogtag-ipa-renew-agent" CA
  when we detect certmonger versions prior to 0.58 being installed, to
  avoid cases where some older versions choke on CAs with nicknames that
  contain characters that can't legally be part of a D-Bus name (#948993)
- fix creation and packaging of the "local" CA's data directory
2014-06-20 17:06:03 -04:00
Nalin Dahyabhai
341c446f8c Update to 0.75.3
- read and cache whether or not we saw a noOCSPcheck extension in
  certificates
- documentation updates
2014-06-18 14:39:06 -04:00
Nalin Dahyabhai
dd986d5036 Update to 0.75.2
- when generating keys using OpenSSL, if key generation fails, try
  again with the default key size, in case we're in FIPS mode
- documentation updates
2014-06-16 18:42:06 -04:00
Nalin Dahyabhai
66cd6b4b41 Update to 0.75.1
- log the state in 'getcert status' verbose mode
2014-06-15 00:14:39 -04:00
Nalin Dahyabhai
468fcf0c32 Update to 0.75
- add a -w (wait) flag to the getcert's request/resubmit/start-tracking
  commands, and add a non-waiting "status" command
- add the "local" signer, a local toy CA that signs anything you'll
  ask it to sign
- fix self-test errors that we trigger with new OpenSSL
- fix a build error that would sometimes happen when we're told to
  build PIE binaries
- quiet a compile warning
- retrieve CA information from CAs, if the helpers can do so, and
  add a command to explicitly refresh that data: "getcert refresh-ca"
- offer to save CA certificates to files and databases, when specified with
  new -a and -F flags to getcert request/resubmit/start-tracking (#1098208,
  trac #31)
- add IP address subject alternate names when getcert request/resubmit
  is passed the -A option (trac #35)
- read and cache the freshestCRL extension in certificates
- properly interpret KDC-unreachable errors encountered in the IPA
  submission error as a server-unreachable error that we will retry,
  rather than a misconfiguration error which we won't
- don't let tests get tripped up by new formatting used in dos2unix status
  messages (#1099080)
- updated translations
- be explicit that we are going to use bashisms in test scripts by calling
  the shell interpreter as 'bash' rather than 'sh' (trac #27)
2014-06-13 17:32:02 -04:00
Nalin Dahyabhai
2a8cd1da74 Update to 0.74
- also save state when we exit due to SIGHUP
- don't get tripped up when enrollment helpers hand us certificates
  which include CRLF line terminators (ticket #25)
- be tolerant of certificate issuer names, subject names, DNS, email,
  and Kerberos principal namem subjectAltNames, and crl distribution
  point URLs that contain newlines
- read and cache the certificate template extension in certificates
- enforce different minimum key sizes depending on the type of key we're
  trying to generate
- store DER versions of subject, issuer and template subject, if we have
  them (Jan Cholasta, ticket #26)
- when generating signing requests with subject names that don't quite
  parse as subject names, encode what we're given as PrintableString
  rather than as a UTF8String
- always chdir() to a known location at startup, even if we're not
  becoming a daemon
- fix a couple of memory leaks (static analysis)
- add missing buildrequires: on which
2014-04-03 13:27:21 -04:00
Nalin Dahyabhai
42ca560e41 Update to 0.73
- encode the friendlyName attribute in signing requests as a BMPString,
  not as a PrintableString
- catch more filesystem permissions problems earlier (more of #996581)
- move the tmpfiles.d file from /etc/tmpfiles.d to %%{_tmpfilesdir},
  where it belongs
- support generating requests and self-signing using DSA and EC keys
2014-02-24 10:18:07 -05:00
Nalin Dahyabhai
19b37db4dc Update to 0.71(.2)
- check for cases where we fail to allocate memory while reading a request
  or CA entry from disk (John Haxby)
- only handle one watch at a time, which should avoid abort() during
  attempts to reconnect to the message bus after losing our connection
  to it (#1055521)
2014-01-27 17:22:09 -05:00
Nalin Dahyabhai
8562aa3ebe update to 0.70
- add a --with-homedir option to configure, and use it, since
  subprocesses which we run and which use NSS may attempt to write to
  $HOME/.pki, and 0.69's strategy of setting that to "/" was rightly
  hitting SELinux policy denials (#1047798)
2014-01-02 13:12:26 -05:00
Nalin Dahyabhai
05449cb7fb Update to 0.69
- tweak how we decide whether we're on the master or a minion when we're
  told to use certmaster as a CA
- clean up one of the tests so that it doesn't have to work around internal
  logging producing duplicate messages
- when logging errors while setting up to contact xmlrpc servers, explicitly
  note that the error is client-side
- don't abort() due to incorrect locking when an attempt to save an issued
  certificate to the designated location fails (part of #1032760/#1033333,
  ticket #22)
- when reading an issued certificate from an enrollment helper, ignore
  noise before or after the certificate itself (more of #1032760/1033333,
  ticket #22)
- run subprocesses in a cleaned-up environment (more of #1032760/1033333,
  ticket #22)
- clear the ca-error that we saved when we had an error talking to the CA if we
  subsequently succeed in talking to the CA
- various other static-analysis fixes
2013-12-09 19:43:57 -05:00