Search
j0ke.net Open Build Service
>
Projects
>
Apache
:
Modules
>
apache2-mod_authn_otp
> apache2-mod_authn_otp.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File apache2-mod_authn_otp.spec of Package apache2-mod_authn_otp
# $Id$ %define mod_name mod_authn_otp %define apxs /usr/sbin/apxs2 %define apache_libexecdir %(%{apxs} -q LIBEXECDIR) Name: apache2-%{mod_name} Version: 1.1.1 Release: 0 License: Apache License Summary: Apache module for one-time password authentication Group: Productivity/Networking/Web/Servers Source: http://mod-authn-otp.googlecode.com/files/%{mod_name}-%{version}.tar.gz URL: http://mod-authn-otp.googlecode.com/ BuildRoot: %{_tmppath}/%{name}-%{version}-root %if 0%{?suse_version} >= 1100 BuildRequires: libopenssl-devel openssl %else BuildRequires: openssl-devel %endif BuildRequires: apache2-devel %description mod_authn_otp is an Apache web server module for two-factor authentication using one-time passwords (OTP) generated via the HOTP/OATH algorithm defined in RFC 4226. This creates a simple way to protect a web site with one-time passwords, using any RFC 4226-compliant hardware or software token device. mod_authn_otp also supports the Mobile-OTP algorithm. mod_authn_otp supports both event and time based one-time passwords. It also supports "lingering" which allows the repeated re-use of a previously used one-time password up to a configurable maximum linger time. This allows one-time passwords to be used directly in HTTP authentication without forcing the user to enter a new one-time password for every page load. mod_authn_otp supports both basic and digest authentication, and will auto-synchronize with the user's token within a configurable maximum offset (auto-synchronization is not supported with digest authentication). mod_authn_otp is especially useful for setting up protected web sites that require more security than simple username/password authentication yet also don't require users to install special VPN software, and is compatible with software tokens that run on cell phones. %prep %setup -n %{mod_name}-%{version} %build %{configure} make %clean %{__rm} -rf %{buildroot} %install %{__install} -d %{buildroot}%{apache_libexecdir} DESTDIR=%{buildroot} %{makeinstall} %files %defattr(-,root,root,-) %{apache_libexecdir}/%{mod_name}.so %{_bindir}/otptool %{_mandir}/man1/otptool.1.gz %doc CHANGES LICENSE README users.sample %changelog