Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
3591caa53e | |||
bb65906290 | |||
|
f9f9ebc7dc | ||
|
97ceafa778 | ||
|
69983554a7 | ||
|
4e23de6712 |
37
README.md
37
README.md
@ -4,23 +4,38 @@ pwsh-vault - Basic Password Manager written in Bash+Dmenu
|
||||
### Dependencies:
|
||||
|
||||
* **Arch Linux:**
|
||||
* `sudo pacman -S git gcc make coreutils sed expat zip unzip dialog freetype2 libxinerama brotli fontconfig libbsd libmd libpng libx11 libxau libxdmcp libxft libxrender`
|
||||
|
||||
```shell
|
||||
$ sudo pacman -S git gcc make coreutils sed expat zip unzip dialog freetype2 libxinerama \
|
||||
brotli fontconfig libbsd libmd libpng libx11 libxau libxdmcp libxft libxrender
|
||||
````
|
||||
|
||||
* **Debian/Ubuntu:**
|
||||
* `sudo apt install git gcc make coreutils sed zip unzip dialog libexpat1-dev libfreetype-dev libxinerama-dev x11-utils libxft-dev libfreetype6-dev libfontconfig1-dev libpng-dev libbrotli-dev libxrender-dev libmd-dev libxau-dev libbsd-dev libxdmcp-dev`
|
||||
|
||||
```shell
|
||||
$ sudo apt install git gcc make coreutils sed zip unzip dialog libexpat1-dev libmd-dev \
|
||||
libfreetype-dev libxinerama-dev x11-utils libxft-dev libfreetype6-dev libxau-dev \
|
||||
libfontconfig1-dev libpng-dev libbrotli-dev libxrender-dev libbsd-dev libxdmcp-dev
|
||||
````
|
||||
|
||||
* **Windows Cygwin ([apt-cyg](https://github.com/transcode-open/apt-cyg)):**
|
||||
* `apt-cyg install git make coreutils sed zip unzip dialog`
|
||||
|
||||
```shell
|
||||
$ apt-cyg install git make coreutils sed zip unzip dialog
|
||||
````
|
||||
|
||||
* **Android ([Termux](https://termux.com/)):**
|
||||
* `pkg install git make coreutils sed zip unzip dialog`
|
||||
|
||||
```shell
|
||||
$ pkg install git make coreutils sed zip unzip dialog
|
||||
````
|
||||
|
||||
### Build and install (Unix/Linux Posix):
|
||||
|
||||
* Open terminal and run the following commands:
|
||||
|
||||
```shell
|
||||
$ git clone https://github.com/q3aql/pwsh-vault.git
|
||||
$ git clone https://git.q3aql.dev/q3aql/pwsh-vault.git
|
||||
$ cd pwsh-vault
|
||||
$ sudo make install clean
|
||||
````
|
||||
@ -30,7 +45,7 @@ pwsh-vault - Basic Password Manager written in Bash+Dmenu
|
||||
* Open terminal and run the following commands:
|
||||
|
||||
```shell
|
||||
$ git clone https://github.com/q3aql/pwsh-vault.git
|
||||
$ git clone https://git.q3aql.dev/q3aql/pwsh-vault.git
|
||||
$ cd pwsh-vault
|
||||
$ make cygwin
|
||||
````
|
||||
@ -40,7 +55,7 @@ pwsh-vault - Basic Password Manager written in Bash+Dmenu
|
||||
* Open terminal and run the following commands:
|
||||
|
||||
```shell
|
||||
$ git clone https://github.com/q3aql/pwsh-vault.git
|
||||
$ git clone https://git.q3aql.dev/q3aql/pwsh-vault.git
|
||||
$ cd pwsh-vault
|
||||
$ make termux
|
||||
````
|
||||
@ -51,7 +66,7 @@ pwsh-vault - Basic Password Manager written in Bash+Dmenu
|
||||
pwsh-vault
|
||||
```
|
||||
|
||||
<img src="examples/pwsh-vault.png" />
|
||||
<img src="https://git.q3aql.dev/q3aql/pwsh-vault/raw/branch/master/examples/pwsh-vault.png" />
|
||||
|
||||
|
||||
### NCURSES Version:
|
||||
@ -60,7 +75,7 @@ pwsh-vault - Basic Password Manager written in Bash+Dmenu
|
||||
pwsh-vault-dl
|
||||
```
|
||||
|
||||
<img src="examples/pwsh-vault-dl.png" />
|
||||
<img src="https://git.q3aql.dev/q3aql/pwsh-vault/raw/branch/master/examples/pwsh-vault-dl.png" />
|
||||
|
||||
|
||||
### CLI Version:
|
||||
@ -69,14 +84,14 @@ pwsh-vault - Basic Password Manager written in Bash+Dmenu
|
||||
pwsh-vault-cli
|
||||
```
|
||||
|
||||
<img src="examples/pwsh-vault-cli.png" />
|
||||
<img src="https://git.q3aql.dev/q3aql/pwsh-vault/raw/branch/master/examples/pwsh-vault-cli.png" />
|
||||
|
||||
|
||||
```shell
|
||||
pwsh-vault (or pwsh-vault-cli/dl) --help
|
||||
```
|
||||
|
||||
<img src="examples/pwsh-vault-help.png" />
|
||||
<img src="https://git.q3aql.dev/q3aql/pwsh-vault/raw/branch/master/examples/pwsh-vault-help.png" />
|
||||
|
||||
|
||||
### External links:
|
||||
|
@ -1,6 +1,6 @@
|
||||
[Desktop Entry]
|
||||
Name=pwsh-vault-dl
|
||||
GenericName=pwsh-vault-dl
|
||||
Name=Pwsh Vault Password Manager (DL)
|
||||
GenericName=Pswh Vault Password Manager (DL)
|
||||
Comment=Basic Password Manager written in Bash+Dmenu
|
||||
Comment[es]=Gestor de claves basico escrito en Bash+Dmenu
|
||||
Exec=/usr/bin/pwsh-vault-dl
|
||||
|
@ -1,6 +1,6 @@
|
||||
[Desktop Entry]
|
||||
Name=pwsh-vault
|
||||
GenericName=pwsh-vault
|
||||
Name=Pwsh Vault Password Manager
|
||||
GenericName=Pwsh Vault Password Manager
|
||||
Comment=Basic Password Manager written in Bash+Dmenu
|
||||
Comment[es]=Gestor de claves basico escrito en Bash+Dmenu
|
||||
Exec=/usr/bin/pwsh-vault
|
||||
|
@ -5,7 +5,7 @@
|
||||
# Author: q3aql #
|
||||
# Contact: q3aql@duck.com #
|
||||
# License: GPL v2.0 #
|
||||
# Last-Change: 01-07-20222 #
|
||||
# Last-Change: 17-07-20222 #
|
||||
# ###########################################################
|
||||
VERSION="0.2"
|
||||
|
||||
@ -145,21 +145,21 @@ function generate_password() {
|
||||
else
|
||||
default_long_password=${size_pass}
|
||||
fi
|
||||
count_char_password=1
|
||||
current_password=""
|
||||
echo ""
|
||||
echo "# Generating Random Password"
|
||||
while [ ${count_char_password} -le ${default_long_password} ] ; do
|
||||
current_char=$(generate_codes "password")
|
||||
current_password="${current_password}${current_char}"
|
||||
count_char_password=$(expr ${count_char_password} + 1)
|
||||
done
|
||||
echo ""
|
||||
echo "# PASSWORD: ${current_password}"
|
||||
echo ""
|
||||
if [ "${2}" != "param" ] ; then
|
||||
echo -n "# Press enter key to continue " ; read enter_continue
|
||||
fi
|
||||
fi
|
||||
count_char_password=1
|
||||
current_password=""
|
||||
echo ""
|
||||
echo "# Generating Random Password"
|
||||
while [ ${count_char_password} -le ${default_long_password} ] ; do
|
||||
current_char=$(generate_codes "password")
|
||||
current_password="${current_password}${current_char}"
|
||||
count_char_password=$(expr ${count_char_password} + 1)
|
||||
done
|
||||
echo ""
|
||||
echo "# PASSWORD: ${current_password}"
|
||||
echo ""
|
||||
if [ "${2}" != "param" ] ; then
|
||||
echo -n "# Press enter key to continue " ; read enter_continue
|
||||
fi
|
||||
}
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
# Author: q3aql #
|
||||
# Contact: q3aql@duck.com #
|
||||
# License: GPL v2.0 #
|
||||
# Last-Change: 01-07-20222 #
|
||||
# Last-Change: 17-07-20222 #
|
||||
# #############################################################
|
||||
VERSION="0.2"
|
||||
|
||||
@ -156,21 +156,21 @@ function generate_password() {
|
||||
else
|
||||
default_long_password=${size_pass}
|
||||
fi
|
||||
count_char_password=1
|
||||
current_password=""
|
||||
echo ""
|
||||
echo "# Generating Random Password"
|
||||
while [ ${count_char_password} -le ${default_long_password} ] ; do
|
||||
current_char=$(generate_codes "password")
|
||||
current_password="${current_password}${current_char}"
|
||||
count_char_password=$(expr ${count_char_password} + 1)
|
||||
done
|
||||
echo ""
|
||||
echo "# PASSWORD: ${current_password}"
|
||||
echo ""
|
||||
if [ "${2}" != "param" ] ; then
|
||||
echo -n "# Press enter key to continue " ; read enter_continue
|
||||
fi
|
||||
fi
|
||||
count_char_password=1
|
||||
current_password=""
|
||||
echo ""
|
||||
echo "# Generating Random Password"
|
||||
while [ ${count_char_password} -le ${default_long_password} ] ; do
|
||||
current_char=$(generate_codes "password")
|
||||
current_password="${current_password}${current_char}"
|
||||
count_char_password=$(expr ${count_char_password} + 1)
|
||||
done
|
||||
echo ""
|
||||
echo "# PASSWORD: ${current_password}"
|
||||
echo ""
|
||||
if [ "${2}" != "param" ] ; then
|
||||
echo -n "# Press enter key to continue " ; read enter_continue
|
||||
fi
|
||||
}
|
||||
|
||||
@ -191,15 +191,15 @@ function gen_password_dl() {
|
||||
else
|
||||
default_long_password=${size_pass}
|
||||
fi
|
||||
count_char_password=1
|
||||
current_password=""
|
||||
while [ ${count_char_password} -le ${default_long_password} ] ; do
|
||||
current_char=$(generate_codes "password")
|
||||
current_password="${current_password}${current_char}"
|
||||
count_char_password=$(expr ${count_char_password} + 1)
|
||||
done
|
||||
echo "${current_password}"
|
||||
fi
|
||||
count_char_password=1
|
||||
current_password=""
|
||||
while [ ${count_char_password} -le ${default_long_password} ] ; do
|
||||
current_char=$(generate_codes "password")
|
||||
current_password="${current_password}${current_char}"
|
||||
count_char_password=$(expr ${count_char_password} + 1)
|
||||
done
|
||||
echo "${current_password}"
|
||||
}
|
||||
|
||||
function generate_password_menu() {
|
||||
|
@ -5,7 +5,7 @@
|
||||
# Author: q3aql #
|
||||
# Contact: q3aql@duck.com #
|
||||
# License: GPL v2.0 #
|
||||
# Last-Change: 01-07-20222 #
|
||||
# Last-Change: 17-07-20222 #
|
||||
# #########################################################
|
||||
VERSION="0.2"
|
||||
|
||||
@ -191,21 +191,21 @@ function generate_password() {
|
||||
else
|
||||
default_long_password=${size_pass}
|
||||
fi
|
||||
count_char_password=1
|
||||
current_password=""
|
||||
echo ""
|
||||
echo "# Generating Random Password"
|
||||
while [ ${count_char_password} -le ${default_long_password} ] ; do
|
||||
current_char=$(generate_codes "password")
|
||||
current_password="${current_password}${current_char}"
|
||||
count_char_password=$(expr ${count_char_password} + 1)
|
||||
done
|
||||
echo ""
|
||||
echo "# PASSWORD: ${current_password}"
|
||||
echo ""
|
||||
if [ "${2}" != "param" ] ; then
|
||||
echo -n "# Press enter key to continue " ; read enter_continue
|
||||
fi
|
||||
fi
|
||||
count_char_password=1
|
||||
current_password=""
|
||||
echo ""
|
||||
echo "# Generating Random Password"
|
||||
while [ ${count_char_password} -le ${default_long_password} ] ; do
|
||||
current_char=$(generate_codes "password")
|
||||
current_password="${current_password}${current_char}"
|
||||
count_char_password=$(expr ${count_char_password} + 1)
|
||||
done
|
||||
echo ""
|
||||
echo "# PASSWORD: ${current_password}"
|
||||
echo ""
|
||||
if [ "${2}" != "param" ] ; then
|
||||
echo -n "# Press enter key to continue " ; read enter_continue
|
||||
fi
|
||||
}
|
||||
|
||||
@ -226,19 +226,19 @@ function generate_password_gui() {
|
||||
else
|
||||
default_long_password=${size_pass}
|
||||
fi
|
||||
count_char_password=1
|
||||
current_password=""
|
||||
echo ""
|
||||
echo "# Generating Random Password"
|
||||
while [ ${count_char_password} -le ${default_long_password} ] ; do
|
||||
current_char=$(generate_codes "password")
|
||||
current_password="${current_password}${current_char}"
|
||||
count_char_password=$(expr ${count_char_password} + 1)
|
||||
done
|
||||
echo ${current_password} >> ${pwsh_vault_password_copy}
|
||||
echo > /dev/null | pwsh-vaultm -p " PASSWORD: ${current_password} $(generate_spaces 65)"
|
||||
echo > /dev/null | pwsh-vaultm -p " Password has been copied to ${pwsh_vault_password_copy} $(generate_spaces 20)"
|
||||
fi
|
||||
count_char_password=1
|
||||
current_password=""
|
||||
echo ""
|
||||
echo "# Generating Random Password"
|
||||
while [ ${count_char_password} -le ${default_long_password} ] ; do
|
||||
current_char=$(generate_codes "password")
|
||||
current_password="${current_password}${current_char}"
|
||||
count_char_password=$(expr ${count_char_password} + 1)
|
||||
done
|
||||
echo ${current_password} >> ${pwsh_vault_password_copy}
|
||||
echo > /dev/null | pwsh-vaultm -p " PASSWORD: ${current_password} $(generate_spaces 65)"
|
||||
echo > /dev/null | pwsh-vaultm -p " Password has been copied to ${pwsh_vault_password_copy} $(generate_spaces 20)"
|
||||
}
|
||||
|
||||
function generate_password_menu() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user