charm-keystone/unit_tests
Frode Nordahl 1e991dc28b
Add initial support for Fernet tokens
Starting OpenStack Rocky the currently used `uuid` token format
is no longer supported and we need to change to use `fernet` tokens.

This change provides basic functionalty to initialize fernet token
repository and distribute keys to non-leader units.

A configuration option is also added allowing change of token format
in a controlled manner prior to upgrading to OpenStack Rocky.

Further work is required to implement key rotation, actions etc. and
these topics will be addressed in separate commits.

The commit also fixes a instance of missing release check for writing
of `policy.json`, and a few places where writing of `policy.json`
previously was omitted.

Change-Id: I1d0ff22a5f091b02f5700412745572c246103e9e
2018-07-25 15:23:47 +02:00
..
__init__.py Re-license charm as Apache-2.0 2016-07-03 16:39:47 +00:00
test_actions.py Snap install OpenStack in Charms 2017-09-28 17:34:11 +00:00
test_actions_openstack_upgrade.py Remove deploy from source support 2018-01-12 10:42:25 +00:00
test_keystone_contexts.py Remove support for PKI tokens and legacy charm managed certificates 2018-06-12 17:23:38 +02:00
test_keystone_hooks.py Add initial support for Fernet tokens 2018-07-25 15:23:47 +02:00
test_keystone_utils.py Add initial support for Fernet tokens 2018-07-25 15:23:47 +02:00
test_utils.py Fix dangling file open() commands with no corresponding close 2017-08-18 10:40:26 +01:00