From 3ee92ff6d2ff7ad67818787db15cbc73bab05b78 Mon Sep 17 00:00:00 2001 From: Graham Perrin Date: Sun, 8 Jan 2023 05:53:15 +0000 Subject: README: pkg, and URLs Primarily: add one of the pkg methods from . Whilst here: update the URL for the One-time Passwords section of the FreeBSD Handbook, and refine the URL for the manual page.--- README.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 64cd385..ecf8a22 100644 --- a/README.md +++ b/README.md @@ -5,12 +5,11 @@ RFC-2289. It requires no additional libraries. - ## General The main reason for writing this library was the need to login into my -FreeBSD servers using the [opiepasswd](https://www.freebsd.org/cgi/man.cgi?query=opiepasswd&sektion=1&manpath=freebsd-release-ports) -as described in [FreeBSD Handbook](https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/one-time-passwords.html). +FreeBSD servers using [opiepasswd(1)](https://www.freebsd.org/cgi/man.cgi?query=opiepasswd&sektion=1&manpath=FreeBSD) +as [described in the FreeBSD Handbook](https://docs.freebsd.org/en/books/handbook/security/#one-time-passwords). I decided to license the library under the [Simplified BSD License / 2-clause BSD license](https://github.com/blackm0re/pyotp2289/blob/master/LICENSE) and not under the @@ -18,7 +17,6 @@ I decided to license the library under the I hope that somebody will find it useful. - ## Installation ### pip (pypi) @@ -27,17 +25,21 @@ I hope that somebody will find it useful. pip install pyotp2289 ``` - ### FreeBSD *pyotp2289* is included in the official ports-tree. + ```bash + pkg install security/py-pyotp2289 + ``` + +– or: + ```bash cd /usr/ports/security/py-pyotp2289 make install clean ``` - ### Gentoo ```bash @@ -50,7 +52,6 @@ I hope that somebody will find it useful. emerge dev-python/pyotp2289 ``` - ## Overview of RFC-2289 RFC-2289 describes a one-time password authentication system (OTP): -- cgit v1.3