Synopsis

u2fval [options] command

Description

The Yubico U2F Validation Server (u2fval) is a server that provides U2F registration and authentication through a simple JSON based REST API.

Options

u2fval has the following options:

-h, --help

Shows a list of available sub commands and arguments.

--config CONFIG

Specify an alternate configuration file to use.

Commands

u2fval supports multiple commands, each with its own options, in addition to the global options:

u2fval run [OPTIONS]

Runs the standalone server.
-i, --interface INTERFACE

Network interface to bind to.

-p, --port PORT

TCP port to bind to.

-c, --client CLIENT

Run the server in single client mode using CLIENT.

-d, --debug

Run the server in debug mode using HTTP basic authentication with no password to specify client.

u2fval client list

Lists all clients.

u2fval client create NAME APPID [FACETS]…

Creates a new client, with the given AppID and valid facets.
NAME

The name to give the client.

APPID

The AppID of the client.

FACETS

One or more valid facets for the client. If no facet is given, APPID is used as the only valid facet. This requires the APPID itself to be a valid web origin.

u2fval client show NAME

Shows information about a client.
NAME

The name of the client to show.

u2fval client update NAME APPID [FACETS]…

Updates data for a client.
NAME

The name of the client to change.

APPID

The AppID to set.

FACETS

One or more valid facets for the client. If no facet is given, APPID is used as the only valid facet. This requires the APPID itself to be a valid web origin.

u2fval client delete NAME

Deletes a client.
NAME

The name of the client to delete.

u2fval db init

Initializes the database, creating as needed tables.

Bugs

Report bugs in the issue tracker (https://github.com/Yubico/u2fval/issues)