[Pki-devel] [PATCH] 181-188 Adding Symmetric Key generation Service to DRM

Ade Lee alee at redhat.com
Thu Jan 30 15:48:23 UTC 2014


Hi, 

The attached patches add Symmetric Key generation service to the DRM and
refactor the DRM REST interface.  Its worthwhile to look at each patch
individually, but there will be many cases where I changed my mind on
how to represent something - for instance, Request -> KeyRequest ->
ResourceMessage.  So, the patches should be viewed as a whole.

Summary of changes:
1) Added new REST service to generate symmetric keys.
2) Refactor API to use POST /keyrequests for all request types and using
a generic RequestMessage object.
3) Refactor PKIException to use RequestMessage object.
4) Rename some objects in Key and KeyRequest resources.

I tested all this using the DRMTest code.  I needed to comment out a
couple of tests because they were causing problems (including a core
dump on the client side), and I need to investigate why that happened.
Those tests will be restored once I figure out whats going on.

I'd like to get several eyes on this, please.

Thanks,
Ade

 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pki-vakwetu-0187-Added-more-client-code-for-DRM-tests.patch
Type: text/x-patch
Size: 19863 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/pki-devel/attachments/20140130/57699836/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pki-vakwetu-0186-Rename-KeyDataInfos-and-KeyrequestInfos.patch
Type: text/x-patch
Size: 17920 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/pki-devel/attachments/20140130/57699836/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pki-vakwetu-0185-Fix-some-errors-flagged-by-eclipse.patch
Type: text/x-patch
Size: 4766 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/pki-devel/attachments/20140130/57699836/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pki-vakwetu-0184-Added-SymKeyGen-service.patch
Type: text/x-patch
Size: 23368 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/pki-devel/attachments/20140130/57699836/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pki-vakwetu-0183-Remove-old-recovery-and-archival-methods.patch
Type: text/x-patch
Size: 4311 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/pki-devel/attachments/20140130/57699836/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pki-vakwetu-0182-Add-new-POST-endpoint-for-creating-requests.patch
Type: text/x-patch
Size: 13912 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/pki-devel/attachments/20140130/57699836/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pki-vakwetu-0181-Use-a-generic-request-object.patch
Type: text/x-patch
Size: 19527 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/pki-devel/attachments/20140130/57699836/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pki-vakwetu-0188-Rename-KeyRequest-to-ResourceMessage.patch
Type: text/x-patch
Size: 50389 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/pki-devel/attachments/20140130/57699836/attachment-0007.bin>


More information about the Pki-devel mailing list