Commit Graph

16 Commits

Author SHA1 Message Date
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
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 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
Jenkins 689ac6efdc Merge "Add support for audit publishing" 2015-12-01 16:33:16 +00:00
Stanisław Pitucha d7d6db29c7 Add support for audit publishing
Add the support for actually sending the audit messages, or logging them
using the standard logging mechanisms.

Change-Id: I98067da8db4987f9f9859a8c6d5443a94677f856
2015-11-20 22:05:45 +11:00
Tim Kelsey 7a6d130564 Removing the left over config option
This config option was referring to a validator that was removed in
https://review.openstack.org/#/c/238345/ it is not needed and was
causing anchor to fail startup.

Change-Id: Ia2ef8765f776a8bcba825674b7a246b83b41dd12
2015-11-04 16:20:15 +00:00
Stanisław Pitucha 29552eb45f Add rfc based validators
Add a validator which collects various standard format/behaviour tests.
These are not user-configurable and any valid request failing them is a
bug in Anchor.

All checks reference the document where they're defined.

Closes-bug: 1476877
Partial-bug: 1476875
Change-Id: I208685d8d7cde40ed5294e7235d64ca17617c094
2015-09-21 12:21:05 +10:00
Doug Chivers b3a56b0747 Working config.json
Minor improvement to config.json to let anchor start up

Change-Id: I23e5a0a68f9845b78bc6d3155c2413e8f816a1d2
2015-09-01 16:53:16 -07:00
Stanisław Pitucha f1ed12e2cf Implement new API format
Signing requests are expected to arrive at

/v1/sign/<registration_authority>

now. Virtual registration authority is a new concept which right now includes
everything the original configuration included. That means for example each
registration authority available within Anchor deployment can configure its own
CA, auth, and validators. Clients request a specific registration authority via
the URL. This does not mean they can just choose who signs the CSR - they still
need to pass all checks. Only the guesswork of "which validation set applies to
them" is gone because of this change.

The previous concept of validator sets is gone. Each registration authority
configures its own validators and all of them need to pass.

Previous endpoint /sign will not work anymore. It's incompatible with
the new design.

The configuration file changes in the following way:
1. Registration authorities need to be defined in the main config.
2. Validator sets are not available anymore.
3. CA and auth settings at the top level need to be named. They can be referred
   to in the registration authority block.
4. Old names are removed. Any use of "auth", "ca", or "validators" at the top
   level will result in an error and explanation regarding the upgrade path.

Further documentation and a sample config with the new layout can be found in
the docs/configuration.rst file.

Closes-bug: 1463752
Change-Id: I5a949e0c79a2d56eadadf5ece62bb8b8eea89e78
2015-08-20 11:32:28 +10:00
Stanisław Pitucha b61edc5020 Update documentation
Split the README documentation into better section. Refresh the text,
so that it matches the current code. Ensure the sample config works
with the examples.

Closes-bug: 1437703
Change-Id: I1548892a97d82fdcd1a4fe53f24c0fcdb6e35f1f
2015-06-23 12:49:22 +10:00
Nathaniel Dillon 046a08dcc2 Updating config.json to be sha256
Change-Id: I8994fe510c0f976e56b5bc79074aa371c15ca477
Closes-Bug: #1432424
2015-05-22 15:43:25 -07:00
Tim Kelsey abd2fef7a8 Simplifying the validator config
Less nesting, removed redundent lists

Change-Id: Ib223deca5bfd5fc67560fd030813020a07e054ce
2015-05-05 12:46:25 +01:00
Doug Chivers d40c94f8dc Removes CA Certificte and CRL signing from the default config
Change-Id: I9cda52f8c7048701fe156dc51b25b8214808b762
Closes-Bug: 1430781
2015-03-14 12:42:14 +00:00
Tim Kelsey 7b6c4ba40a Fixing several issues in Anchor startup
co-authored-by: Robert Clark <robert.clark@hp.com>

Change-Id: Ic170b372de3da421eef87d2b6faeed6bcebd368d
2015-03-05 11:47:58 +00:00
Bryan D. Payne 93e635668e Changed config to use json not .py
- Co-authored by Bryan D. Payne <bdpayne@acm.org>

Change-Id: I89be207597331b3cd3debb7089e823b8c98077e6
Closes-Bug: 1398480
2015-02-20 12:32:54 -08:00