From f75eadfe20aecda45a13b8ad41ac30116f371148 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Mon, 28 Aug 2023 01:16:00 +0300 Subject: Add a post for ‘mkpass’ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/prj/mkpass/index.html | 93 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 src/prj/mkpass/index.html (limited to 'src/prj/mkpass/index.html') diff --git a/src/prj/mkpass/index.html b/src/prj/mkpass/index.html new file mode 100644 index 0000000..546e5f1 --- /dev/null +++ b/src/prj/mkpass/index.html @@ -0,0 +1,93 @@ + + + + m4_include(head.html) + + +
+
+

Easy Password Generation

+ m4_include(nav.html) +
+ +
+
+

Why does JavaScript suck? The answer is simple: history. JavaScript + was created by a really smart guy called Brendan Eich over a period of + a week or so. He did it because Microsoft was largely perceived as + evil, and his aim was to create a programming platform in the Netscape + navigator. That way, the browser would run everywhere, and the OS + wouldn't matter as much. HAHA! Down with Microsoft. You can see how + well that worked out.

+
+
+ Sahil Malik +
+
+
+ +
+

+ + You can find the mkpass git repository over at + sourcehut + or GitHub. + +

+ +

Table of Contents

+ + + +

Prologue

+

+ Password generators are incredibly useful for those who don’t use the + same password everywhere. The issue is that everyone uses the same + password everywhere. Hopefully when people see how easy password + generation can be, that’ll change; there really is no excuse to not use + different passwords these days. mkpass aims to be the + absolute simplest password generator possible while still providing the + functionality you need.ls +

+ +

+ Two factor authentication is also something you should be using — and + something that is very easy to manage — and something that I will be + posting about shortly™. +

+ +

Basic Usage

+

+ The most basic usage of mkpass is to just + call mkpass. By default this will generate a 64-character + password made up of random printable characters. If you need to use + specific characters (for example, maybe you can only use alphanumeric + characters) then you can simply specify a + tr(1) style range: +

+ +
+
m4_fmt_code(basic-usage.sh.html)
+
+ +

+ You can also specify the length of the password using + the -l flag: +

+ +
+
m4_fmt_code(length-flag.sh.html)
+
+ + And that ladies and gentlemen, is the entire program. A nice minimal tool + that does one thing and one thing only, while integrating nicely with the + UNIX environment. This is (in my opinion), an example of well-designed + software. +
+ + -- cgit v1.2.3