summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert "Initial attempt at ↵Matthew Harmsen2012-03-0615-1509/+1
| | | | | | | | | | | | 'http://pki.fedoraproject.org/wiki/PKI_Instance_Deployment'." This reverts commit b5219f534cf0b60452346b31a84b9eddd881f614. This patch was accidently committed to origin as part of a previous push. Conflicts: pki/specs/pki-core.spec
* Option to create ECC credentials for adminAndrew Wnuk2012-03-062-1/+14
| | | | | | Configuration wizard should provide option to issue ECC credentials for admin during ECC CA configuration. Bug #784387.
* BZ 769388 - pki-silent does not properly escape command-line argumentsAde Lee2012-03-051-1/+5
|
* Fixed DRM REST interface to use BigInteger.Endi Sukma Dewata2012-03-0527-127/+428
| | | | | | | | The DRM REST interface previously uses strings for key ID and request ID. It has been modified to use KeyId and RequestId classes which can accept decimal or hex numbers and internally store it as BigInteger. Ticket #94
* Remove platform specific logic from patches for mock purposes.Matthew Harmsen2012-03-021-9/+9
|
* Initial attempt at 'http://pki.fedoraproject.org/wiki/PKI_Instance_Deployment'.Matthew Harmsen2012-03-0115-2/+1510
| | | | | | | | | | | | | | | | Corrected imports to work with site-packages. Standardized log messages via encapsulation in a central file. Corrected imports to work with site-packages. Standardized log messages via encapsulation in a central file. Updated top-level instance directory. Streamlined parsing and enhanced logging. Added "--dry_run" option. Added umask and default permissions; sanitized use of '+' and '\'.
* Option to change default algorithmsAndrew Wnuk2012-02-296-7/+43
| | | | | | RSA should be default selection for transport, storage, and audit keys till ECC is fully implemented. Bug #787806.
* Removed hard-coded REST paths.Endi Sukma Dewata2012-02-292-6/+17
| | | | | | | | The KeyDAO and KeyRequestDAO have been changed to remove hard-coded paths and use annotation reflection to get the paths from the REST interface definitions. Ticket #95
* Removed dependency on OSUtil.Endi Sukma Dewata2012-02-2924-172/+42
| | | | | | | The OSUtil is no longer used by the code. It has been removed from build scripts and tools. Ticket #90
* Fixed problems shared port.Endi Sukma Dewata2012-02-293-9/+0
| | | | | | | | Some subsystems could not be created using a shared port because it would generate a web.xml with invalid nested comment. The web.xml templates has been fixed to remove the nested comment. Ticket #112
* Enhanced compose scripts to download patchesMatthew Harmsen2012-02-2812-54/+310
| | | | | | Added platform-dependent patches for SELinux component Bugzilla Bug #739708 - Selinux fix for ephemeral ports (F16) Bugzilla Bug #795966 - pki-selinux policy is kind of a mess (F17)
* Removed OS subsystem.Endi Sukma Dewata2012-02-2815-466/+66
| | | | | | | | | | The OS subsystem was previously used to get the PID and to handle shutdown signals using the OSUtil. It has been removed because the functionalities can be obtained without using native code. The PID will now be read from an external PID file created by the wrapper script. The shutdown signals will now be handled by shutdown hook. Ticket #90
* Replaced BtoA/AtoB with Apache codec.Endi Sukma Dewata2012-02-2322-25/+115
| | | | | | | | The OSUtil's BtoA() and AtoB() have been replaced by Base64 codec from Apache Commons library. The codec is configured to use 64-byte line width as defined in RFC 1421. Ticket #90
* Consolidated BtoA/AtoB invocations.Endi Sukma Dewata2012-02-2379-165/+252
| | | | | | | | The OSUtil's BtoA() and AtoB() have been replaced with wrapper methods in com.netscape.cmsutil.util.Utils to simplify transition into Base64 codec from Apache Commons library. Ticket #90
* Renamed Utils to avoid conflicts.Endi Sukma Dewata2012-02-238-11/+11
| | | | | | | | | The Utils classes in com.netscape.cms.publish.publishers and com.netscape.cms.servlet.common packages have been renamed to PublisherUtils and ServletUtils to avoid conflicts with com.netscape.cmsutil.util.Utils. Ticket #90
* Exclude junit tests from non-java componentsMatthew Harmsen2012-02-235-6/+14
| | | | | PKI TRAC Ticket #104 - exclude the java-based junit testing infrastructure from non-java components in order to build within a 'mock' environment
* Add client auth user to default installAde Lee2012-02-236-16/+171
| | | | | | | | | | | | | | | | | | When a subsystem is configured, a user is created to facilitate communication between subsystems. This user is created on the security domain ca, and is has the subsystem certificate in its user record. This user will be reused as a user that can talk to the database using the subsystem certificate for client auth. To do this, this patch does the following: 1. If not the security domain master CA, adds this user to the subsystem, and adds the subsystem cert. 2. Adds the subsystem cert subject dn to the user's record in the seeAlso attribute 3. Adds acis for this user for the $basedn and for cn=config (for VLV searches) By default, this user and acls will be added when the system is configured. To actually use the user and client auth, more config steps are required. They will be doc'ed in https://fedorahosted.org/pki/ticket/5
* BZ 739708 Selinux fix for ephemeral portsAde Lee2012-02-232-1/+4
|
* Fixed several miscellaneous build issuesMatthew Harmsen2012-02-222-3/+24
| | | | (see https://fedorahosted.org/pki/ticket/104)
* Selinux changes to allow dogtag to start on f17.Ade Lee2012-02-222-217/+219
| | | | Addresses java_exec_t issue in BZ 795966
* Sample ECC profilesAndrew Wnuk2012-02-224-2/+275
| | | | | | This patch provides two sample ECC certificate profiles. Bug: 223358.
* Bug 788787 added junit dependency plus integrated KRA OCSP and TKSMatthew Harmsen2012-02-2011-1922/+513
|
* Removed unused variables (part 1).Endi Sukma Dewata2012-02-20150-982/+217
| | | | | | This patch brings down the warnings from 2917 to 2406. Ticket #103
* ECC encryption and signing profilesAndrew Wnuk2012-02-158-32/+451
| | | | | | This patch provides an option for certificate profiles to allow them to automatically create enrollment pages which are used to generate new signing and encryption certificate requests. Bug: 703608.
* Added generics (part 4).Endi Sukma Dewata2012-02-14116-498/+374
| | | | | | This patch brings down the warnings from 3427 to 2917. Ticket #2
* Python client code for restful interfaceAde Lee2012-02-135-20/+1082
| | | | | | | Fix whitespace issues - replace tabs Added readme file for drmclient.py Add arguments to allow drmclient.py to be configured. Flatten code in GeneratePKIArchiveOptions
* Moved client functions to CryptoUtil.java and added GenPKIArchiveOptions toolAde Lee2012-02-133-197/+416
|
* KRA symmetric key cmake support.Jack Magne2012-02-135-11/+16
| | | | | | Changes to make the cmake build of this feature work. Change to the .classpath to allow the DRMTest.java test client to run under Eclipse, by adding additional jar paths to allow the client to run.
* KRA changes for archiving and recovering symmetric keys and passphrases.Jack Magne2012-02-1331-305/+1764
| | | | | | | | | | | | Ticket #66 and #68. Add ability to archive and recover symmetric keys and passphrases using rest interface. Enhanced test client to test out new functionality. Provided support to return recovered data either wrapped by symmetric key or wrapped in PBE password based encryption blob. DRM symmetric key support cleanup changes. Consists of suggested cleanup measures based on review comments.
* Added needed jar for ClientResponse annotaions to cmake buildAde Lee2012-02-081-1/+8
|
* Fix test client errorsAde Lee2012-02-087-28/+52
| | | | | | | Added ClientResponse annotation to SystemCertificateResource. Added Consumes annotation to KeyResource, KeyRequestResource Added checks for empty search results to test client, as well as stripping header, trailer from transport cert.
* Added unwrap function from jmagneAde Lee2012-02-081-59/+105
|
* Change RecoveryRequest fieldsAde Lee2012-02-083-57/+73
| | | | | | | | | | | When sending a passphrase in the recovery request, we need to wrap it in a session key and store it in sessionWrappedPassphrase. We also then wrap the session key in transWrappedSessionKey. The server needs to do PBE if the sessionWrappedPassphrase is present, and symkey based encryption otherwise. Also changed the DRM test to reflect these changes, and fixed some errors.
* New DRM proxy client and testsAde Lee2012-02-0815-503/+1148
| | | | Added new interfaces for each Resource, and renamed old Resource service classes.
* Added generics (part 3).Endi Sukma Dewata2012-02-0658-372/+379
| | | | | | This patch brings down the warnings from 3992 to 3500. Ticket #2
* Change to admin servlet to allow passwords with colons.Ade Lee2012-02-051-2/+2
| | | | Contributed by Josh Roys.
* Update version number to 10.0.0Nathan Kinder2012-02-0122-105/+201
|
* File signing hash fix.Andrew Wnuk2012-01-191-1/+1
| | | | | | This patch resolves issue of "Agent-Authenticated File Signing" enrollment altering some file hashes. Bug: 771768.
* Bug 769060 - Self-tests fail at OCSP subsystem restart -- with null ↵Christina Fu2012-01-191-1/+1
| | | | | | | | CertNickName in the audit output The issue was that the parameter ocsp.cert.signing.certusage=StatusResponder was missing the "certusage" component in CS.cfg.in. Adding it fixed the proble m. cert nickname is added automatically at installation/configuration.
* Bug 769739 - CC: self test verifySystemCertByNickname: certain failure will ↵Christina Fu2012-01-192-11/+14
| | | | | | not cause server to shutdown as expected There are two issues: 1. The variable, r, returned by verifySystemCertByTag() gets overwritten by the next return value in a while loop. The problem affects both java subsystems and TPS. 2. In the TPS system, within a while loop that calls verifySystemCertByNickname(), one condition does a "continue" without advancing to the next token, causing an infinite loop under that condition. Adding a PL_strtok_r(NULL, ",", &lasts); call resolves the issue.
* Fix of broken build of pki-tps in git repoMatthew Harmsen2012-01-181-25/+66
| | | | | | | CMakeLists.txt file was changed to account for the removal of empty directories from the source code. Bugzilla Bug #782953
* Added generics (part 2).Endi Sukma Dewata2012-01-18105-620/+647
| | | | | | This patch brings down the warnings from 4648 to 3992. Ticket #2
* Added generics (part 1).Endi Sukma Dewata2012-01-18217-1389/+1657
| | | | | | | This patch is based on Adam's patch. It brings down the warnings from 6139 to 4648. Ticket #2
* List paging on CA and DRMAndrew Wnuk2012-01-164-19/+28
| | | | | | | This patch resolves multiple issues related to paging on request, certificate, and key lists. It also provides consistent behavior across all lists. Bug: 768138
* Changes to pkicreate to create resteasy links.Ade Lee2012-01-165-5/+126
| | | | | Added resteasy-jettison-provider to pki-setup as it is not currently delivered by candlepin-deps.
* Added new REST interface files to cmake buildAde Lee2012-01-161-1/+25
|
* Enhanced new REST search interface for keys and key requestsAde Lee2012-01-167-47/+506
| | | | | | | | | | | | Defined parameters that can be searched for in key and keyrequest searches. Searches for KeyRequests and Keys will perform VLV searches if those searches are defined. The results will include links to next and previous pages in the results. Also added maxTime and maxResults parameters for regular searches. These will be operational unless they exceed server defined limits - which are enforced at the repo level. Modified link URL from "link" to "Link"
* Big numbers fix for CA and DRM.Jack Magne2012-01-1315-98/+98
| | | | | | | | | This patch resolves multiple issues related to use of big numbers on CA and DRM It also provides a fix for incomplete recovery requests causing null pointer exception. Bugs: 756133, 758505. Complete formatting changes for QueryRec.java.
* Added initial code for retrieving transport cert.Ade Lee2012-01-137-6/+221
| | | | | | | | | Resources now extend CMSResource. Addressed following review comments: * check for null pointers in SystemCertificateResource * move logic from CertificatData constructor to CMSServlet builder method * remove unused field uriInfo and replace hard-coded cache constant * fixed some formatting issues
* Initial skeleton code for drm resteasy interfaceAde Lee2012-01-1315-1/+1196
| | | | | | | Integrated files into current servlet structure. Allowed exceptions to bubble up to top level. Move bean initialization logic into DAO objects. Fixed "keyRequest" path to "keyrequest" in KeyRequestDAO