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