Commit Graph

12 Commits

Author SHA1 Message Date
Steve Martinelli 8a66ef6354 Remove support for PKI and PKIz tokens
This is the first step of several to remove PKI token support in
keystone. A large issue in removing PKI support is support for the
revocation list must be maintained.

This patch removes support for the token format, it's surrounding tests
and examples that are generated. Additionally, some wording has been
changed around the CLI and config options to make the distinction
between keys and certs used for PKI tokens and those used for getting
the revocation list (a list of tokens that are revoked, which is signed).

Future patches will:

- Remove the keystone-manage commands for generating certs

- Modify the revocation list (at /auth/tokens/OS-PKI/revoked) to return
a 403 if pki is not configured (instead of raising a 500). We cannot
remove the API as that would break an API contract.

- Options to configure PKI will be marked as deprecated

- If PKI is configured a normal signed list will be returned (same
behavior as today)

- Follow up patch to keystonemiddleware will make sure auth_token does
not rely on the revocation api at all.

Related-Bug: 1626778
Related-Bug: 1626779

Co-Authored-By: Boris Bobrov <bbobrov@mirantis.com>
bp removed-as-of-ocata
Change-Id: Icf1ebced44a675c88fb66a6c0431208ff5181574
2016-11-01 22:05:01 +00:00
Brant Knudson 3aec6f6734 Correct bashate issues in gen_pki.sh
There were some warnings for lines too long.

Change-Id: I01796e4ff6cacbbdf57a0b1a8cc34101f8fdc0f8
2015-10-20 10:40:10 -05:00
Harry Rybacki b136083c7c Example JSON files should be human-readable
Change-Id: I58a68829176a8447133c99908338b90b7204a694
2014-07-19 18:09:06 -04:00
Lance Bragstad 491b29bed8 Make gen_pki.sh & debug_helper.sh bash8 compliant
Now that bash8 is available on PyPI we can use it to clean up the bash
scripts in Keystone. This also uses bash8 in tox. For now we can add
files to the tox check manually as we make them compliant.

Change-Id: I87a7478949114163f0614b1a6d8b249e14afe0df
2014-06-23 15:41:58 +00:00
anusha-rayani-7 c1b7247ef0 Modified keystone endpoint-create default region
The default region is changed from regionOne
to RegionOne

Change-Id: I610174f7c4241ce7405f100e775fd03df676eeac
Closes-Bug: #1252299
2014-02-03 09:41:16 -06:00
Rick Hull 3f179e4391 fix unparseable JSON
- use only double quotes
- remove trailing commas for last element
- add trailing newline

Change-Id: I3f47a25cdac429d95319ca80c6622b9cb1460446
Closes-Bug: #1249117
2013-11-08 00:31:02 +00:00
Sean Winn 0331f8a58a Changed header from LLC to Foundation based on trademark policies
Fixes: Bug 1214176

Change-Id: Ie937081a53d377671b8b88f422642c8131002f88
2013-09-05 15:03:32 -05:00
Dirk Mueller 9741026404 Regenerate example PKI after change of defaults
In https://review.openstack.org/#/c/31374/ the PKI defaults
were changed but the example PKI not updated. Update it now.

Change-Id: Ie65f27ab586e05a3c43a589499c115b56e734e07
2013-07-09 18:25:28 +02:00
Dirk Mueller 7006798028 Raise key length defaults
Extend RSA keylength to 2048 bits by default,
as the previous default of 1024 bit is considered
weak since 12/31/2010.

Also unify the message_md to the openssl builtin default.

Fixes bug 1103002

Change-Id: I70e90b7696f8a56073c3d6bdc9ed5d30cfa3401f
2013-06-04 23:45:49 +02:00
Guang Yee fddacf7bce bug 1069945: generate certs for the tests in one place
and doc how to install signing certificate from an external CA

Change-Id: I92feb8eaeea617211ee7132480ac7a63bf0a1bf1
2012-11-05 12:27:14 -08:00
guang-yee 4f71ec9e5d Fixed bug 1068851. Refreshed new crypto for the SSL tests.
Change-Id: Ib37547923a9da347835a9b2c51deae6b954e1ead
2012-10-22 16:16:39 -04:00
Liem Nguyen f537a8259b blueprint 2-way-ssl
Implemented bp/2-way-ssl using eventlet-based SSL.

Change-Id: I5aeb622aded13b406e01c78a2d8c245543306180
2012-05-24 17:09:53 +00:00