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 #!/bin/sh
# If you make a symlink from dmzadmin/credentials to your password # If you want to add these passwords to the `pass` program, you can
# store, you can search through those passwords like any other. # symlink all the passwords which you can open, then open the
# Or, you can search through those passwords even faster with this script. # passwords with a script like this.
pass_store=~/.password-store 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(){ sanity_check(){
command -v $1 >/dev/null || ( command -v $1 >/dev/null || (
echo "You must install $1" echo "You must install $1"