recognize password limits

This commit is contained in:
Malin Freeborn 2024-05-21 22:14:08 +02:00
parent b86c84df60
commit febce132d8
Signed by: andonome
GPG Key ID: 52295D2377F4D70F

View File

@ -1,11 +1,21 @@
#!/bin/sh
# If you make a symlink from dmzadmin/credentials to your password
# store, you can search through those passwords like any other.
# Or, you can search through those passwords even faster with this script.
# If you want to add these passwords to the `pass` program, you can
# symlink all the passwords which you can open, then open the
# passwords with a script like this.
pass_store=~/.password-store
# THIS_PLACE="$PWD"
# mkdir $pass_store/dmz
# cd !$
# find "$THIS_PLACE" -type f -name "*.gpg" | \
# sed "s#/home/ghost#../..#" | \
# while read -r line; do
# gpg -d "$line" && ln -sf "$line" .
# done
sanity_check(){
command -v $1 >/dev/null || (
echo "You must install $1"