b79d5b7a98
1. Adds the passphrases generation capability in Pegleg CLI, so that pegleg can generation random passwords based on a specification declared in pegleg/PassphrasesCatalog documents 2. Pegleg also wraps the generated passphrase documents in pegleg managed documents, and encrypts the data. 3. Adds unit test cases for passphrase generation. 4. Updates pegleg CLI document. Change-Id: I21d7668788cc24a8e0cc9cb0fb11df97600d0090
41 lines
1.3 KiB
Python
41 lines
1.3 KiB
Python
# Copyright 2018 AT&T Intellectual Property. All other rights reserved.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
from setuptools import setup
|
|
from setuptools import find_packages
|
|
|
|
setup(
|
|
name='pegleg',
|
|
python_requires='>=3.5.0',
|
|
version='0.1.0',
|
|
description=('Pegleg is a document aggregator that provides early '
|
|
'linting and validations via Deckhand, a document '
|
|
'management micro-service within Airship.'),
|
|
url='https://github.com/openstack/airship-pegleg',
|
|
author='The Airship Authors',
|
|
license='Apache 2.0',
|
|
packages=find_packages(),
|
|
entry_points={
|
|
'console_scripts': [
|
|
'pegleg=pegleg.cli:main',
|
|
]},
|
|
include_package_data=True,
|
|
package_dir={'pegleg': 'pegleg'},
|
|
package_data={
|
|
'pegleg': [
|
|
'schemas/*.yaml',
|
|
],
|
|
},
|
|
)
|