Commit Graph

482 Commits

Author SHA1 Message Date
OpenDev Sysadmins 2e56662eda OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:29:12 +00:00
lhinds 93aacb43e6 Retiring Project
http://lists.openstack.org/pipermail/openstack-sigs/2018-August/000481.html

Depends-On: 90ca23f2ef5bf2cfdaf63552a7d8d8be325a03e6

Change-Id: I9ebc8cfcbb8906e9c4e1fd9e91205fe364bdc3c9
2018-08-28 09:41:53 +01:00
Doug Chivers 0ecce126dc Improved readme
Updated description of docker deployment to include passing the
docker network to anchor so certificate requests can pass
validation.

Change-Id: Ib93e0b4806f919da1d33658f2a2ab38b81fdb4d8
2017-02-21 09:51:14 -05:00
Jenkins 0810685ce1 Merge "Adding bootstrap to docker container" 2017-02-20 22:25:53 +00:00
Robert Clark 6f415b0fec Adding bootstrap to docker container
This commit removes the key generation stage of building Anchor
containers. When a container is started it will look for a key in a
docker volume named '/key' if there is a correctly formatted key it will
attempt to use it. If not it will generate one before starting normal
operations.

Change-Id: I569f0fe07171faeed0cffc7c87f3075a094ec811
2017-02-20 11:10:07 -05:00
Doug Chivers 88e58d7a7d Corrected readme
Readme description of how to run in development was outdated

Change-Id: I1e33125b2b4ea79c7eb05f895c49b7d61a0dfe91
2017-02-20 10:58:59 -05:00
Jenkins b5b412b567 Merge "Remove link to modindex" 2017-02-20 14:36:30 +00:00
Jenkins b050019661 Merge "Anchor can now be installed and invoked as simply "anchor"" 2017-02-20 14:24:49 +00:00
Jenkins 3892a61c2d Merge "Enable DeprecationWarning in test environments" 2017-02-20 14:22:19 +00:00
Jenkins e07e6ee53b Merge "Remove references to Python 3.4" 2017-02-20 14:10:42 +00:00
Jenkins f1d8333d58 Merge "Typo fix: emited => emitted" 2017-02-20 14:10:37 +00:00
Jenkins eb43682bdf Merge "Updated from global requirements" 2017-02-20 14:07:59 +00:00
xhzhf 9d4ea65ef7 command of "tox -e docs" failed
error info of "tox -e docs" is below
doc/source/signing_backends.rst:74: D003 Tabulation used for indentation
doc/source/signing_backends.rst:75: D003 Tabulation used for indentation
doc/source/signing_backends.rst:76: D003 Tabulation used for indentation
doc/source/signing_backends.rst:77: D003 Tabulation used for indentation
doc/source/signing_backends.rst:52: D001 Line too long
This patch correct it
Closes-Bug: #1664796

Change-Id: I55798c2823f8a98ae7bfee0612c3a2639b4ca8d5
2017-02-17 15:31:42 +08:00
OpenStack Proposal Bot 487be72d55 Updated from global requirements
Change-Id: I58794e2b2e13a19e0e16ff9ad0ec83905b907337
2017-02-11 17:40:20 +00:00
Anh Tran d28b1011ed Typo fix: emited => emitted
Change-Id: I4983c4a011b862b90976dfbc169eda8c66186168
2017-02-07 14:31:09 +07:00
avnish 88af8f9921 Enable DeprecationWarning in test environments
Many deprecations are triggered early (on imports, for example).
To make sure all DeprecationWarning messages are emitted we enable
them via the PYTHONWARNINGS environment variable.

Change-Id: Ib61fa1f8dfdf0aa4c0e23d7472058244d6b66c53
2017-02-07 12:33:30 +05:30
avnish ba5120c8c0 Remove link to modindex
The documentation build does not generate any module index, thus
remove the link to the page.

Change-Id: Ia06a5a3d4310cf71fd6814a6c58d0044348899ba
2017-02-02 16:24:31 +05:30
Eric Brown 1eb0157271 Remove references to Python 3.4
Now that there exists only a gate job for Python 3.5 and not 3.4,
we should remove those references to the 3.4 that is untested.

