| 1 |
# OATH Toolkit README |
| 2 |
|
| 3 |
OATH Toolkit provide components to build one-time password |
| 4 |
authentication systems. It contains shared C libraries, command line |
| 5 |
tools and a PAM module. Supported technologies include the |
| 6 |
event-based HOTP algorithm (RFC 4226), the time-based TOTP algorithm |
| 7 |
(RFC 6238), and Portable Symmetric Key Container (PSKC, RFC 6030) to |
| 8 |
manage secret key data. OATH stands for Open AuTHentication, which is |
| 9 |
the organization that specify the algorithms. |
| 10 |
|
| 11 |
The following components are included: |
| 12 |
|
| 13 |
* `liboath`: A shared and static C library for OATH handling. |
| 14 |
* `oathtool`: A command line tool for generating and validating OTPs. |
| 15 |
* `pam_oath`: A PAM module for pluggable login authentication for OATH. |
| 16 |
* `libpskc`: A shared and static C library for PSKC handling. |
| 17 |
* `pskctool`: A command line tool for manipulating PSKC data. |
| 18 |
|
| 19 |
For updates on the project please visit our web sites: |
| 20 |
|
| 21 |
* [OATH Toolkit webpage](https://oath-toolkit.codeberg.page/) |
| 22 |
* [Codeberg project page](https://codeberg.org/oath-toolkit/oath-toolkit) |
| 23 |
|
| 24 |
# License |
| 25 |
|
| 26 |
OATH Toolkit is licensed under the GPLv3+ license, see the file |
| 27 |
[COPYING](COPYING). |
| 28 |
|
| 29 |
Liboath and libpskc are available under the LGPLv2.1+, see |
| 30 |
[COPYING.LESSERv2](COPYING.LESSERv2), although you may use them under |
| 31 |
the GPLv3+ license if you prefer. |
| 32 |
|
| 33 |
Many files in the official release tarball are automatically generated |
| 34 |
by various tools, for example Makefile.in by automake and |
| 35 |
documentation by GTK-DOC. For authoritative licensing information, |
| 36 |
refer to information in each file. |
| 37 |
|
| 38 |
For any copyright year range specified as YYYY-ZZZZ in this package |
| 39 |
note that the range specifies every single year in that closed |
| 40 |
interval. |
| 41 |
|
| 42 |
# Building |
| 43 |
|
| 44 |
The file [INSTALL](INSTALL) contains generic installation and |
| 45 |
configuration instructions, however briefly the typical process is: |
| 46 |
|
| 47 |
``` |
| 48 |
./configure |
| 49 |
make check install |
| 50 |
``` |
| 51 |
|
| 52 |
If any of the self-tests fail, please report it as a bug. |
| 53 |
|
| 54 |
# Contact |
| 55 |
|
| 56 |
For e-mail discussions related the OATH Toolkit, please send e-mail to |
| 57 |
[email protected] after subscribing to the [mailing |
| 58 |
list](https://lists.nongnu.org/mailman/listinfo/oath-toolkit-help), |
| 59 |
where you can find an archive of earlier posts. |
| 60 |
|
| 61 |
# Contributing |
| 62 |
|
| 63 |
To report a problem please open an issue on the OATH Toolkit issue |
| 64 |
tracker: https://codeberg.org/oath-toolkit/oath-toolkit/issues |
| 65 |
|
| 66 |
To build from version controlled sources, and other information for |
| 67 |
developers, read the file [CONTRIBUTING.md](CONTRIBUTING.md). |
| 68 |
|
| 69 |
``` |
| 70 |
Copyright (C) 2009-2026 Simon Josefsson |
| 71 |
|
| 72 |
This file is free software: you can redistribute it and/or modify it |
| 73 |
under the terms of the GNU General Public License as published by the |
| 74 |
Free Software Foundation, either version 3 of the License, or (at your |
| 75 |
option) any later version. |
| 76 |
|
| 77 |
This file is distributed in the hope that it will be useful, but |
| 78 |
WITHOUT ANY WARRANTY; without even the implied warranty of |
| 79 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 80 |
General Public License for more details. |
| 81 |
|
| 82 |
You should have received a copy of the GNU General Public License |
| 83 |
along with this file. If not, see <http://www.gnu.org/licenses/>. |
| 84 |
``` |