Merge "Mock key manager takes configuration as an arg"
Jenkins authored 8 years ago
Gerrit Code Review committed 8 years ago
52 | 52 |
This key manager is not suitable for use in production deployments.
|
53 | 53 |
"""
|
54 | 54 |
|
55 | |
def __init__(self):
|
|
55 |
def __init__(self, configuration=None):
|
|
56 |
self.conf = configuration
|
56 | 57 |
self.keys = {}
|
57 | 58 |
|
58 | 59 |
def _generate_hex_key(self, key_length):
|