Merge pull request #46639 from terminalmage/nacl-default-path

Use the correct path for nacl certificates in Windows
This commit is contained in:
Nicole Thomas 2018-03-26 15:20:09 -04:00 committed by GitHub
commit dd52368f90
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -185,9 +185,9 @@ def _get_config(**kwargs):
config = {
'box_type': 'sealedbox',
'sk': None,
'sk_file': os.path.join(__opts__['pki_dir'], 'master/nacl'),
'sk_file': os.path.join(__opts__['pki_dir'], 'master', 'nacl'),
'pk': None,
'pk_file': os.path.join(__opts__['pki_dir'], 'master/nacl.pub'),
'pk_file': os.path.join(__opts__['pki_dir'], 'master', 'nacl.pub'),
}
config_key = '{0}.config'.format(__virtualname__)
try: