sks(8) | SKS OpenPGP Key server | sks(8) |
SKS - Synchronizing Key Server
sks [options] -debug
SKS is a OpenPGP keyserver whose goal is to provide easy to deploy, decentralized, and highly reliable synchronization. That means that a key submitted to one SKS server will quickly be distributed to all key servers, and even wildly out-of-date servers, or servers that experience spotty connectivity, can fully synchronize with rest of the system.
The design of SKS is deliberately simple. The server consists of two single-threaded processes. The first, "sks db", fulfills the normal jobs associated with a public key server, such as answering web requests. The only special functionality of "sks db" is that it keeps a log summarizing the changes to the key database. "sks recon" does all the work with respect to reconciling hosts databases. "sks recon" keeps track of specialized summary information about the database, and can use that information to efficiently determine the differences between its database and that of another host.
Highly efficient and reliable reconciliation algorithm
Follows RFC2440 and RFC2440bis carefully - unlike PKS, SKS supports new and old style packets, photoID packets, multiple subkeys, and pretty much everything allowed by the RFCs.
Fully compatible with PKS system - can both send and receive syncs from PKS servers, ensuring seamless connectivity.
Simple configuration: each host just needs a (partial) list of the other participating key servers. Gossip is used to distribute information without putting a heavy load an any one host.
Supports HKP/web-based querying, and soon-to-be-standard machine readable indices
SKS binary command options are as follows:
Initiates database server.
You won't need most of the options below for normal operation. These options can be given in basedir/sksconf or as command line option for the sks binary.
Number of bits defining a bin.
Number of keys to drop at random when synchronizing.
Number of keydump files to load at once.
Displays list of options.
Information about important files located in your SKS basedir.
keyserver.ahost.org 11370 # Comments are allowed keyserver.foo.org 11370 # Another host with default ports
membership_reload_interval: 1 initial_stat: hostname: keyserver.example.com from_addr: pgp-public-keys@keyserver.example.com
PATH=/path/of/sks/exectuables :0 * ^Subject: incremental | /path/of/sks_add_mail /path/to/sks/directory
pgp-public-keys: "|/path/of/sks_add_mail /path/to/sks/directory"
The SKS website is located at https://github.com/SKS-Keyserver/sks-keyserver.
The first draft was written by Thomas Sjogren <thomas@northernsecurity.net>.
2022-10-16 | 0.1 |