diff --git a/CHANGELOG b/CHANGELOG index 851b6e1..c41f35a 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -47,4 +47,7 @@ · Added license to source code to better comply with GPLv2; · Added confirmation dialog for modification of passwords - 1.2 - · Added search function \ No newline at end of file + · Added search function +- 1.21 + · Fixed bug when modifying copied passwords + · Minor changes to the MANUAL \ No newline at end of file diff --git a/doc/MANUAL.pdf b/doc/MANUAL.pdf index ed45140..0f0246e 100644 Binary files a/doc/MANUAL.pdf and b/doc/MANUAL.pdf differ diff --git a/doc/MANUAL.tex b/doc/MANUAL.tex index 80f85f4..68a3b81 100644 --- a/doc/MANUAL.tex +++ b/doc/MANUAL.tex @@ -1,7 +1,7 @@ \documentclass{article} \usepackage{hyperref} -\title{\textbf{Steelbox v1.04} \\ User Manual} +\title{\textbf{Steelbox v1.21} \\ User Manual} \date{\today} \author{Kamal 'brejela' Curi} @@ -128,8 +128,8 @@ it when quitting as "locking" it back.\\ \textbf{Q: Can I add a password with no service/user name?}\\ A: Yes. You first create a password with a dummy entry in whichever field you wish to leave empty, and then modify it, leaving it empty.\\ - \textbf{Q: Can I have a service with an empty password?} - A: Yes. With \texttt{PSWD::0} + \textbf{Q: Can I have a service with an empty password?}\\ + A: Yes. You can create an empty password, to do so, set \texttt{PSWD::0}.\\ \textbf{Q: Can I migrate my password file from one system to another?}\\ A: The password file in \texttt{\textdollar HOME/.pasfile.csv.gpg} contains all saved passwords, that file can be moved from one home directory to another. \subsection{Contact} diff --git a/doc/html/MANUAL.html b/doc/html/MANUAL.html index d716630..d854878 100644 --- a/doc/html/MANUAL.html +++ b/doc/html/MANUAL.html @@ -1,7 +1,7 @@ -
Preamble + + +
The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software—to make sure the software is free for all its users. This General Public License applies to most of the Free Software - - - Foundation’s software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, @@ -456,13 +456,13 @@ class="small-caps">ion
+ + +
- - -
This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The “Program”, below, refers to @@ -499,14 +499,14 @@ class="small-caps">n you also meet all of these conditions:
You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. - - -
You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: @@ -591,12 +591,12 @@ class="small-caps">n compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major - components (compiler, kernel, and so on) of the operating system on which - the executable runs, unless that component itself accompanies the - executable. + components (compiler, kernel, and so on) of the operating system on which + the executable runs, unless that component itself accompanies the + executable.
If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though @@ -635,13 +635,13 @@ class="small-caps">n
If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the - - - conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program @@ -681,13 +681,13 @@ class="small-caps">n General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. + + +
Each version is given a distinguishing version number. If the Program specifies
a version number of this License which applies to it and “any later version”,
you have the option of following the terms and conditions either of
that version or of any later version published by the Free Software
-
-
-
Foundation. If the Program does not specify a version number of this
License, you may choose any version ever published by the Free Software
Foundation.
@@ -1325,6 +1325,9 @@ class="small-caps">o may
+
+
+
mss of
-
-
-
d
WITHOUT ANY WARRANTY; without even the implied warranty
of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the GNU General Public License for more details.
+
+
+
You should have received a copy of the GNU General Public
License along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
-
-
-
Also add information on how to contact you by electronic and paper
mail.
If the program is interactive, make it output a short notice like this when it starts
diff --git a/steelbox.py b/steelbox.py
index 7685ecf..f6e662e 100644
--- a/steelbox.py
+++ b/steelbox.py
@@ -343,7 +343,7 @@ def newFile():
pSize = 45
passPswd = randString(pSize)
# wtf = write to file
- wtf = {'service' : passService, 'user' : passUser, 'pswd' : passPswd}
+ wtf = {'service' : passService[:45], 'user' : passUser[:45], 'pswd' : passPswd[:45]}
files.append(wtf)
with open(PASFILE, mode='w') as pasfile:
csvwriter = csv.DictWriter(pasfile, fields)
@@ -450,7 +450,7 @@ def modFile():
if pSize > 45:
pSize = 45
passPswd = randString(pSize)
- modFile = {'service' : passService, 'user' : passUser, 'pswd' : passPswd}
+ modFile = {'service' : passService[:45], 'user' : passUser[:45], 'pswd' : passPswd[:45]}
# This is just a copy of delfile's confirmation routine
dlWin = curses.newwin(3, 22, int(TERM_LINES/2), int(TERM_COLS/2))
dlWin.border()
diff --git a/steelbox.sh b/steelbox.sh
index 70c657c..df258c3 100755
--- a/steelbox.sh
+++ b/steelbox.sh
@@ -3,7 +3,7 @@
#!/usr/bin/env bash
-version="1.2"
+version="1.21"
echo "Steelbox V$version, Copyright (C) 2022 Kamal Curi"
echo "Steelbox comes with ABSOLUTELY NO WARRANTY; For license details, read the manual in doc/"