Internal fork of https://github.com/Netflix/lemur.git
f179e74a4a
When exporting a certificate, the password is an optional parameter. When a password is not supplied by the caller, a default password is generated by the method. The generation library creates the random password as a bytes object. The bytes object raises an error in the 'keytool' command used to export the certificate. The keytool is expecting the password to be a str object. The fix is to decode the generated password from a bytes object to a str object. The associated Java plugin tests have been updated to verify the export method returns the password as a str object. In addition, the tests have been updated to correctly test the export methods response object. The original tests treated the response as a single object. The current export methods return a tuple of data (type, password, data). In order to make the tests compatible with both Python2 and Python3, the 'six' library was used to test the password is in fact a string. |
||
---|---|---|
docs | ||
gulp | ||
hooks | ||
lemur | ||
trustores | ||
.bowerrc | ||
.gitattributes | ||
.gitignore | ||
.jshintignore | ||
.jshintrc | ||
.travis.yml | ||
AUTHORS | ||
bower.json | ||
CHANGELOG.rst | ||
config-default.py | ||
gulpfile.js | ||
LICENSE | ||
Makefile | ||
MANIFEST.in | ||
OSSMETADATA | ||
package.json | ||
README.rst | ||
setup.cfg | ||
setup.py | ||
tox.ini |
Lemur ===== .. image:: https://badges.gitter.im/Join%20Chat.svg :alt: Join the chat at https://gitter.im/Netflix/lemur :target: https://gitter.im/Netflix/lemur?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge .. image:: https://readthedocs.org/projects/lemur/badge/?version=latest :target: https://lemur.readthedocs.org :alt: Latest Docs .. image:: https://img.shields.io/badge/NetflixOSS-active-brightgreen.svg .. image:: https://travis-ci.org/Netflix/lemur.svg :target: https://travis-ci.org/Netflix/lemur Lemur manages TLS certificate creation. While not able to issue certificates itself, Lemur acts as a broker between CAs and environments providing a central portal for developers to issue TLS certificates with 'sane' defaults. It works on CPython 2.7, 3.3, 3.4. We deploy on Ubuntu and develop on OS X. Project resources ================= - `Lemur Blog Post <http://techblog.netflix.com/2015/09/introducing-lemur.html>`_ - `Documentation <http://lemur.readthedocs.org/>`_ - `Source code <https://github.com/netflix/lemur>`_ - `Issue tracker <https://github.com/netflix/lemur/issues>`_ - `Docker <https://github.com/Netflix/lemur-docker>`_