keystone.tests.unit.token.test_fernet_provider.TestFernetKeyRotation(*args, **kwargs)[source]¶Bases: keystone.tests.unit.core.TestCase
assertUniqueRepositoryState()[source]¶Ensure that the current key repo state has not been seen before.
key_repository_signature¶Create a “thumbprint” of the current key repository.
Because key files are renamed, this produces a hash of the contents of the key files, ignoring their filenames.
The resulting signature can be used, for example, to ensure that you have a unique set of keys after you perform a key rotation (taking a static set of keys, and simply shuffling them, would fail such a test).
key_repository_size¶The number of keys in the key repository.
keys¶Key files converted to numbers.
keystone.tests.unit.token.test_fernet_provider.TestFernetTokenProvider(*args, **kwargs)[source]¶
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.