Commit Graph

157 Commits

Author SHA1 Message Date
Peter Hamilton 5eb1625a23 Merge pull request #131 from viktorTarasov/feature/utils/log-skey
utils: log symmetric key
2016-02-17 13:00:53 -05:00
Viktor Tarasov 8fe44e0e92 utils: log symmetric key 2016-02-17 17:40:50 +01:00
Nathan Reller e7a383cace Added SQLAlchemy Code to OpaqueData
Added the ORM code to be able to persist OpaqueData in a database.
This added the code to the base class ManagedObject as well. Unit
tests are added to demonstrate the code is working correctly.
2016-02-16 14:53:45 -05:00
Peter Hamilton 52c7103681 Merge pull request #123 from OpenKMIP/feat/add-kmip-session
Adding KmipSession
2016-02-15 09:25:14 -05:00
Peter Hamilton 92c7358237 Merge pull request #122 from OpenKMIP/feat/add-auth-suites
Adding KMIP authentication suites
2016-02-15 09:20:46 -05:00
Peter d316d29b60 Adding KmipSession
This change adds a KmipSession class that manages individual
client/server connections in a thread of execution separate from the
main thread. A test suite is included.
2016-02-09 18:05:57 -05:00
Peter Hamilton a0423352ab Merge pull request #115 from hadesto/dev/hadi/unit_tests/kmip_client/server_failover_release
Server Failover Unit Tests
2016-02-09 15:09:19 -05:00
Hadi Esiely bd9ac1c521 Server Failover Unit Tests
This pull request adds some unit tests for the server failover code that was recently merged.

Signed-off-by: Hadi Esiely <hadi.esiely-barrera@jhuapl.edu>
2016-02-09 14:13:22 -05:00
Peter a1fa021af3 Adding KMIP authentication suites
This change adds KMIP authentication suites, which define the TLS
protocols and cipher suites to use for establishing secure network
connections compliant with the KMIP specification. Test suites are
included.
2016-02-05 13:29:05 -05:00
Peter 53d6b1776e Adding the CryptographyEngine
This changes adds the CryptographyEngine, which uses pyca/cryptography
to create symmetric and asymmetric keys. A test suite is included.
2016-01-29 13:29:36 -05:00
Peter Hamilton 9d02201178 Merge pull request #120 from OpenKMIP/dev/add-cryptographic-engine-api
Adding server.crypto package and initial API
2016-01-29 13:27:14 -05:00
Peter 54b446f2d5 Adding server.crypto package and initial API
This changes adds the kmip.services.server.crypto package and the
initial API for the CryptographicEngine hierarchy.
2016-01-18 16:36:52 -05:00
Peter b7add2179d Adding pending deprecation warning for Python2.6
This change add a simple warning that is triggered whenever Python
2.6 is used with PyKMIP. It simply advises the user to use a newer
version of Python. For now, Python 2.6 can still be used with
PyKMIP.
2016-01-14 16:39:52 -05:00
Peter Hamilton 44f5b1978b Merge pull request #119 from OpenKMIP/bug/fix-binary-operator-line-break
Fixing line break style error
2016-01-14 10:50:43 -05:00
Peter fee1157ee7 Fixing line break style error
This change fixes a minor style error where a line break was used
before a binary operator in an if-statement.
2016-01-14 10:44:08 -05:00
Viktor Tarasov d83e0a3416 test/integration: fix path to 'kmip_server' module 2015-12-11 16:40:31 +01:00
Spencer Jackson 1ae87789ef Fix BatchErrorContinuation message initialization 2015-12-10 12:40:37 -05:00
Peter Hamilton a7a3b958d0 Merge pull request #106 from OpenKMIP/ver/prep-release-0-4-1
PyKMIP - Release 0.4.1
2015-12-03 09:52:17 -05:00
Peter Hamilton edb215311b PyKMIP - Release 0.4.1
This update includes several new features:
* Add support for the GetAttributeList operation
* Add integration with Travis CI, Codecov/Coveralls, and Bandit
* Add client/server failover support using multiple IP addresses
* Add additional attribute unit tests
* Update implementations of KMIP primitives
* Reorganize server code to prepare for refactoring
* Remove use of exec when handling library version numbers
* Remove broken server script
2015-12-02 12:49:59 -05:00
Peter Hamilton ad6ec69848 Fixing broken GetAttributeList integration test 2015-12-02 12:08:47 -05:00
Hadi Esiely b4644c47ae Server Failover Feature
This feature enables the PyKMIP library to switch between KMIP service provider
hosts in the event one of them is unavailable. To list more than than one host,
include all necessary host IP addresses separated by commas in the "host" field
in the pykmip.conf file.

