aboutsummaryrefslogtreecommitdiff
path: root/src/vmod_basicauth.3
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2013-07-08 16:30:22 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2013-07-08 16:34:34 +0300
commit08a7915aaf08e9d2187fd3f26e0326673d4c8eb1 (patch)
tree7d9f02b59945ae7577e79c3cbfe5182b3a22e4b8 /src/vmod_basicauth.3
parent4e2b6995088963e287de5dcc507a5ab14a7134b1 (diff)
downloadvmod-basicauth-08a7915aaf08e9d2187fd3f26e0326673d4c8eb1.tar.gz
vmod-basicauth-08a7915aaf08e9d2187fd3f26e0326673d4c8eb1.tar.bz2
Implement SHA1 passwords.
* src/sha1.c: New file. * src/sha1.h: New file. * src/Makefile.am: Add new files. * src/vmod_basicauth.c (base64_decode): Fix bound checking. (sha1_match): New function. (match_tab): Add SHA1 method. * tests/test03.vtc: New test. * tests/Makefile.am: Add new file. * tests/htpasswd: Add SHA1 password. * README: Update. * src/vmod_basicauth.3: Update.
Diffstat (limited to 'src/vmod_basicauth.3')
-rw-r--r--src/vmod_basicauth.35
1 files changed, 3 insertions, 2 deletions
diff --git a/src/vmod_basicauth.3 b/src/vmod_basicauth.3
index cde7c2a..d7c8934 100644
--- a/src/vmod_basicauth.3
+++ b/src/vmod_basicauth.3
@@ -13,7 +13,7 @@
.\"
.\" You should have received a copy of the GNU General Public License
.\" along with libvmod_basicauth. If not, see <http://www.gnu.org/licenses/>.
-.TH VMOD_BASICAUTH 1 "July 7, 2013" "VMOD_BASICAUTH" "User Reference"
+.TH VMOD_BASICAUTH 1 "July 8, 2013" "VMOD_BASICAUTH" "User Reference"
.SH NAME
vmod_basicauth \- Basic HTTP authentication
.SH SYNOPSIS
@@ -26,9 +26,10 @@ created using the
.BR htpasswd (1)
command.
.PP
-Three kinds of password hashes are supported:
+Four kinds of password hashes are supported:
Apache MD5 (\fB$apr1$\fR),
.BR crypt (3),
+.BR SHA1 ,
and plaintext.
.SH FUNCTIONS
.SS match

Return to:

Send suggestions and report system problems to the System administrator.