Private
Public Access
1
0

Basic authentication support

This commit is contained in:
James Magahern
2019-01-23 20:26:35 -08:00
parent e6314b0f80
commit de852a926d
5 changed files with 133 additions and 3 deletions

View File

@@ -40,4 +40,14 @@ If you want to run with SSL, you have to generate a self-signed certificate, and
### Start kordophone with the SSL options and provide the p12
`kordophoned -s -c certificate.p12`
## Authentication
Basic Authentication is also optional, but requires SSL to be enabled as well. To configure basic authentication, create a file containing your username and password on two separate lines encrypted with your GPG key.
`echo "username\npassword" > password.txt"`
`gpg -e -r (your email) -o password.asc password.txt`
Then run kordophoned with the following option
`kordophone -s -c certificate.p12 -a password.asc`
You may need to unlock your GPG keyring (via gpg-agent) when running kordophoned the first time.