diff --git a/en/recovery-challenge.cgi b/en/recovery-challenge.cgi index fa17af7..041dde1 100755 --- a/en/recovery-challenge.cgi +++ b/en/recovery-challenge.cgi @@ -106,7 +106,7 @@ case "$arg_method" in ;; esac -sedcmd=" -e 's/USERNAME/$arg_username/' -e 's/CHALLENGE/$(<$runtime_dir/$arg_username)/' -e 's/KEYID/$keyid/'" +sedcmd=" -e 's/USERNAME/$arg_username/' -e 's/CHALLENGE/$(<$runtime_dir/$arg_username)/' -e 's/KEYID/$keyid/' -e 's/NAV/$(php $(dirname $0)/nav.php)/' -e 's/FOOTER/$($(dirname $0)/footer.cgi)/'" sedcmd="$sedcmd $(if [[ $nokey == 1 ]]; then printf '%s' '-e "s/NOKEY/This user has no .pgp.asc file/"' else diff --git a/en/recovery-scripts/pgp/default.html b/en/recovery-scripts/pgp/default.html index 4c32e02..a09a7e7 100644 --- a/en/recovery-scripts/pgp/default.html +++ b/en/recovery-scripts/pgp/default.html @@ -9,7 +9,7 @@ PGP-based Account Recovery | ~vern - + NAV

PGP-based Account Recovery

Fill out this form, and follow the steps given.

@@ -20,6 +20,6 @@
- + FOOTER diff --git a/en/recovery-scripts/pgp/submit.html b/en/recovery-scripts/pgp/submit.html index 49c042c..4c3bb4a 100644 --- a/en/recovery-scripts/pgp/submit.html +++ b/en/recovery-scripts/pgp/submit.html @@ -9,7 +9,7 @@ PGP-based Account Recovery | ~vern - + NAV

PGP-based Account Recovery

Generate your signature by going into a terminal and running the following:

echo 'CHALLENGE' | gpg -a --detach-sig --default-key KEYID
@@ -27,6 +27,6 @@
- + FOOTER diff --git a/en/recovery-scripts/pgp/success.html b/en/recovery-scripts/pgp/success.html index cbe4fe2..5db60cc 100644 --- a/en/recovery-scripts/pgp/success.html +++ b/en/recovery-scripts/pgp/success.html @@ -10,10 +10,10 @@ Success | ~vern - + NAV

PGP-based Account Recovery

Your new key has successfully been added.

You will be redirected back home in 5 seconds.

- + FOOTER