config

OpenBSD system configuration
git clone git://jacobedwards.org/config
Log | Files | Refs | README

commit d81fe33f424d1215f26dd1d55c0e62c312e7f53c
parent 425e2f8efe5d7f40ac5aced6c3fc076cf3f6a893
Author: Jacob R. Edwards <n/a>
Date:   Wed,  2 Mar 2022 14:09:57 -0800

Add throwaway password generating script

Diffstat:
Alocal/bin/bin/pgen | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/local/bin/bin/pgen b/local/bin/bin/pgen @@ -0,0 +1,7 @@ +#!/bin/sh +# Copyright 2022 Jacob R. Edwards +# Generate random base64 output +# +# Useful for generating throwaway passwords. + +openssl rand -base64 "${1:-64}" | tr -d '\n'