---
name: "ykksm-checksum"
section: "1"
platform: "linux"
package: "yubikey-ksm"
version: "1.15-6"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/ykksm-checksum"
---

# ykksm-checksum(1)

Print checksum of important database fields. Useful for quickly determining whether several KSMs are in sync.

## NAME

ykksm-checksum - Print checksum of important database fields.  Useful for quickly determining whether several KSMs are in sync.

## SYNOPSIS

**ykksm-checksum** \[*--verbose*\] \[*--help*\] \[*--database DBI*\] \[*--db-user USER*\] \[*--db-passwd PASSWD*\]

## DESCRIPTION

Print checksum of important database fields.  Useful for quickly determining whether several KSMs are in sync.

**--database** DBI: Database identifier, see http://dbi.perl.org/

-

  defaults to a MySQL database ykksm on localhost, i.e., dbi:mysql:ykksm.  For PostgreSQL on the local host you can use 'DBI:Pg:dbname=ykksm;host=127.0.0.1'.

**--db-user** USER: Database username to use, defaults to empty string.

**--db-passwd** PASSWD: Database password to use, defaults to empty string.

Usage example:

-

  ./ykksm-checksum **--database** dbi:mysql:ykksm **--db-user** user **--db-passwd** pencil
