mirror of
https://github.com/Yubico/yubikey-ksm.git
synced 2024-12-11 09:24:14 +01:00
YubiKey Key Storage Module
e2975808a5
This commit uses a prepared statement for the querying of the id. It's a bit cleaner and avoids the use of addslashes(). PDO does the preparing of the statements for databases that do not support it, so that should be OK. This commit changes the query to have an or for active=1 and active=true because sqlite does not support active=1 and returns not results. This commit tests if $sth->fetch() succeeded before using the result as as array to prevent notices. |
||
---|---|---|
doc@182b5a78f9 | ||
.gitignore | ||
.gitmodules | ||
.htaccess | ||
COPYING | ||
Makefile | ||
NEWS | ||
README | ||
ykksm-checksum | ||
ykksm-config.php | ||
ykksm-db.sql | ||
ykksm-decrypt.php | ||
ykksm-export | ||
ykksm-gen-keys | ||
ykksm-import | ||
ykksm-utils.php |
yubikey-ksm =========== The YubiKey Key Storage Module (YK-KSM) provides a AES key storage facility for use with a YubiKey validation server. The YK-KSM is intended to be run on a locked-down server. This separation allows third parties to keep tight control of the AES keys for their YubiKeys, but at the same time allow external validation servers (e.g., Yubico's) to validate OTPs from these YubiKeys. Releases are available from: http://yubico.github.io/yubikey-ksm/releases.html The YK-KSM was designed to work with the YubiKey validation server: http://yubico.github.io/yubikey-val/ Documentation is in doc/. The documentation is also available online at: http://github.com/Yubico/yubikey-ksm/wiki Development ----------- To create a tarball you must have a recent versions of "help2man" and "git2cl". If you've checked out the source tree and the doc/ dir is empty, do $ git submodule init $ git submodule update