Update 2023-05-02 20:23 OpenBSD/amd64-x13

This commit is contained in:
c0dev0id
2023-05-02 20:23:25 +02:00
parent 0f14587cf0
commit e774c1aea2
3 changed files with 15 additions and 9 deletions

View File

@@ -1,17 +1,18 @@
#/bin/sh
if [ -z "$2" ]; then
echo "Usage: pass-add Folder/page.de username"
exit 2
fi
echo -n "Internet/...: "
read
_file="Internet/$REPLY"
echo -n "Username: "
read
_login="$REPLY"
_file="${1}"
_login="${2}"
_password="$(pwgen -syn -r "{}'\\§()°\`|[]\";" 16 1)"
{
echo "$_password";
echo "login: $_login";
echo "Username: $_login";
} | pass insert -m "${_file}"
echo "======="