From 7a2a1a6953192727b842a7962fb757e24f21a541 Mon Sep 17 00:00:00 2001 From: Stefan Kreutz Date: Tue, 12 Oct 2021 15:11:03 +0200 Subject: Add jotpass release post --- BACKLOG.md | 2 +- files/jotpass-0.1.0.tar.gz | Bin 0 -> 2529 bytes files/jotpass.1-0.1.0.html | 126 ++++++++++++++++++++++++++++ posts/readable-random-passwords-with-jot.md | 26 ++++++ 4 files changed, 153 insertions(+), 1 deletion(-) create mode 100644 files/jotpass-0.1.0.tar.gz create mode 100644 files/jotpass.1-0.1.0.html create mode 100644 posts/readable-random-passwords-with-jot.md diff --git a/BACKLOG.md b/BACKLOG.md index 5b8bed1..88136bd 100644 --- a/BACKLOG.md +++ b/BACKLOG.md @@ -38,6 +38,7 @@ ## Blog +* Upgrade temp-postgres * Git checkout using fzf (git-co) * Portable sftp server/sync using config-less rclone * shellpass, shellpass-ssh, shellpass-fzf, keybindings for cwm and tmux @@ -54,7 +55,6 @@ * Filter Nix Packages by platform (e.g. Chromium on macOS) * Backup with zfs, mbuffer, lz4, and cron * Inline HTML images with this simple script -* Arch Linux on MacBook Pro * Noscript photo gallery with pure CSS carousel, responsive images and deep links * SQLite hexastore vs. Neo4j * Setup a FreeBSD sftp server with basic email notifications from the command-line using bash, ssh, and the DigitalOcean command-line application diff --git a/files/jotpass-0.1.0.tar.gz b/files/jotpass-0.1.0.tar.gz new file mode 100644 index 0000000..32cb339 Binary files /dev/null and b/files/jotpass-0.1.0.tar.gz differ diff --git a/files/jotpass.1-0.1.0.html b/files/jotpass.1-0.1.0.html new file mode 100644 index 0000000..75ab8b4 --- /dev/null +++ b/files/jotpass.1-0.1.0.html @@ -0,0 +1,126 @@ + + + + + + + + JOTPASS(1) + + + + + + + + +
JOTPASS(1)General Commands ManualJOTPASS(1)
+
+
+

+

jotpassPrint + readable random passwords

+
+
+

+ + + + + +
jotpass[-v] [-a + alphabet] [-g + groups] [-w + width] [-s + separator]
+
+
+

+

The jotpass utility facilitates generating + random passwords suitable for handwriting.

+

The options are as follows:

+
+
+
Enable verbose mode. Causes jotpass to print the + entropy of the generated password to standard error.
+
+ alphabet
+
Draw characters from the given alphabet. Defaults to + alphanumeric ASCII characters, excluding 01klnuvIO to improve + legibility.
+
+ groups
+
Set the number of groups. Defaults to 12.
+
+ width
+
Set the width of the groups. Defaults to 4 + characters.
+
+ separator
+
Set the group separator character. Defaults to dash + (-).
+
+
+
+

+

The jotpass utility exits 0 on + success, and >0 if an error occurs.

+
+
+

+

Print a random password:

+
+
$ jotpass
+P6ji-4pRZ-Ze7m-q7Bp-Vpye-HCjr-hygF-6TwQ-oRJT-yx6p-SyMB-AwUm
+
+

Specify a custom format:

+
+
$ jotpass -a 0123456789abcdef -g 8 -w 2 -s ' ' -v
+49 1b 6e b0 e2 fc 16 b1
+The generated password has an entropy of 64 bits.
+
+
+
+

+

jot(1), arc4random(3)

+
+
+

+

Stefan Kreutz + <mail@skreutz.com>

+
+
+ + + + + +
October 12, 2021OpenBSD 7.0
+ + diff --git a/posts/readable-random-passwords-with-jot.md b/posts/readable-random-passwords-with-jot.md new file mode 100644 index 0000000..20bfb44 --- /dev/null +++ b/posts/readable-random-passwords-with-jot.md @@ -0,0 +1,26 @@ +--- +title: "Readable random passwords with jot" +description: "A BSD utility to generate strong passwords suitable for handwriting." +published: 2021-10-12 +--- + +My handwriting is hardly readable. +Without the context of words, several pairs of characters are almost indistguishable, e.g., *O* and *0*, *u* and *n*, or *1* and *l*. +Yet, I sometimes need to come up with and write down strong passwords to be deciphered by my future self, or some unlucky other person. +That's why I created a small script to generate random passwords specifically intended for handwriting. + +I called the script `jotpass` because it wraps the `jot(1)` utility shipped with [OpenBSD](https://man.openbsd.org/OpenBSD-6.9/jot), [NetBSD](https://man.netbsd.org/NetBSD-9.2-STABLE/jot.1), [FreeBSD](https://www.freebsd.org/cgi/man.cgi?query=jot&apropos=0&sektion=0&manpath=FreeBSD+13.0-RELEASE&arch=default&format=html), and others. +By default, it prints a random sequence of 12 dash-separated groups of four unambiguous ASCII letters and digits each. +However, you can change the alphabet, the number and width of groups, and the separator as described in the [man page](/files/jotpass.1-0.1.0.html). +For example: + + $ jotpass + P6ji-4pRZ-Ze7m-q7Bp-Vpye-HCjr-hygF-6TwQ-oRJT-yx6p-SyMB-AwUm + + $ jotpass -a 0123456789abcdef -g 8 -w 2 -s ' ' -v + 49 1b 6e b0 e2 fc 16 b1 + The generated password has an entropy of 64 bits. + +You can download a standard release tarball [here](/files/jotpass-0.1.0.tar.gz). +The script targets OpenBSD, but it should work on other BSD variants alike. +Feel free to drop me a mail if you have any feedback. -- cgit v1.2.3