Commit Graph

183 Commits

Author SHA1 Message Date
Peter Hamilton 9c7edd65d2 Merge pull request #76 from OpenKMIP/feat/update-long-integer
Updating support for the LongInteger primitive
2015-08-27 08:56:01 -04:00
Peter Hamilton b04e3ab3dc Updating support for the LongInteger primitive
This change updates the LongInteger primitive, improving class
documentation, adding standard Python operators, cleaning up the
original implementation, and expanding the corresponding unit test suite
to address the modifications.
2015-08-27 08:47:07 -04:00
Peter Hamilton f3c202cf3c Merge pull request #75 from OpenKMIP/maint/split-primitive-tests
Splitting primitive object test suites
2015-08-24 09:03:06 -04:00
Peter Hamilton 06c1afc91e Merge pull request #84 from OpenKMIP/maint/ignore-software-server-tests
Updating integration tests to ignore software server
2015-08-21 11:46:47 -04:00
Peter Hamilton 3ebc09670a Updating integration tests to ignore software server
This change adds a new pytest marker, ignore. It is used to silently
skip the software server integration test suite, which is now broken
from a recent ssl update. A pytest ini configuration file is also added
to register the new marker.
2015-08-20 09:13:20 -04:00
Peter Hamilton 76a2f68f1f Splitting primitive object test suites
This change splits the original set of primitive object test suites into
separate modules. Minor refactoring to account for structure changes is
included.
2015-08-18 09:56:51 -04:00
Peter Hamilton 94646337c3 Merge pull request #72 from OpenKMIP/feat/add-get-attribute-list-payloads
Adding payloads for the GetAttributeList operation
2015-08-18 09:50:42 -04:00
Peter Hamilton a21f0b66c6 Adding payloads for the GetAttributeList operation
This change adds request and response payloads for the GetAttributeList
operation. It updates the payload factories to support these new objects
and updates and adds all associated or required test suites. A new
exception is also included that is thrown by objects attempting to parse
invalid KMIP encodings.
2015-08-17 12:15:25 -04:00
Peter Hamilton 35602c9b5c Merge pull request #82 from OpenKMIP/ver/prep-release-0-4-0
PyKMIP - Release 0.4.0
2015-08-14 09:44:30 -04:00
Peter Hamilton a9cb9b180e PyKMIP - Release 0.4.0
This update includes several new features and bug fixes:
* Add the official Pie API for a simpler KMIP interface
* Add the ProxyKmipClient implementation of the Pie API
* Add key, secret, and opaque objects to the Pie object hierarchy
* Add unit demos for all ProxyKmipClient operations
* Add complete unit and integration test suites for the Pie package
* Add KMIPProxy client support for the Activate and Revoke operations
* Add KMIPProxy client connection timeout support
* Add KMIPProxy integration tests for asymm. key/secret/opaque objects
* Add improved request error logging for the KMIPServer
* Update README with more information about the clients and Pie API
* Remove AUTHORS in favor of Git commit history
* Fix bug with dangling file handle when setting __version__
* Fix bug with dangling socket connection upon client destruction
2015-08-13 13:41:41 -04:00
Peter Hamilton 11c8f11699 Merge pull request #81 from OpenKMIP/feat/update-readme
Updating README
2015-08-13 09:05:11 -04:00
Peter Hamilton cfbba23b24 Updating README
This change updates the PyKMIP README, adding in additional information
on the KMIP clients and how to use them.
2015-08-13 07:29:50 -04:00
Peter Hamilton fe1c586035 Merge pull request #71 from OpenKMIP/bug/fix-server-log-pep8
Fixing pep8 errors for the KMIP server
2015-08-04 08:28:47 -04:00
Peter Hamilton 097bd38910 Fixing pep8 errors for the KMIP server
This change fixes pep8 whitespace errors in the KMIP server.
2015-08-03 10:52:27 -04:00
Peter Hamilton bb0487b5dc Merge pull request #69 from OpenKMIP/feat/add-pie-client-opaque
Adding opaque object examples for the ProxyKmipClient
2015-07-31 17:21:40 -04:00
Peter Hamilton f3abf96c11 Merge pull request #70 from felix-engelmann/master
KMIPServer serve log exceptions
2015-07-31 08:04:21 -04:00
Felix Engelmann 27f09f6b34 KMIPServer serve log exceptions
The Exception handler discards all errors, would be nice to log them
to the error logger before closing the connection.
2015-07-31 12:28:05 +02:00
Peter Hamilton e9f9726180 Merge pull request #65 from hadesto/dev/hadi/integration-tests/release/opaque-objects
Addition of Opaque Objects Integration Tests
2015-07-30 13:12:37 -04:00
Hadi Esiely 50cc8d9e8a Addition of Opaque Objects Integration Tests
Tests that opaque objects can be properly registered, retrieved, and destroyed.
2015-07-30 13:01:51 -04:00
Peter Hamilton 07f0934769 Merge pull request #62 from hadesto/dev/hadi/integration-tests/release/passphrases
Addition of Passphrase Integration Test
2015-07-30 12:41:02 -04:00
Hadi Esiely f7e9c398fc Addition of Passphrase Integration Test
Tests that passphrases can be properly registered, retrieved, and destroyed.
2015-07-30 12:22:46 -04:00
Peter Hamilton 93ef5cad2a Merge pull request #61 from hadesto/dev/hadi/integration-tests/release/certificates
Addition of Certificate Integration Tests
2015-07-30 12:06:09 -04:00
Hadi Esiely 866ba3f3f4 Addition of Certificate Integration Tests
Tests that certificates can be properly registered, retrieved, and destroyed.
2015-07-30 10:54:37 -04:00
Peter Hamilton a148e7c615 Adding opaque object examples for the ProxyKmipClient
This change adds two examples showing how to use opaque objects with the
ProxyKmipClient. The first is a unit demo showing how to register an
opaque object using the register operation of the ProxyKmipClient. The
second is an integration test showing how to register, get, and destroy
an opaque object using the ProxyKmipClient.
2015-07-30 10:39:06 -04:00
Peter Hamilton ea1b453cff Merge pull request #67 from OpenKMIP/feat/add-pie-client-secrets
Adding secret data examples for the ProxyKmipClient
2015-07-30 10:27:56 -04:00
Peter Hamilton 689275ced0 Adding secret data examples for the ProxyKmipClient
This change adds two examples showing how to use secret data with the
ProxyKmipClient. The first is a unit demo showing how to register a
secret using the register operation of the ProxyKmipClient. The second
is an integration test showing how to register, get, and destroy a
secret using the ProxyKmipClient.
2015-07-30 10:22:48 -04:00
Peter Hamilton ba7347ce87 Merge pull request #64 from OpenKMIP/feat/add-pie-client-certificates
Adding certificate examples for the ProxyKmipClient
2015-07-30 10:13:35 -04:00
Peter Hamilton 275f341da9 Adding certificate examples for the ProxyKmipClient
This change adds two examples showing how to use certificates with the
ProxyKmipClient. The first is a unit demo showing how to register a
certificate using the register operation of the ProxyKmipClient. The
second is an integration test showing how to register, get, and destroy
a certificate using the ProxyKmipClient.
2015-07-30 08:31:47 -04:00
Peter Hamilton 70c14d3a96 Merge pull request #68 from OpenKMIP/feat/add-pie-opaque-data
Adding opaque objects to the Pie object hierarchy
2015-07-30 08:29:14 -04:00
Peter Hamilton 93610719a5 Adding opaque objects to the Pie object hierarchy
This change adds an OpaqueObject class to the Pie object hierarchy. A
unit test suite covering the class is included, as are updates to the
Pie object factory and associated tests.
2015-07-30 08:25:06 -04:00
Peter Hamilton 13dfa14416 Merge pull request #66 from OpenKMIP/feat/add-pie-secret-data
Adding secret data to the Pie object hierarchy
2015-07-30 08:07:05 -04:00
Peter Hamilton e497e1c37c Adding secret data to the Pie object hierarchy
This change adds a SecretData class to the Pie object hierarchy. A unit
test suite covering the class is provided, as are updates to the Pie
object factory and associated tests.
2015-07-30 08:03:33 -04:00
Peter Hamilton ee7a6bc082 Merge pull request #63 from OpenKMIP/feat/add-pie-certificates
Adding certificates to the Pie object hierarchy
2015-07-29 20:56:48 -04:00
Peter Hamilton 667978bf9b Merge pull request #45 from hadesto/dev/hadi/integration-tests/release/asymmetric-keys
Added asymmetric key testing
2015-07-29 20:55:25 -04:00
Hadi Esiely 078e1015bc Added asymmetric key testing
This test includes tests for testing the creation, destruction, registration, and querying of private and public keys.
2015-07-29 12:18:16 -04:00
Peter Hamilton c9c58fb11b Adding certificates to the Pie object hierarchy
This change adds certificate objects to the Pie object hierarchy,
specifically a generic Certificate class and an X509Certificate
subclass. Unit test suites covering both classes are included. The Pie
object factory is also updated to support Pie and core certificate
conversion.
2015-07-29 07:59:42 -04:00
Peter Hamilton 99d38fcd25 Merge pull request #58 from OpenKMIP/feat/add-pie-client-demos
Adding unit demos for the ProxyKmipClient
2015-07-28 17:02:13 -04:00
Peter Hamilton 337bdd3f71 Merge pull request #57 from OpenKMIP/feat/add-pie-client-integration
Adding integration tests for the ProxyKmipClient
2015-07-28 17:01:26 -04:00
Peter Hamilton 58120bc186 Adding unit demos for the Pie ProxyKmipClient
This change adds a new suite of unit demos for the new Pie
ProxyKmipClient. The demos show how to create the ProxyKmipClient and
how to use all of its primary operations. Demo utilities are updated to
support the new suite.
2015-07-28 13:17:31 -04:00
Peter Hamilton 608644b062 Adding integration tests for the Pie ProxyKmipClient
This change adds an integration test suite for the new Pie
ProxyKmipClient, which tests basic CRUD operations for symmetric and
asymmetric keys. An additional pytest fixture is included for the new
client.
2015-07-28 13:03:08 -04:00
Peter Hamilton e7db281d36 Merge pull request #54 from OpenKMIP/feat/add-pie-client
Adding the Pie ProxyKmipClient
2015-07-28 12:43:07 -04:00
Peter Hamilton 7baa31ea51 Adding the Pie ProxyKmipClient
This change adds the Pie ProxyKmipClient, which provides a simplified
version of the original KMIP interface and which wraps the original
client. The ProxyKmipClient supports basic CRUD operations for
symmetric, public, and private keys. A unit test suite for the client is
included.
2015-07-27 13:09:45 -04:00
Peter Hamilton 66cb329f4a Merge pull request #60 from OpenKMIP/feat/add-pie-api
Adding Pie client API
2015-07-24 15:43:51 -04:00
Peter Hamilton 202e7eac2c Adding Pie client API
This change adds an abstract base class defining the client interface
for all future PyKMIP clients. Required arguments for different
operations are explicitly specified. A basic sanity unit test suite is
included.
2015-07-24 14:58:41 -04:00
Peter Hamilton 832a635562 Merge pull request #59 from OpenKMIP/remove-authors
Remove AUTHORS.txt
2015-07-23 07:49:40 -04:00
Peter Hamilton d3a5177deb Merge pull request #56 from sedukull/propersocketclosing
Shutdown and close the socket properly
2015-07-23 07:30:06 -04:00
Joel Coffman 234b8838ce Remove AUTHORS.txt
The authors included in AUTHORS.txt hasn't been updated in nearly a
year and is outdated. Rather than tracking the authors explicitly, it
would be better to extract this information from Git's commit
history.

The following command can be used to retrieve a list of the authors
for all the patches contributed to PyKMIP:
    git log | grep ^Author | sort | uniq

Resolves #30
2015-07-22 19:28:22 -05:00
Peter Hamilton 0e51d19702 Merge pull request #53 from OpenKMIP/feat/add-pie-object-factory
Adding a Pie ObjectFactory
2015-07-22 17:37:24 -04:00
Peter Hamilton 81889cd9d8 Adding a Pie ObjectFactory
This change adds an ObjectFactory for the Pie object hierarchy. It
provides easy translation to and from Pie objects to the original core
object hierarchy. The factory is only used by the new Pie client and
should never be used outside of this context. A unit test suite for the
factory is included.
2015-07-22 10:04:49 -04:00
Peter Hamilton 7efcc30430 Merge pull request #55 from OpenKMIP/feat/updating-pie-objects
Updating Pie API key objects
2015-07-22 10:03:42 -04:00