Signed-off-by: Hadi Esiely <hadi.esiely-barrera@jhuapl.edu>
2015-11-25 12:43:40 -05:00
Peter Hamilton 0cccf68798 Merge pull request #96 from hadesto/dev/hadi/tests/attributes-digest
Adding Digest unit tests
2015-11-02 09:11:15 -05:00
Hadi Esiely e7810667e9 Adding Digest unit tests
Completes remaining tests for the Digest class
2015-10-27 14:31:10 -04:00
Hadi Esiely 64dbbe86e0 Adding test coverage for Cryptographic Parameter tests
Added unit tests for the cryptographic parameter attribute code
2015-10-27 14:29:55 -04:00
Peter Hamilton a04a014a8a Reorganizing the server code
This change creates a new subpackage under services, server, which now
holds all of the software server related code. References to different
pieces of the server code base are updated accordingly.
2015-09-29 14:22:03 -04:00
Peter Hamilton 20dbad5055 Updating support for the Enumeration primitive
This change updates the Enumeration primitive, adding a fresh
implementation and documentation. An updated unit test suite for the
primitive is included. Numerous changes to Enumeration usage across the
library are also included to comply with the updated implementation.
2015-09-29 13:23:44 -04:00
Peter Hamilton 55b35b0353 Merge pull request #83 from OpenKMIP/feat/update-attribute-value-factory
Updating the AttributeValue factory
2015-09-29 13:11:08 -04:00
Peter Hamilton 2c166a68ea Merge pull request #80 from OpenKMIP/feat/update-interval
Updating support for the Interval primitive
2015-09-29 13:09:39 -04:00
Peter Hamilton a521f49dcd Merge pull request #91 from hadesto/dev/hadi/tests/attributes-namespace-tests
Added tests for testing Name attribute
2015-09-29 13:08:22 -04:00
Hadi Esiely ac6d0ae81c Added tests for testing Name attribute
Completes test coverage for the Name attribute
2015-09-28 13:05:41 -04:00
Peter Hamilton 45c91b9c8d Merge pull request #79 from OpenKMIP/feat/update-date-time
Updating support for the DateTime primitive
2015-09-23 12:51:30 -04:00
Peter Hamilton e3075a1b04 Merge pull request #77 from OpenKMIP/feat/update-big-integer
Updating support for the BigInteger primitive
2015-09-23 10:59:36 -04:00
Peter Hamilton 25ad7d3ab1 Updating version handling
This change updates how the library version number is dynamically
loaded. It removes the use of exec in favor of a regular expression.
2015-09-17 14:32:14 -04:00
Peter Hamilton 3970c0f211 Adding ProxyKmipClient support for the GetAttributeList operation
This change adds support for the GetAttributeList operation to the
ProxyKmipClient. It updates the Pie client API and provides a demo
showing how to use the operation. All relevant test suites are updated
accordingly.
2015-09-04 10:01:39 -04:00
Peter Hamilton a79e9d7f99 Updating support for the Interval primitive
This change updates the Interval primitive, adding a fresh
implementation and documentation. A new unit test suite for the
primitive is included.
2015-09-01 12:36:22 -04:00
Peter Hamilton 26e44a07e1 Updating support for the DateTime primitive
This change updates the DateTime primitive, adding documentation and
Python string operator support. A new unit test suite for the primitive
is included.
2015-08-31 12:19:03 -04:00
Peter Hamilton c763b69af1 Adding KMIPProxy support for the GetAttributeList operation
This change adds support for the GetAttributeList operation to the
KMIPProxy client. It adds a new result object for the operation along
with an integration test demonstrating how the operation can be used.
Client unit test cases are also included.
2015-08-31 12:06:49 -04:00
Peter Hamilton 3a4658d5d1 Updating the set of supported configuration file locations
This change adds support for multiple configuration file storage
locations, including the user's home directory and /etc. The preferred
configuration file name is now pykmip.conf. The original name,
kmipconfig.ini, will continue to be supported for legacy installations.
2015-08-28 15:59:05 -04:00
Peter Hamilton 89a6e21a06 Updating support for the BigInteger primitive
This change fixes various bugs with the original BigInteger
implementation, adding in a working version of the primitive. A full
unit test suite is included.
2015-08-27 09:00:00 -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 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 b0bab4b8bc Updating the AttributeValue factory
This change updates the AttributeValue factory, removing and
streamlining code. Support for several basic primitive attributes are
added in addition to a redesigned test suite for the factory.
2015-08-18 14:04:29 -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 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 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 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
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
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