Commit Graph

123 Commits

Author SHA1 Message Date
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 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
Peter Hamilton 0069f0d9fb Merge pull request #36 from hadesto/dev/hadi/integration-tests/release/symmetric-keys
Added integration tests for testing symmetric keys
2015-06-25 07:55:52 -04:00
Hadi Esiely d1e6ff49c8 Added integration tests for testing symmetric keys 2015-06-24 15:56:47 -04:00
Peter Hamilton 87f05f90bf Fixing bug with Integer accepting long values
This change fixes a bug with the Integer primitive that caused it to
break when accepting long integer values. As long as the long integer
value can be represented by a signed 32-bit integer, it is considered
valid. Test cases have been added to check for this condition and the
validation routine for Integer has been updated to raise appropriate
errors.
2015-06-24 13:42:04 -04:00
Peter Hamilton 5025925388 Merge pull request #34 from callidus/bug-fixes
A few bug fixes in objects
2015-06-24 12:52:11 -04:00
Peter Hamilton 083f61ab28 Merge pull request #35 from OpenKMIP/bug/fix-version-handling
Fixing relative path bug when looking up library version
2015-06-24 12:40:34 -04:00
Peter Hamilton b38b58c2f4 Fixing relative path bug when looking up library version
This change fixes the use of relative paths used to fetch the PyKMIP
library version number in kmip/__init__.py and setup.py. The absolute
path of the file is now dynamically generated and used instead. Tests
are included to verify that the __version__ attribute is set properly.
2015-06-24 12:31:53 -04:00
Tim Kelsey dae65b46c4 A few bug fixes in objects 2015-06-24 15:34:53 +01:00
Peter Hamilton ef58a8f90b Merge pull request #28 from OpenKMIP/feat/finish-boolean-primitive
Finishing Boolean primitive implementation
2015-06-23 14:13:26 -04:00
Peter Hamilton 16ad8447ce Merge pull request #27 from OpenKMIP/feat/add-pie-crypto-base-objects
Adding additional cryptographic base classes
2015-06-23 13:27:14 -04:00
Peter Hamilton a90e0f0b98 Adding additional cryptographic base classes
This change adds two additional abstract base classes for the Pie
ManagedObject object hierarchy: CryptographicObject and Key. Test suites
are provided for each base class, using a dummy subclass of each for
testing. The object test suite package structure is also modified to
collect all ManagedObject subclass tests in one package.
2015-06-23 13:25:31 -04:00
Peter Hamilton ac6a9edec7 Merge pull request #26 from OpenKMIP/bug/add-test-for-unsigned-enum
Adding test case for bug with unsigned Enumeration encoding
2015-06-19 13:54:48 -04:00
Peter Hamilton 272f9ffcbc Merge pull request #21 from OpenKMIP/feat/add-pie-managed-object
Adding the ManagedObject base class
2015-06-18 08:14:21 -04:00
Peter Hamilton 3ecb63aaf5 Finishing Boolean primitive implementation
This change finishes the Boolean primitive implementation, including a
complete test suite for the Boolean class.
2015-06-17 14:10:31 -04:00
Peter Hamilton 25c4aa90a5 Adding the ManagedObject base class
This change adds ManagedObject, the abstract base class of the
simplified KMIP object hierarchy. It defines a set of attributes common
to all KMIP objects and registers placeholder methods to be implemented
by all subclasses. A basic test suite is included, using a dummy
ManagedObject subclass for testing.
2015-06-17 10:45:47 -04:00
Peter Hamilton 64d30343a1 Adding test case for bug with unsigned Enumeration encoding
This change adds a test case that verifies a fix for a bug with how
Enumerations were encoded as signed instead of unsigned integers. The
validation check for Enumerations has also been updated to be more
concise.
2015-06-16 14:33:56 -04:00
Peter Hamilton 4d92d1fa95 Merge pull request #24 from rellerreller/dev/unsigned-integer
Enumerations are Unsigned Integers
2015-06-16 13:56:51 -04:00
Peter Hamilton e5043ec193 Merge pull request #15 from OpenKMIP/feat/update-client-demo-logging
Updating client and demo logging
2015-06-16 07:48:34 -04:00
Peter Hamilton 3ec0e833eb Updating client and demo logging
This change updates various logging statements for the KMIP client and
demo suites, ensuring that the default logging level for the library is
at the INFO level and that all demo logging is at the INFO level.
2015-06-16 07:46:25 -04:00
Nate 7106e5cf18 Merge pull request #23 from OpenKMIP/feat/improve-version-handling
Adding version module to improve version handling
2015-06-15 12:34:30 -04:00
Nathan Reller 1d3a8e462a Enumerations are Unsigned Integers
Enumerations are to be encoded as four byte unsigned integers. They
were previously being sent as signed integers. This caused failures
when trying to transmit values that are extensions. Extensions contain
the value 8 hex in the first nibble of the first byte.
2015-06-15 11:37:41 -04:00
Peter Hamilton 8efdded9ba Adding version module to improve version handling
This change adds a top-level version module to hold the version
definition for the library. This is then used in both kmip/__init__.py
and setup.py, allowing version inspection on import of the library and
automatic syncing of the version across the project.
2015-06-11 14:25:55 -04:00
Nate 537c25ff6d Merge pull request #22 from OpenKMIP/ver/prep-release-0-3-2
PyKMIP - Release 0.3.2
2015-06-11 13:21:48 -04:00
Peter Hamilton d6880de088 PyKMIP - Release 0.3.2
This update includes several features and bug fixes:
* Add support for registering and retrieving Certificates
* Update unit demos to work with Certificates
* Reorganize test suite into unit and integration test suites
* Remove old demo scripts
* Fix bug with incorrect KeyMaterialStruct tag
* Fix bug causing infinite recursion with object inheritance
2015-06-11 10:16:41 -04:00
Nate bc180653d8 Merge pull request #20 from OpenKMIP/maint/set-integration-default-python
Updating tox to specify Python version for integration tests
2015-06-09 09:30:15 -04:00
Nate 12bd1b1031 Merge pull request #19 from OpenKMIP/maint/add-pie-package
Adding the pie package for the simplified PyKMIP API
2015-06-09 09:28:40 -04:00
Nate 074505c77b Merge pull request #18 from OpenKMIP/maint/add-primitives-test-package
Adding a primitives test package to the unit test suite
2015-06-09 09:27:53 -04:00
Nate fafd4b06f8 Merge pull request #17 from OpenKMIP/maint/remove-old-demos
Removing old and out-of-date demo scripts
2015-06-09 09:26:46 -04:00
Peter Hamilton 5523967e07 Updating tox to specify Python version for integration tests
This change updates the tox configuration for the integration test
suite, specifying that the integration tests should be run with
Python2.7.
2015-06-08 12:35:36 -04:00
Peter Hamilton 16617972c6 Adding the pie package for the simplified PyKMIP API
This change adds the pie package, which will be used for the simplified
PyKMIP API, which will be officially known as the Pie API.
2015-06-05 11:46:00 -04:00
Peter Hamilton 984fe318cd Adding a primitives test package to the unit test suite
This change adds a primitives test package to the unit test suite to
contain future test suites for primitive testing. The current primitives
test suite has been moved to this new package.
2015-06-04 10:38:07 -04:00
Peter Hamilton 1bc568c175 Removing old and out-of-date demo scripts
This change removes the original top-level set of demo scripts in
kmip/demos in favor of the functioning and up-to-date unit demo scripts
located in kmip/demos/units.
2015-06-04 09:29:58 -04:00