Commit Graph

831 Commits

Author SHA1 Message Date
Michael McCune f77b0202b2 Adding server key and cert files to installation
This change adds the server key and cert files from kmip/demos/certs to
the MANIFEST.in and setup.py files. These files are being added to
resolve missing file issues when using the default config values.

In cases where a user is instantiating a KMIPClient and passing
ca_cert=None an exception will be raised with newer versions of
Python(2.7.8+). This exception is based on the missing server.crt file
that is specified in the default configuration.

Likewise, when instantiating a KMIPServer with keyfile=None or
certfile=None the default values will be used. This will also cause an
exception with newer versions of Python.

Although it may be unlikely that an end user would instantiate these
classes without providing cert and key files, there are cases(namely
testing) where it is acceptable to pass None values for these files. In
these cases the files should be present to allow proper execution.

Changes
* adding server.crt and server.key to MANIFEST.in and setup.py
* correcting mismatched default values for KMIPServer certfile and
  keyfile
2014-12-10 18:43:56 -05:00
Peter Hamilton 34962e36af Adding support for the six library
This change adds support for the six library, specifically for handling
portions of the code that are sensitive to differences between Python
2.* and 3.*.
2014-11-18 15:19:56 -05:00
Peter Hamilton ee52df639a Merge branch 'feat/update-changes-and-version' 2014-11-17 14:51:59 -05:00
Peter Hamilton f398d38f50 PyKMIP - Release v0.2.0
This update includes several new features, including:

* client support for the Locate operation
* configuration file support
* README updates in content and formatting
2014-11-12 08:58:49 -05:00
Peter Hamilton 58c42f1098 Merge branch 'develop' 2014-10-27 08:09:09 -04:00
Joel Coffman a429ab8757 Merge branch 'feat/config-username-password' into 'develop'
Adding username and password config options

This change adds username and password configuration options to the client section of the configuration file. These options are used to create KMIP Credential objects for authenticating connections to a KMIP appliance.

The KMIP proxy now uses these options when handling operation calls. If no credential is provided, the proxy will automatically create one from the config file. If either the username or the password is unspecified, an error is generated. If neither are specified, no credential is created. Only username/password credentials are currently supported.

The KMIP proxy test suite now includes test cases covering this functionality.
2014-10-24 14:50:56 -04:00
Peter Hamilton bfb0bb88d7 Adding username and password config options
This change adds username and password configuration options to the
client section of the configuration file. These options are used to
create KMIP Credential objects for authenticating connections to a KMIP
appliance.

The KMIP proxy now uses these options when handling operation calls. If
no credential is provided, the proxy will automatically create one from
the config file. If either the username or the password is unspecified,
an error is generated. If neither are specified, no credential is
created. Only username/password credentials are currently supported.

The KMIP proxy test suite now includes test cases covering this
functionality.
2014-10-23 22:28:20 -04:00
Joel Coffman 12c5b35ffc Merge branch 'dev/readme' into 'develop'
Updating README content and formatting

This change adds content to the README, including:

* KMIP profile and operation information
* references to OASIS KMIP documentation
* typo fixes

The README format has also been updated, leveraging different reStructuredText features.
2014-10-06 08:24:50 -04:00
Peter Hamilton 02c818a5fc Formatting line breaks in README
This change adds line breaks to the intro paragraphs of the README.
Lines that contain internal/external rST links are ignored, as are
bulleted lines, since line breaks would break rST formatting.
2014-09-22 12:55:58 -04:00
Peter Hamilton 87afc0832e Reformatting README to use reStructuredText
This change reformats the README to use the syntax and formatting
recognized by reStructuredText parsers. Several typos have been fixed
along with minor rephrasing and condensing of text. All external
references have officially been replaced with direct links to the
documents and document sections in question.
2014-09-22 12:55:58 -04:00
Bruce Benjamin a344fd6e41 Updated REAME file 2014-09-22 12:55:58 -04:00
Peter Hamilton 3eabf209cc Merge branch 'develop' 2014-09-22 12:42:09 -04:00
Peter Hamilton d40e12905b Merge pull request #3 from wyllys66/master
Added support for LOCATE operation
2014-09-22 11:52:02 -04:00
Wyllys Ingersoll aa51f15bf0 Fixed broken destroy message in test 2014-09-18 10:17:52 -04:00
Wyllys Ingersoll 61b3231e79 Removed name from TODO comment 2014-09-17 15:33:23 -04:00
Wyllys Ingersoll 47032c9d85 Update locate.py
removed Johns Hopkins copyright lines.
2014-09-17 15:25:58 -04:00
Kaitlin Farr 0212ee898c Adds a configuration file
Adds a configuration file to allow users to modify settings for the
client and server. The configured settings can be overridden by
directly passing values when a kmip server or client is initialized.
Additionally, if the config file or config options are not found,
pre-set default values will be used.
2014-09-17 00:24:58 -07:00
Wyllys Ingersoll 6752b700c9 flake8 fix 2014-09-12 13:00:15 -04:00
Wyllys Ingersoll e67f56ae56 Added TypeError exception to Name.create method 2014-09-12 12:55:18 -04:00
Peter Hamilton 736711ce23 Merge branch 'master' into develop 2014-09-12 11:34:00 -04:00
Peter Hamilton 27b1e2ab08 PyKMIP - Release v0.1.1
This update includes the following bug fix:

* support for auto-installing third-party library dependencies
2014-09-12 11:04:44 -04:00
Peter Hamilton 986db9d0e7 Updating PyKMIP to v0.1.1. 2014-09-12 10:34:50 -04:00
Wyllys Ingersoll ceaff6d7ac Fixed typos 2014-09-11 18:15:52 -04:00
Wyllys aa300b256c Stub out server side locate operation. 2014-09-11 18:04:22 -04:00
Kaitlin Farr 4711c3c791 Adding dependencies to setup.py 2014-09-09 10:06:16 -07:00
Wyllys Ingersoll a2b71a1f1c Updated to address comments from first attempt 2014-09-09 00:14:02 -04:00
wyllys b04f5c2dc3 Added support for LOCATE operation 2014-09-04 14:42:20 -04:00
Peter Hamilton 97ae864196 PyKMIP - Release v0.1.0
This change includes several new features to PyKMIP, including:

* support for Python 3.3 and 3.4
* support for KMIP client/server SSL connections
* removal of all Thrift library dependencies
2014-08-28 14:04:23 -04:00
Peter Hamilton f0e3c26170 PyKMIP - Release v0.0.1
This changes adds the final modifications needed for release v0.0.1 of
the PyKMIP library.

Packaging and licensing files are updated with current information and
some minor file restructuring is done to ensure test suite integrity.
2014-08-13 19:23:05 -04:00
Peter Hamilton 1cb6deaf0b PyKMIP library version 0.0.1
This implementation supports version 1.1 of the KMIP spec. The
library supports the following operations for SymmetricKey objects:

create
register
get
destroy
2014-08-11 16:34:30 -04:00
Nathan Reller a0d8c9195e Initial commit of KMIP library
This contains the basic items for repository. The basic files and directories
were created to layout the repository structure.

Created a simple KMIP client and server. This was generated using the thrift
library. This version only tests the thrift framework. It does not adhere to
the spec.
2014-04-11 17:38:19 -04:00