Change-Id: I03caf829a7b1a07345bb29f07629c575fdab22a9
2017-01-09 10:02:45 -08:00
Jenkins 29a0e8954d Merge "Fix typo in fixups.rst" 2017-01-05 19:49:33 +00:00
Jenkins e54e491393 Merge "Anchor is source-only, so build common py2/py3 wheel" 2016-12-21 04:15:33 +00:00
Jenkins 27906fbf69 Merge "Fix test coverage on x509/certificate" 2016-12-21 04:05:42 +00:00
OpenStack Proposal Bot 1a68c5fc9e Updated from global requirements
Change-Id: I540d50b9472783dc88278eb98a4ee0d1cc774f7d
2016-12-07 13:29:44 +00:00
Jenkins 24ba8fc0c8 Merge "Make Anchor compatible with ldap3>=2.0.7" 2016-12-01 17:42:34 +00:00
Stanisław Pitucha b4be922aab Make Anchor compatible with ldap3>=2.0.7
Don't rely on main ldap3 namespace to contain all exceptions.

Change-Id: I5cc42beb97e1a81614a6d2505832d3aa1de4e0a7
2016-11-03 12:37:04 +11:00
OpenStack Proposal Bot 8a06c10924 Updated from global requirements
Change-Id: I9c5008e9adb14985e3d70f61719d23eae8d8441a
2016-09-29 22:30:03 +00:00
Eric Brown 8b80478622 Remove discover from test-requirements
The discover module is only required for Python versions less than
2.7 which are not supported.

Change-Id: Iddfb631fbe4cf93c8bdef3b19f6991294ebdfe3f
2016-09-12 08:35:24 -07:00
Jenkins 322b975feb Merge "Allow custom domain labels" 2016-09-12 08:16:22 +00:00
OpenStack Proposal Bot cb26a09187 Updated from global requirements
Change-Id: I5b663e92c0b36d8782922becdc5c666c6b431cb9
2016-09-09 22:45:12 +00:00
Jenkins 173569e077 Merge "Ignore bootstrap files" 2016-09-09 18:15:22 +00:00
Tim Kelsey ef2160e82e Anchor can now be installed and invoked as simply "anchor"
This installs stuff in the right places to run anchor from the
included startup scripts. The config is installed into /etc/anchor

This will work from within a venv or without.

The anchor config.py file has been moved into the project package
so that it will install with the other stuff. Eventually we should
strip it out as much as possible and move the details into the JSON
file.

Change-Id: Iffaa7669ce8118fbd41011f9e965704c2ad51b44
2016-09-08 17:00:37 +00:00
Jenkins f6e49646ec Merge "Add __ne__ built-in function" 2016-09-07 09:11:08 +00:00
Jenkins 4ef398c001 Merge "Add Python 3.5 classifier and venv" 2016-09-06 17:19:24 +00:00
gecong1973 2c12970756 Add __ne__ built-in function
In Python 3 __ne__ by default delegates to __eq__ and inverts the
result, but in Python 2 they urge you to define __ne__ when you
define __eq__ for it to work properly [1].There are no implied
relationships among the comparison operators. The truth of x==y
does not imply that x!=y is false. Accordingly, when defining __eq__(),
one should also define __ne__() so that the operators will behave
as expected.
[1]https://docs.python.org/2/reference/datamodel.html#object.__ne__

Change-Id: Iebabc4deea0aadbec4e73aae52e78bfd84209379
2016-09-05 09:21:00 +08:00
gecong1973 2bf2071a81 Remove white space between print and ()
TrivialFix

Change-Id: I6eeac0206a625d3f562b207e5523f87a88993ccc
2016-08-25 13:28:05 +08:00
Christian Berendt 5d7e18686a Fix syntax of a link in the README file
The README file uses RST and not Markdown syntax.

