This repository has been archived on 2020-09-24. You can view files and clone it, but cannot push or open issues or pull requests.
Files
FreeNAS-Network-Unlock/config.py
2019-12-25 18:37:28 -05:00

15 lines
719 B
Python

#!/usr/bin/env python
# FQDN for the host containing the luks volume with the recovery keys, can use IP too
KEY_HOST = 'pi.local'
# Username to use to login to the key host
KEY_HOST_USER = 'root'
# Location of the luks volume file
LUKS_VOLUME = '/root/secure.luks'
# Root password for the system, api is only able to use basic auth with the root account
FREENAS_ROOT_PASSWORD = 'my super secret password'
# path to the CA certificate to verify the ssl cert on FreeNAS. If you don't wish to verify, make this False
CA_CERT_PATH = ''
# pool names, this makes things easy when looking for the keys in the Luks volume
POOL_NAMES = {'POOL_NAME','POOL_NAME2'}
# Luks encryption password
LUKS_PASSWORD = "<PUT PASSWORD HERE>"