recognize password limits
This commit is contained in:
parent
b86c84df60
commit
febce132d8
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user