Compare commits
No commits in common. "master" and "v0.2" have entirely different histories.
37
README.md
37
README.md
@ -4,38 +4,23 @@ pwsh-vault - Basic Password Manager written in Bash+Dmenu
|
|||||||
### Dependencies:
|
### Dependencies:
|
||||||
|
|
||||||
* **Arch Linux:**
|
* **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:**
|
* **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)):**
|
* **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/)):**
|
* **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):
|
### Build and install (Unix/Linux Posix):
|
||||||
|
|
||||||
* Open terminal and run the following commands:
|
* Open terminal and run the following commands:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ git clone https://git.q3aql.dev/q3aql/pwsh-vault.git
|
$ git clone https://github.com/q3aql/pwsh-vault.git
|
||||||
$ cd pwsh-vault
|
$ cd pwsh-vault
|
||||||
$ sudo make install clean
|
$ sudo make install clean
|
||||||
````
|
````
|
||||||
@ -45,7 +30,7 @@ pwsh-vault - Basic Password Manager written in Bash+Dmenu
|
|||||||
* Open terminal and run the following commands:
|
* Open terminal and run the following commands:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ git clone https://git.q3aql.dev/q3aql/pwsh-vault.git
|
$ git clone https://github.com/q3aql/pwsh-vault.git
|
||||||
$ cd pwsh-vault
|
$ cd pwsh-vault
|
||||||
$ make cygwin
|
$ make cygwin
|
||||||
````
|
````
|
||||||
@ -55,7 +40,7 @@ pwsh-vault - Basic Password Manager written in Bash+Dmenu
|
|||||||
* Open terminal and run the following commands:
|
* Open terminal and run the following commands:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ git clone https://git.q3aql.dev/q3aql/pwsh-vault.git
|
$ git clone https://github.com/q3aql/pwsh-vault.git
|
||||||
$ cd pwsh-vault
|
$ cd pwsh-vault
|
||||||
$ make termux
|
$ make termux
|
||||||
````
|
````
|
||||||
@ -66,7 +51,7 @@ pwsh-vault - Basic Password Manager written in Bash+Dmenu
|
|||||||
pwsh-vault
|
pwsh-vault
|
||||||
```
|
```
|
||||||
|
|
||||||
<img src="https://git.q3aql.dev/q3aql/pwsh-vault/raw/branch/master/examples/pwsh-vault.png" />
|
<img src="examples/pwsh-vault.png" />
|
||||||
|
|
||||||
|
|
||||||
### NCURSES Version:
|
### NCURSES Version:
|
||||||
@ -75,7 +60,7 @@ pwsh-vault - Basic Password Manager written in Bash+Dmenu
|
|||||||
pwsh-vault-dl
|
pwsh-vault-dl
|
||||||
```
|
```
|
||||||
|
|
||||||
<img src="https://git.q3aql.dev/q3aql/pwsh-vault/raw/branch/master/examples/pwsh-vault-dl.png" />
|
<img src="examples/pwsh-vault-dl.png" />
|
||||||
|
|
||||||
|
|
||||||
### CLI Version:
|
### CLI Version:
|
||||||
@ -84,14 +69,14 @@ pwsh-vault - Basic Password Manager written in Bash+Dmenu
|
|||||||
pwsh-vault-cli
|
pwsh-vault-cli
|
||||||
```
|
```
|
||||||
|
|
||||||
<img src="https://git.q3aql.dev/q3aql/pwsh-vault/raw/branch/master/examples/pwsh-vault-cli.png" />
|
<img src="examples/pwsh-vault-cli.png" />
|
||||||
|
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
pwsh-vault (or pwsh-vault-cli/dl) --help
|
pwsh-vault (or pwsh-vault-cli/dl) --help
|
||||||
```
|
```
|
||||||
|
|
||||||
<img src="https://git.q3aql.dev/q3aql/pwsh-vault/raw/branch/master/examples/pwsh-vault-help.png" />
|
<img src="examples/pwsh-vault-help.png" />
|
||||||
|
|
||||||
|
|
||||||
### External links:
|
### External links:
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Name=Pwsh Vault Password Manager (DL)
|
Name=pwsh-vault-dl
|
||||||
GenericName=Pswh Vault Password Manager (DL)
|
GenericName=pwsh-vault-dl
|
||||||
Comment=Basic Password Manager written in Bash+Dmenu
|
Comment=Basic Password Manager written in Bash+Dmenu
|
||||||
Comment[es]=Gestor de claves basico escrito en Bash+Dmenu
|
Comment[es]=Gestor de claves basico escrito en Bash+Dmenu
|
||||||
Exec=/usr/bin/pwsh-vault-dl
|
Exec=/usr/bin/pwsh-vault-dl
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Name=Pwsh Vault Password Manager
|
Name=pwsh-vault
|
||||||
GenericName=Pwsh Vault Password Manager
|
GenericName=pwsh-vault
|
||||||
Comment=Basic Password Manager written in Bash+Dmenu
|
Comment=Basic Password Manager written in Bash+Dmenu
|
||||||
Comment[es]=Gestor de claves basico escrito en Bash+Dmenu
|
Comment[es]=Gestor de claves basico escrito en Bash+Dmenu
|
||||||
Exec=/usr/bin/pwsh-vault
|
Exec=/usr/bin/pwsh-vault
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
# Author: q3aql #
|
# Author: q3aql #
|
||||||
# Contact: q3aql@duck.com #
|
# Contact: q3aql@duck.com #
|
||||||
# License: GPL v2.0 #
|
# License: GPL v2.0 #
|
||||||
# Last-Change: 17-07-20222 #
|
# Last-Change: 01-07-20222 #
|
||||||
# ###########################################################
|
# ###########################################################
|
||||||
VERSION="0.2"
|
VERSION="0.2"
|
||||||
|
|
||||||
@ -145,7 +145,6 @@ function generate_password() {
|
|||||||
else
|
else
|
||||||
default_long_password=${size_pass}
|
default_long_password=${size_pass}
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
count_char_password=1
|
count_char_password=1
|
||||||
current_password=""
|
current_password=""
|
||||||
echo ""
|
echo ""
|
||||||
@ -161,6 +160,7 @@ function generate_password() {
|
|||||||
if [ "${2}" != "param" ] ; then
|
if [ "${2}" != "param" ] ; then
|
||||||
echo -n "# Press enter key to continue " ; read enter_continue
|
echo -n "# Press enter key to continue " ; read enter_continue
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function generate_password_menu() {
|
function generate_password_menu() {
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
# Author: q3aql #
|
# Author: q3aql #
|
||||||
# Contact: q3aql@duck.com #
|
# Contact: q3aql@duck.com #
|
||||||
# License: GPL v2.0 #
|
# License: GPL v2.0 #
|
||||||
# Last-Change: 17-07-20222 #
|
# Last-Change: 01-07-20222 #
|
||||||
# #############################################################
|
# #############################################################
|
||||||
VERSION="0.2"
|
VERSION="0.2"
|
||||||
|
|
||||||
@ -156,7 +156,6 @@ function generate_password() {
|
|||||||
else
|
else
|
||||||
default_long_password=${size_pass}
|
default_long_password=${size_pass}
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
count_char_password=1
|
count_char_password=1
|
||||||
current_password=""
|
current_password=""
|
||||||
echo ""
|
echo ""
|
||||||
@ -172,6 +171,7 @@ function generate_password() {
|
|||||||
if [ "${2}" != "param" ] ; then
|
if [ "${2}" != "param" ] ; then
|
||||||
echo -n "# Press enter key to continue " ; read enter_continue
|
echo -n "# Press enter key to continue " ; read enter_continue
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function gen_password_dl() {
|
function gen_password_dl() {
|
||||||
@ -191,7 +191,6 @@ function gen_password_dl() {
|
|||||||
else
|
else
|
||||||
default_long_password=${size_pass}
|
default_long_password=${size_pass}
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
count_char_password=1
|
count_char_password=1
|
||||||
current_password=""
|
current_password=""
|
||||||
while [ ${count_char_password} -le ${default_long_password} ] ; do
|
while [ ${count_char_password} -le ${default_long_password} ] ; do
|
||||||
@ -200,6 +199,7 @@ function gen_password_dl() {
|
|||||||
count_char_password=$(expr ${count_char_password} + 1)
|
count_char_password=$(expr ${count_char_password} + 1)
|
||||||
done
|
done
|
||||||
echo "${current_password}"
|
echo "${current_password}"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function generate_password_menu() {
|
function generate_password_menu() {
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
# Author: q3aql #
|
# Author: q3aql #
|
||||||
# Contact: q3aql@duck.com #
|
# Contact: q3aql@duck.com #
|
||||||
# License: GPL v2.0 #
|
# License: GPL v2.0 #
|
||||||
# Last-Change: 17-07-20222 #
|
# Last-Change: 01-07-20222 #
|
||||||
# #########################################################
|
# #########################################################
|
||||||
VERSION="0.2"
|
VERSION="0.2"
|
||||||
|
|
||||||
@ -191,7 +191,6 @@ function generate_password() {
|
|||||||
else
|
else
|
||||||
default_long_password=${size_pass}
|
default_long_password=${size_pass}
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
count_char_password=1
|
count_char_password=1
|
||||||
current_password=""
|
current_password=""
|
||||||
echo ""
|
echo ""
|
||||||
@ -207,6 +206,7 @@ function generate_password() {
|
|||||||
if [ "${2}" != "param" ] ; then
|
if [ "${2}" != "param" ] ; then
|
||||||
echo -n "# Press enter key to continue " ; read enter_continue
|
echo -n "# Press enter key to continue " ; read enter_continue
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function generate_password_gui() {
|
function generate_password_gui() {
|
||||||
@ -226,7 +226,6 @@ function generate_password_gui() {
|
|||||||
else
|
else
|
||||||
default_long_password=${size_pass}
|
default_long_password=${size_pass}
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
count_char_password=1
|
count_char_password=1
|
||||||
current_password=""
|
current_password=""
|
||||||
echo ""
|
echo ""
|
||||||
@ -239,6 +238,7 @@ function generate_password_gui() {
|
|||||||
echo ${current_password} >> ${pwsh_vault_password_copy}
|
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: ${current_password} $(generate_spaces 65)"
|
||||||
echo > /dev/null | pwsh-vaultm -p " Password has been copied to ${pwsh_vault_password_copy} $(generate_spaces 20)"
|
echo > /dev/null | pwsh-vaultm -p " Password has been copied to ${pwsh_vault_password_copy} $(generate_spaces 20)"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function generate_password_menu() {
|
function generate_password_menu() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user