Commit Graph

414 Commits

Author SHA1 Message Date
Nathan Reller 8d6575fa36 Added SQLAlchemy Code for Secret Data
The SecretData class has the SQLAlchemy code in it to allow it be
stored in the database using the library.
2016-02-19 10:33:36 -05:00
Peter Hamilton 5e52f9d943 Merge pull request #127 from OpenKMIP/feat/sqlalchemy-key
feat/sqlalchemy key
2016-02-19 10:26:34 -05:00
Nathan Reller c21f07634b Added SQLAlchemy Code for Symmetric Key
The code for persisting symmetric keys in a database has been added
along with the corresponding unit tests.

The usage mask list for cryptographic objects is stored as an integer bitmask.
The conversion takes place with a new SQLAlchemy type.

Switched ManagedObject value type to VARBINARY. This prevents errors from
occuring when trying to convert to a string.
2016-02-19 09:23:51 -05:00
Viktor Tarasov c9df034e48 server: implement 'discover-versions' 2016-02-18 14:35:30 +01:00
Peter Hamilton 4d6caf1de7 Merge pull request #130 from viktorTarasov/fix/payload-storage-mask
service/server: fix Locate.Payload member name
2016-02-17 14:16:05 -05:00
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
Peter Hamilton b94bdedacf Merge pull request #126 from OpenKMIP/feat/sqlalchemy-secretdata
Added SQLAlchemy Code to OpaqueData
2016-02-17 12:59:47 -05:00
Viktor Tarasov e0ea25a2c6 payload/locate: missing argument in 'read' calls
missing 'object_group_member' in request payload
2016-02-17 17:54:25 +01:00
Viktor Tarasov 8fe44e0e92 utils: log symmetric key 2016-02-17 17:40:50 +01:00
Viktor Tarasov 2b9d19c35f service/server: fix Locate.Payload member name 2016-02-17 17:26:10 +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 Hamilton 542fa16f1f Merge pull request #121 from OpenKMIP/feat/add-cryptography-engine
Adding the CryptographyEngine
2016-02-05 12:47:15 -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 Hamilton 180ed2ecd1 Merge pull request #114 from hadesto/dev/hadi/sphinx/release
Addition of Sphinx documentation engine
2016-01-29 13:26:52 -05:00
Hadi Esiely a69477f2fd Addition of Sphinx documentation engine
This feature adds support for Sphinx automatic documentation. It can now be used as part of the tox environment.

Signed-off-by: Hadi Esiely <hadi.esiely-barrera@jhuapl.edu>
2016-01-25 17:57:53 -05:00
Peter Hamilton 4c12eb65c6 Merge pull request #118 from OpenKMIP/maint/add-py26-deprecation-warning
Adding pending deprecation warning for Python2.6
2016-01-22 11:19:53 -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 faf5634cc0 Merge branch 'maint/add-py26-deprecation-warning' of https://github.com/OpenKMIP/PyKMIP into maint/add-py26-deprecation-warning
Conflicts:
	kmip/__init__.py
2016-01-14 16:42:10 -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 8ca3d59e37 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 10:52:06 -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
Peter Hamilton b07008c396 Merge pull request #109 from viktorTarasov/bug/integration-tests-fix-path-to-server-module
test/integration: fix path to 'kmip_server' module
2015-12-11 13:06:43 -05:00
Viktor Tarasov d83e0a3416 test/integration: fix path to 'kmip_server' module 2015-12-11 16:40:31 +01:00
Peter Hamilton 2e56e2ef5b Merge pull request #108 from spencerjackson/bug/fix-BatchErrorContinuationOption-enum
Fix BatchErrorContinuation message initialization
2015-12-10 14:06:30 -05: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 4fe8e282c1 Merge pull request #104 from OpenKMIP/bug/fix-integration-test-enums
Fixing broken GetAttributeList integration test
2015-12-02 15:37:02 -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 9092a30777 Merge pull request #105 from OpenKMIP/maint/add-bandit-to-default-tox
Adding bandit to the default tox routine
2015-12-02 12:27:17 -05:00
Peter Hamilton 5396e9098b Adding bandit to the default tox routine 2015-12-02 12:20:42 -05:00
Peter Hamilton ad6ec69848 Fixing broken GetAttributeList integration test 2015-12-02 12:08:47 -05:00
Peter Hamilton 3afa0e8124 Merge pull request #103 from hadesto/dev/hadi/server-failover/feature
Server Failover Feature
2015-11-30 14:50:13 -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 9cdceb790f Merge pull request #102 from OpenKMIP/feat/add-codecov-support
Adding support for Codecov
2015-11-03 15:24:48 -05:00
Peter Hamilton 66198f46ab Adding support for Codecov
This change updates the .travis.yml file to add support for Codecov
reporting.
2015-11-02 13:56:36 -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
Peter Hamilton bda12e3260 Merge pull request #95 from hadesto/dev/hadi/tests/attributes-cryptographic-parameters
Adding test coverage for Cryptographic Parameter tests
2015-11-02 09:00:30 -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 25d206cc64 Merge pull request #101 from OpenKMIP/feat/add-bandit-to-travis
Updating Travis CI configuration to invoke Bandit
2015-10-27 12:54:58 -04:00
Peter Hamilton 43180e66c4 Updating Travis CI configuration to invoke Bandit
This change updates the Travis CI configuration to invoke the tox Bandit
environment when running PyKMIP test suites.
2015-10-19 16:20:13 -04:00
Peter Hamilton 6af1de3219 Merge pull request #92 from hadesto/dev/hadi/bandit-integration/pykmip-bandit-implementation
Adds bandit testing to tox profile
2015-10-19 16:10:52 -04:00