-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More binary rel paths and helper scripts
- Loading branch information
Showing
9 changed files
with
79 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,6 @@ bin | |
releases | ||
./leaps | ||
static/share_dir/ace | ||
certificate.key | ||
certificate.cert | ||
.htpasswd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule docs
updated
from 31a330 to 3d7f3e
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
|
||
# This is just a script for generating a self signed HTTPs certificate | ||
|
||
command -v openssl >/dev/null 2>&1 || { echo >&2 "This script requires openssl. Aborting."; exit 1; } | ||
|
||
openssl req -new > tmp.csr | ||
openssl rsa -in privkey.pem -out certificate.key | ||
openssl x509 -in tmp.csr -out certificate.cert -req -signkey certificate.key | ||
|
||
# Clean up | ||
|
||
rm -f tmp.csr privkey.pem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
|
||
# This is just a script for generating a .htpasswd file with SHA hashes, or adding accounts to an existing file | ||
|
||
if [ -z "$1" ]; then | ||
echo "usage: $0 <name-of-user>" | ||
exit 1 | ||
fi | ||
|
||
command -v htpasswd >/dev/null 2>&1 || { echo >&2 "This script requires htpasswd (sudo apt-get install apache2-utils). Aborting."; exit 1; } | ||
|
||
if [ -f .htpasswd ]; then | ||
htpasswd -s .htpasswd $1 | ||
else | ||
htpasswd -cs .htpasswd $1 | ||
fi |