Change-Id: Ie7bd95e26ff91ec671ebe4aa8da34ce39559cad5
2016-08-18 09:00:44 +02:00
zhangyanxian a9874e0519 Fix typo in the certificate_ops file
Change-Id: I204da2320650ff8238df79fdabd67c34d90c9acb
2016-08-04 06:12:34 +00:00
Rahul 338dbdfb6f Fixes jenkins failing on coverage report generation
Jenkins was failing when coverage report was getting gererated
as coverage combine deletes the reports and essentially and thus
was failing with the message no data found. This patch fixes it

Change-Id: I83ba65eff80181f06e712ea0a75e97919edf50ae
2016-08-04 00:04:39 -05:00
zhangyanxian d771f53959 Fix some spelling mistakes
Change-Id: I9dc80deb65022618f3ac501fad0af992f9abbc3f
2016-07-22 02:43:35 +00:00
Jenkins 9054f2f160 Merge "Add bandit to pep8 venv" 2016-07-15 15:15:00 +00:00
Eric Brown 5066629ada Add Python 3.5 classifier and venv
Now that there is a passing gate job, we can claim support for
Python 3.5 in the classifier. This patch also adds the convenience
py35 venv.

Change-Id: If31d87617e59c1fd59da183ac56148d32ef54b6d
2016-07-09 22:35:04 -07:00
Jinay Vora 1864f6b2a3 Fix typo in fixups.rst
Change-Id: I062d2e81b8cbc1b6fdf1bf98fac51015122b781a
2016-06-27 20:11:25 -07:00
Jenkins 588f4870b3 Merge "Fixed spelling error in certificate.py" 2016-06-27 10:48:15 +00:00
Stanisław Pitucha 2257b8bbed Allow custom domain labels
Original validator checked for domain labels as defined by RFC1034, however real
internet deals with other domains as well - starting with digits or symbols.
This change allows modifying the pattern to allow custom / relaxed rules.

Validation has been removed from adding a domain to a new extension, since it's
only used in fixups and the domain should be already validated. (or not, if not
configured)

Closes-bug: 1592489

Change-Id: Ib453054ba5f554bab28cff392c539e713fa28918
2016-06-16 19:34:18 +10:00
Stanisław Pitucha fb9ca52bbc Ignore bootstrap files
The request / key files mentioned in the README for initial tests can be
ignored. Prevents accidental commits.

Change-Id: I4296be10697c48b2f5c27469ff304d57abf63bbc
2016-06-16 15:19:13 +10:00
Stanisław Pitucha 6fdb9be69e Force a recent hash in examples
On some systems openssl still defaults to sha1 in new certificate requests,
which is rejected by Anchor. Force sha256 in all examples instead.

Change-Id: I0c673392c7f6badd7d66c307ace594b1d711674d
2016-05-06 16:40:23 +10:00
Stanisław Pitucha e585255333 Better messages for deprecated algos
For known, but deprecated algorithms (md{2,4,5}, sha1), log a better message
rather than just the OID of the rejected algorithm.

Change-Id: I004cbfe486657a80f482e506e4e1fc9396564391
2016-05-06 16:40:17 +10:00
Stanisław Pitucha fef692f901 Revert "Modified config to bypass standards validation"
Standards validation was correct, but could use a better error message. That
will follow in later commits.

This reverts commit 87d9da87b4.

Change-Id: Ib5fa6ffcdba879c4eabff513ee2b09a41271bebf
2016-05-06 16:06:38 +10:00
Doug Chivers 87d9da87b4 Modified config to bypass standards validation
Standards validation is failing using the examples in the readme,
until this can be fixed and added to the tests, disabling
standards validation.

Change-Id: Ia22e2c2923c118321911c127bb4d46e50bca408b
2016-05-05 13:13:24 +01:00
OpenStack Proposal Bot 06d7ad98d6 Updated from global requirements
Change-Id: Id41eb7ab40785ae6dfbe661f70321c72c0fb73e5
2016-04-28 16:09:59 +00:00
Jenkins 59c4e47133 Merge "Fix typo in certificate.py" 2016-03-14 17:26:07 +00:00