1
0
mirror of https://github.com/Yubico/yubikey-ksm.git synced 2024-12-11 09:24:14 +01:00
YubiKey Key Storage Module
Go to file
Mrten e2975808a5 Use prepared statement for query
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.
2013-09-27 12:12:08 +02:00
doc@182b5a78f9 Bump doc/. 2013-09-18 14:34:03 +02:00
.gitignore Added .gitignore with build artifacts. 2013-02-04 16:56:01 +01:00
.gitmodules Added doc submodule. 2012-12-18 13:51:05 +01:00
.htaccess Add. 2009-05-04 14:14:58 +00:00
COPYING Update copyright information. 2013-02-04 16:53:40 +01:00
Makefile Fix release rule. 2013-09-18 14:32:52 +02:00
NEWS Version 1.14. 2013-09-18 14:33:06 +02:00
README Improve README. Dist it. 2013-04-22 12:16:06 +02:00
ykksm-checksum Updated copyright headers. 2013-02-04 17:41:13 +01:00
ykksm-config.php Added missing default db type. 2013-01-28 15:10:59 +01:00
ykksm-db.sql Case insensitive. 2009-12-14 16:18:38 +00:00
ykksm-decrypt.php Use prepared statement for query 2013-09-27 12:12:08 +02:00
ykksm-export Updated copyright headers. 2013-02-04 17:41:13 +01:00
ykksm-gen-keys Update copyright information. 2013-02-04 16:53:40 +01:00
ykksm-import Updated copyright headers. 2013-02-04 17:41:13 +01:00
ykksm-utils.php Update copyright information. 2013-02-04 16:53:40 +01:00

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