Skip to content

Commit 394563f

Browse files
small changes: update docs
1 parent 48d8dbd commit 394563f

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed

diagram_helper.py

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,18 +42,20 @@
4242

4343

4444
_struct_file = (
45-
{"FILE Metadata":
45+
{"FILE Metadata v0.7":
4646
(
47-
"0 - Unique header...............",
48-
"1 - File version................",
49-
"2 - Name hash (sha256)..........",
50-
"3 - Hash of password............",
51-
"4 - Comment MODE_CBC............",
52-
"5 - Encoding of text used.......",
53-
"6 - Hash of: \n(password+vector+encrypted) =\n Check data originality",
54-
"7 - Vector Random...............",
47+
"0 - Unique header...................",
48+
"1 - File version....................",
49+
"2 - Name hash (sha256)..............",
50+
"3 - Hash of password................",
51+
"4 - Comment MODE_CBC................",
52+
"5 - Encoding of text used...........",
53+
"6 - Hash of: \n (password+vector+encrypted) =\n Check data originality",
54+
"7 - Vector Random...................",
5555
"<rectdashed>",
56-
"8 - Encrypted plain text",
56+
'8 - Encrypted plain text.\n\
57+
Key used (32 secret bytes):\n\
58+
hash of(password+hash of password)',
5759
)
5860
},
5961
);
@@ -72,6 +74,7 @@ def __init__(self, textwidget,struct,**kw):
7274

7375
self.text = textwidget;
7476

77+
#need the superior window master, discard sub-widgets:
7578
master = self.text.master;
7679
while master and not master.winfo_class() in ("Toplevel", "Tk"):
7780
master = master.master;

dialogpassword.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ def askchangepassword(parent, asserthash, **kw):
345345

346346

347347
if __name__ == "__main__":
348-
from tkinter import Tk,Radiobutton;
348+
from tkinter import Tk;
349349

350350
root = Tk();
351351
root.geometry("320x150");

0 commit comments

Comments
 (0)