Move AdGuard config to git-crypted version
This commit is contained in:
parent
754f0555c4
commit
496b3c185d
5 changed files with 4 additions and 186 deletions
|
@ -1,12 +1,2 @@
|
|||
from getpass import getpass
|
||||
|
||||
import privy
|
||||
|
||||
def get_secret(adguard_password):
|
||||
password = getpass('Please provide the secret password: ')
|
||||
return privy.peek(adguard_password, password)
|
||||
|
||||
b_app_password = get_secret(b'1$2$LlFa8G5qg1DQqboBzagJywm5bayJ5CRDbVOeXrTPPKU=$Z0FBQUFBQmdDQlotZmYtd183cEE1MHpsbl9IaWlLNUlOdXBkMzhsdzQ0SUNhNXhiMDEwbUJfeUJIT2ctM1JFWm5oMW9IN1pocVFDSDIxN0dSSVRaSzdJdzJNQURPM3hyYVlWOUwxR09aOU9ubU1GbjNvNS1NdFNkWFhsS2tjcTNES0ZRYURjUkhWRGVpQkVuMmo0NTdrck9VTWRfaVVHUmZ3PT0=')
|
||||
app_password = b_app_password.decode('utf-8')
|
||||
app_user = 'adguard'
|
||||
app_dir = '/home/adguard'
|
||||
|
|
Reference in a new issue