FIX: Version 1.02

main
Kamal Curi 4 years ago
parent a946025ab9
commit b9b83c61d3

@ -23,7 +23,10 @@
· Minor bug fixes: · Minor bug fixes:
· ITEM_CURSOR and GLOBAL_CURSOR now behave properly under all(tested) circumstances · ITEM_CURSOR and GLOBAL_CURSOR now behave properly under all(tested) circumstances
· Added random string to modify password · Added random string to modify password
- 1.01 - 1.01 (Added and removed)
- 1.02
· Added uninstall option (Quite frankly I wonder what took me so long to get this done)
· Minor UI fixes
· Major bug fixes: · Major bug fixes:
· Fixed 'help command' bug · Fixed 'help command' bug
· Fixed 'password modify' bug · Fixed 'password modify' bug

@ -1,16 +1,20 @@
# Steelbox # Steelbox
![Steel box](https://static.wikia.nocookie.net/elderscrolls/images/6/6a/Skyrim-strongbox.png)
## Because sometimes you just want a password manager ## Because sometimes you just want a password manager
Steelbox is a password manager that uses the curses library for interactive terminals Steelbox is a password manager that runs under your terminal, with GnuPG.
### **ATTENTION: It is recommended you run steelbox under [st](https://st.suckless.org/) or [alacritty](https://alacritty.org/)** ## **ATTENTION: It is recommended you run steelbox under [st](https://st.suckless.org/) or [alacritty](https://alacritty.org/)**
### Installation (and upgrade): ### Installation (and upgrade):
Just run `install.sh` **WITHOUT SUDO** Just run `install.sh` **WITHOUT SUDO**
### To remove Steelbox:
Just run `install.sh remove` **WITHOUT SUDO**
### Upgrading
If you're upgrading Steelbox, don't worry: `install.sh` will do it automatically without messing with your password file If you're upgrading Steelbox, don't worry: `install.sh` will do it automatically without messing with your password file
#### Dependencies: #### Dependencies:
Clipboard support needs the [pyperclip](https://pypi.org/project/pyperclip/) module. You can install it with [pip](https://pypi.org/project/pip/): Clipboard support needs the [pyperclip](https://pypi.org/project/pyperclip/) module. You can install it with [pip](https://pypi.org/project/pip/):

@ -1,5 +1,22 @@
#!/usr/bin/env bash #!/usr/bin/env bash
case $1 in
'remove')
echo Deleting steelbox.sh
sudo rm /opt/steelbox.sh
echo Deleting steelbox.py
sudo rm /opt/steelbox.py
echo Deleting help file
sudo rm /opt/sbhelp
echo Deleting link
sudo rm /usr/bin/steelbox
echo "## Your password file has not been deleted"
echo "## It can be found in $HOME/.pasfile.csv"
echo "## or $HOME/.pasfile.csv.gpg"
exit 0
;;
esac
echo Steelbox install echo Steelbox install
echo Copying steelbox.sh echo Copying steelbox.sh

@ -211,15 +211,19 @@ def newFile():
npWin.addstr(1, 1, "SRVC:") npWin.addstr(1, 1, "SRVC:")
npWin.addstr(2, 1, "USER:") npWin.addstr(2, 1, "USER:")
npWin.addstr(3, 1, "PSWD:") npWin.addstr(3, 1, "PSWD:")
STATUS_MESSAGE = "CTRL+G to enter, MAX 45 CHARS"
displayStatus(STATUS_MESSAGE)
npWin.refresh() npWin.refresh()
# Takes data # Takes data
STATUS_MESSAGE = "Enter the service name - LEAVE EMPTY TO CANCEL"
displayStatus(STATUS_MESSAGE)
svBox.edit() svBox.edit()
passService = svBox.gather() passService = svBox.gather()
STATUS_MESSAGE = "Enter the username - LEAVE EMPTY TO CANCEL"
displayStatus(STATUS_MESSAGE)
usBox.edit() usBox.edit()
passUser = usBox.gather() passUser = usBox.gather()
STATUS_MESSAGE = "Enter the password- LEAVE EMPTY FOR RANDOM STRING"
displayStatus(STATUS_MESSAGE)
psBox.edit() psBox.edit()
passPswd = psBox.gather() passPswd = psBox.gather()
if passService != '' and passUser != '': if passService != '' and passUser != '':
@ -256,7 +260,7 @@ def examine():
fileWin.addstr(1, 1, "SRVC: " + passService) fileWin.addstr(1, 1, "SRVC: " + passService)
fileWin.addstr(2, 1, "NAME: " + passUser) fileWin.addstr(2, 1, "NAME: " + passUser)
fileWin.addstr(3, 1, "PSWD: " + passPswd) fileWin.addstr(3, 1, "PSWD: " + passPswd)
STATUS_MESSAGE = "cmds:(d|DEL)ete,(m)odify, (c)opy " STATUS_MESSAGE = "(d|el),(c)opy,(m)odify"
displayStatus(STATUS_MESSAGE) displayStatus(STATUS_MESSAGE)
# Gets command to act on the highlighted file # Gets command to act on the highlighted file
c = fileWin.getch() c = fileWin.getch()
@ -414,7 +418,7 @@ def displayItems():
LINE = 0 LINE = 0
COLUMN+=16 COLUMN+=16
NROWS+=1 NROWS+=1
STATUS_MESSAGE = "PrvPage(F1),NxtPage(F2),(d|el),(n)ew,(c)opy,(m)odify,(r)andom,(q)uit" STATUS_MESSAGE = "(n)ew,(d|el),(c)opy,(m)odify,(h)elp,(q)uit"
displayStatus(STATUS_MESSAGE) displayStatus(STATUS_MESSAGE)
mainwin.refresh() mainwin.refresh()

Loading…
Cancel
Save