Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ cd PassMan-Client-Linux
python3 deb/build_deb.py # writes build/passman_<version>_all.deb
```

Then install it — apt pulls in Tk, cryptography and Pillow from Ubuntu:
Then install it — apt pulls in Tk, cryptography, Argon2 (`python3-argon2`, in
the *universe* section, on by default on Ubuntu desktops) and Pillow from Ubuntu:

```bash
sudo apt install ./build/passman_*_all.deb
Expand Down
3 changes: 3 additions & 0 deletions deb/build_deb.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@
"python3 (>= 3.10)",
"python3-tk",
"python3-cryptography",
# Argon2id for 3.0 accounts: Ubuntu's python3-cryptography (3.4 on
# 22.04, 41 on 24.04) predates it. In universe on both.
"python3-argon2",
"python3-pil",
"python3-pil.imagetk",
"fonts-dejavu-core",
Expand Down
3 changes: 2 additions & 1 deletion deb/tests/test_build_deb.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ def test_control_file(tree):
assert fields["Version"] == "9.8.7"
assert fields["Architecture"] == "all"
assert int(fields["Installed-Size"]) > 0
for dep in ("python3-tk", "python3-cryptography", "python3-pil.imagetk"):
for dep in ("python3-tk", "python3-cryptography", "python3-argon2",
"python3-pil.imagetk"):
assert dep in fields["Depends"]
assert text.endswith("\n")

Expand Down
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Development / test dependencies (the app itself needs only requirements.txt)
-r requirements.txt
pytest>=8
argon2-cffi>=21.1 # what Ubuntu's python3-argon2 is; the tests check it agrees with cryptography's Argon2id
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# PassMan dependencies. Also needs Tk from the system: sudo apt install python3-tk
cryptography>=42 # AES-GCM + PBKDF2 vault encryption
argon2-cffi>=21.1 # Argon2id for 3.0 accounts (Ubuntu: python3-argon2; or cryptography>=44)
customtkinter>=5.2 # modern UI toolkit
Pillow>=10 # logo image rendering on the login screen
530 changes: 530 additions & 0 deletions sourceFiles/account_crypto.py

Large diffs are not rendered by default.

264 changes: 264 additions & 0 deletions sourceFiles/bip39_words.py

Large diffs are not rendered by default.

Loading
Loading