summaryrefslogtreecommitdiffstats
path: root/pki/base
Commit message (Collapse)AuthorAgeFilesLines
* Python client code for restful interfaceAde Lee2012-02-133-20/+1069
| | | | | | | 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-134-11/+11
| | | | | | 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-0814-503/+1145
| | | | 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.
* 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
* Changes to pkicreate to create resteasy links.Ade Lee2012-01-164-2/+119
| | | | | 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-1313-0/+1190
| | | | | | | 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
* Formatting - fix bad wrapsAde Lee2012-01-1127-251/+124
|
* Formatting (line wrap > 120 in commentsAde Lee2012-01-11161-428/+1024
|
* Formatting - line wrap > 120 in codeAde Lee2012-01-11205-844/+1887
|
* Formatting (no line wrap in comments or code)Ade Lee2012-01-111322-77940/+73596
|
* Replaced byte-to-char & char-to-byte converters.Endi Sukma Dewata2012-01-1020-763/+637
| | | | | | | The byte-to-char and char-to-byte converters have been replaced with a set of charsets, each having its own decoders and encoders. Ticket #3
* Renamed byte-to-char & char-to-byte converters.Endi Sukma Dewata2012-01-108-199/+12
| | | | | | | | The byte-to-char and char-to-byte converters have been renamed in preparation for converting them into charset encoders and decoders. Ticket #3
* Added unit tests to measure conversion time.Endi Sukma Dewata2012-01-107-0/+366
| | | | | | | | New tests have been added to measure the conversion time. Currently the results are not validated, they are used to compare the performance before and after upgrading to Charset. Ticket #3
* Added unit tests for converting null characters.Endi Sukma Dewata2012-01-1011-0/+272
| | | | | | New unit tests have been added to verify bug bug 359010. Ticket #3
* Replaced TreeSet with LinkedHashSet.Endi Sukma Dewata2012-01-104-12/+12
| | | | | | The TreeSet has been replaced by LinkedHashSet because it is used to store non-Comparable objects according to the insertion order. This fixes a ClassCastException that happens while viewing Certificate Revocation List.
* BZ 771357 - sslget does not work after FEDORA-2011-17400 update,Ade Lee2012-01-051-9/+47
| | | | | | breaking FreeIPA install Modified sslget doIO() function to be able to handle small reads.
* typesafety ACL Impls Random type safety cleanups.Adam Young2012-01-049-72/+72
|
* typesafe returns on IDBSession for VirtualListAdam Young2012-01-043-43/+45
|
* type safety certserv cms and cmscoreAdam Young2012-01-0440-248/+269
| | | | Re-added files IPublshRuleSet and ILdapCertMapper
* Typesafety for certsrv.kraAdam Young2012-01-044-36/+38
|
* typesafety db and loggingAdam Young2012-01-0413-99/+102
|
* typesafety cron and jobschedulerAdam Young2012-01-044-23/+23
|
* typesafety certserv and cmscoreAdam Young2012-01-0417-44/+43
| | | | Using interface instead of implementing class
* type safety for certserv.baseAdam Young2011-12-2224-172/+174
| | | | more type safety
* type safety for certserv.authorizationAdam Young2011-12-227-56/+53
|
* type safety for certserv.authenticatorAdam Young2011-12-226-28/+25
|
* Type safety for CMS and by extension, much of commonAdam Young2011-12-2215-92/+95
|
* Type safety for ACLsAdam Young2011-12-223-17/+18
|
* type safety cleanup in common.Adam Young2011-12-226-32/+30
|
* util type safety cleanupAdam Young2011-12-2218-104/+106
|
* Unreachable Catch clausesAdam Young2011-12-225-57/+0
| | | | In each of the cases, more specific exceptions would be caught, masking these more generic exception.
* type safety in CMSCRLExtensions and PublisherProcessorAdam Young2011-12-222-2/+5
|
* Removal of unused private methodsAdam Young2011-12-222-39/+1
| | | | | | | | These methods are uncallable. There might be some discussion about the private default constructores. The Rules of Java are different from C++: If there is any constructor defined, all the other defaults befome uncallable. Thus, the private default constructors are not needed. https://bugzilla.redhat.com/show_bug.cgi?id=728303