YubiServe is a lightweight Validation Server supporting both OATH/HOTP and Yubico Yubikey implementations, written in Python that uses an SQLite database or, optionally, a MySQL database. It has an integrated threaded webserver, with HTTPS/SSL support, compatible with the Yubico validation protocol 2.0 including HMAC SHA-1 signatures to provide for authentication of the server.
15 lines
262 B
Bash
15 lines
262 B
Bash
#!/bin/sh
|
|
#
|
|
# $OpenBSD: yubiserve.rc,v 1.1.1.1 2012/07/18 08:25:07 sthen Exp $
|
|
|
|
daemon="${TRUEPREFIX}/sbin/yubiserve"
|
|
daemon_user="_yubiserve"
|
|
|
|
. /etc/rc.d/rc.subr
|
|
|
|
rc_bg=YES
|
|
rc_reload=NO
|
|
pexp="${MODPY_BIN} ${daemon}${daemon_flags:+ ${daemon_flags}}"
|
|
|
|
rc_cmd $1
|