Commit Graph

504 Commits

Author SHA1 Message Date
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
sedukull 4a0b2c4c57 Shutdown and close the socket properly.
Calling close in destructor, helps in case default close() is not called
by consumers.
2015-07-22 23:33:40 +10:00
Peter Hamilton bc703f0757 Updating Pie API key objects
This change makes some minor updates to the Pie key object hierarchy. It
fixes the key subclasses to inherit from Key directly. It adds in
support for the key format type attribute, which is required for
low-level key encoding. It also improves repr and str functionality by
using binascii.hexlify to represent the key values. The corresponding
test suites are updated accordingly to reflect these changes.
2015-07-21 16:03:53 -04:00
Peter Hamilton dfb6594a52 Merge pull request #52 from OpenKMIP/feat/add-client-timeout
Adding customizable timeout support to the KMIP client
2015-07-21 10:56:33 -04:00
Peter Hamilton d6a4da6050 Adding customizable timeout support to the KMIP client
This change adds support for a customizable timeout option for the KMIP
client. The client will stop attempting connections or operations once
the timeout is exceeded instead of waiting for the default system
timeout. The default timeouts is 30 seconds.
2015-07-21 08:54:44 -04:00
Peter Hamilton 57710db3dc Merge pull request #49 from OpenKMIP/feat/add-pie-private-key
Adding PrivateKey to the Pie object hierarchy
2015-07-06 08:14:01 -04:00
Peter Hamilton 93f6c5411f Adding PrivateKey to the Pie object hierarchy
This change adds PrivateKey to the Pie object hierarchy along with a
test suite.
2015-07-02 15:32:18 -04:00
Peter Hamilton 7af06d380d Merge pull request #48 from OpenKMIP/feat/add-pie-public-key
Adding PublicKey to the Pie object hierarchy
2015-07-02 11:17:30 -04:00
Peter Hamilton 93693c8d4d Adding PublicKey to the Pie object hierarchy
This change adds PublicKey to the Pie object hierarchy along with a test
suite.
2015-07-02 10:51:01 -04:00
Peter Hamilton a1005c43bb Merge pull request #44 from OpenKMIP/feat/add-pie-symmetric-key
Adding SymmetricKey to the Pie object hierarchy
2015-07-02 10:23:57 -04:00
Peter Hamilton 4ff4370c93 Merge pull request #46 from OpenKMIP/feat/add-revoke-demo
Adding a demo for the Revoke operation
2015-07-01 11:03:55 -04:00
Peter Hamilton d46c33ccb2 Merge pull request #47 from callidus/add-dates
Adding various date attribute values
2015-07-01 10:57:57 -04:00
Tim Kelsey 6bd311701c Adding various date attribute values 2015-07-01 15:48:11 +01:00
Peter Hamilton 7a9f190ec4 Adding SymmetricKey to the Pie object hierarchy
This change adds SymmetricKey to the Pie object hierarchy along with a
test suite and updates to the other classes and test suites composing
the Pie interface.
2015-07-01 08:38:37 -04:00
Peter Hamilton f22b3f9c60 Merge pull request #43 from callidus/adding-crypto-params
Adding CryptographicParameters construction to attribute values
2015-07-01 07:59:25 -04:00
Peter Hamilton d2dbd8e8c4 Adding a demo for the Revoke operation
This change adds a unit demo for the Revoke operation. The operation
accepts a UID of the KMIP managed object that needs to be revoked, in
addition to a revocation code and message explaining why revocation
needs to occur.
2015-06-30 11:00:04 -04:00
Peter Hamilton 94f8134fcd Merge pull request #41 from callidus/adding-revoke
Adding revoke operation
2015-06-30 10:34:26 -04:00
Tim Kelsey 63e55e3a06 Adding CryptographicParameters construction to attribute values 2015-06-30 11:23:35 +01:00
Peter Hamilton 09acd905d3 Merge pull request #42 from OpenKMIP/feat/add-activate-demo
Adding a demo for the Activate operation
2015-06-29 10:30:10 -04:00
Tim Kelsey 30ff7e78bf Adding revoke operation 2015-06-26 14:54:23 +01:00
Peter Hamilton ef628b3f0e Adding a demo for the Activate operation
This change adds a unit demo for the Activate operation. The operation
accepts the UID of a KMIP managed object that needs to be activated for
future use.
2015-06-26 09:52:28 -04:00
Peter Hamilton a7e2084385 Merge pull request #33 from callidus/add-activate
Adding the "activate" opperation
2015-06-26 09:39:45 -04:00
Tim Kelsey b1ac997d38 Adding the "activate" opperation 2015-06-26 12:08:24 +01:00
Peter Hamilton b8fe858782 Merge pull request #40 from OpenKMIP/bug/fix-file-handle-for-versions
Fixing bug with dangling file handle when setting __version__
2015-06-25 15:07:06 -04:00
Peter Hamilton 95b729d6f7 Merge pull request #39 from cactorium/fix_credentials
Fix a few bugs in Credential object
2015-06-25 15:00:59 -04:00
Peter Hamilton e371273457 Fixing bug with dangling file handle when setting __version__
This change fixes a bug whereby a file handle was left unclosed after
being used to dynamically set __version__.
2015-06-25 14:27:31 -04:00
Kelvin Ly 3a2ceab68f Fix a few bugs in Credential object 2015-06-25 12:22:36 -04:00
Peter Hamilton 093ef072c1 Merge pull request #38 from OpenKMIP/ver/prep-release-0-3-3
PyKMIP - Release 0.3.3
2015-06-25 09:12:20 -04:00
Peter Hamilton 2ec52ef34d PyKMIP - Release 0.3.3
This update includes several new features and bug fixes:
* Add the core ManagedObject class hierarchy for the new Pie API
* Add updated Boolean primitive implementation and test suite
* Add integration tests for symmetric key creation and registration
* Update demo and client logging to log at the INFO level by default
* Update README with improved testing instructions
* Fix bug causing enumerations to be encoded as signed integers
* Fix bug with mismatched EncodingOption tag
* Fix bug with relative path use for version number handling
* Fix bug with Integer primitive breaking on valid long integer values
2015-06-25 08:58:47 -04:00
Peter Hamilton 8516c52820 Merge pull request #37 from OpenKMIP/bug/fix-integer-accepting-longs
Fixing bug with Integer accepting long values
2015-06-25 07:59:04 -04:00