basic-password-manager 0.4.2__tar.gz → 0.4.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {basic_password_manager-0.4.2 → basic_password_manager-0.4.3}/PKG-INFO +23 -8
- {basic_password_manager-0.4.2 → basic_password_manager-0.4.3}/README.md +22 -7
- {basic_password_manager-0.4.2 → basic_password_manager-0.4.3}/basic_password_manager.egg-info/PKG-INFO +23 -8
- {basic_password_manager-0.4.2 → basic_password_manager-0.4.3}/pw_manager/cli.py +9 -1
- {basic_password_manager-0.4.2 → basic_password_manager-0.4.3}/pw_manager/tui.py +4 -1
- {basic_password_manager-0.4.2 → basic_password_manager-0.4.3}/pyproject.toml +1 -1
- {basic_password_manager-0.4.2 → basic_password_manager-0.4.3}/LICENSE +0 -0
- {basic_password_manager-0.4.2 → basic_password_manager-0.4.3}/basic_password_manager.egg-info/SOURCES.txt +0 -0
- {basic_password_manager-0.4.2 → basic_password_manager-0.4.3}/basic_password_manager.egg-info/dependency_links.txt +0 -0
- {basic_password_manager-0.4.2 → basic_password_manager-0.4.3}/basic_password_manager.egg-info/entry_points.txt +0 -0
- {basic_password_manager-0.4.2 → basic_password_manager-0.4.3}/basic_password_manager.egg-info/requires.txt +0 -0
- {basic_password_manager-0.4.2 → basic_password_manager-0.4.3}/basic_password_manager.egg-info/top_level.txt +0 -0
- {basic_password_manager-0.4.2 → basic_password_manager-0.4.3}/pw_manager/__init__.py +0 -0
- {basic_password_manager-0.4.2 → basic_password_manager-0.4.3}/pw_manager/crypto.py +0 -0
- {basic_password_manager-0.4.2 → basic_password_manager-0.4.3}/pw_manager/logo.py +0 -0
- {basic_password_manager-0.4.2 → basic_password_manager-0.4.3}/pw_manager/mobile.py +0 -0
- {basic_password_manager-0.4.2 → basic_password_manager-0.4.3}/pw_manager/vault.py +0 -0
- {basic_password_manager-0.4.2 → basic_password_manager-0.4.3}/pw_manager/web/argon2.umd.min.js +0 -0
- {basic_password_manager-0.4.2 → basic_password_manager-0.4.3}/pw_manager/web/page.html +0 -0
- {basic_password_manager-0.4.2 → basic_password_manager-0.4.3}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: basic-password-manager
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.3
|
|
4
4
|
Summary: The Paladin — a local encrypted password manager that lives in your terminal
|
|
5
5
|
License-Expression: MIT
|
|
6
6
|
Project-URL: Repository, https://github.com/Daisentaur/password-manager
|
|
@@ -138,12 +138,25 @@ install. The page opens in whatever TUI theme you had set when you generated
|
|
|
138
138
|
the QR, knight and all (it won't follow later theme changes — scan again for
|
|
139
139
|
that).
|
|
140
140
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
141
|
+
### Want it at your own subdomain?
|
|
142
|
+
|
|
143
|
+
By default every session gets a fresh random URL. If you own a domain and
|
|
144
|
+
want the QR to always point at *your* address instead, set one variable:
|
|
145
|
+
|
|
146
|
+
```bash
|
|
147
|
+
export PALADIN_MOBILE_URL=https://passwords.yourdomain.com # in your ~/.bashrc
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
and point that subdomain at `127.0.0.1:8787` through whatever you already
|
|
151
|
+
use (reverse proxy, named tunnel — `PALADIN_MOBILE_PORT` changes the port).
|
|
152
|
+
From then on plain `paladin mobile` serves at your subdomain, every time, so
|
|
153
|
+
a phone bookmark keeps working.
|
|
154
|
+
|
|
155
|
+
To be clear about what this does and doesn't change: a session still only
|
|
156
|
+
lives while `paladin mobile` is running — closing it still ends access, and
|
|
157
|
+
the secret path at the end of the URL still expires every 30 days (your
|
|
158
|
+
bookmark needs refreshing then, on purpose). The only difference is that
|
|
159
|
+
every new session opens at *your* address instead of a random one.
|
|
147
160
|
|
|
148
161
|
The one thing crossing the internet is the encrypted blob, which is useless
|
|
149
162
|
without the master password that never leaves your phone. The tunnel provider
|
|
@@ -251,7 +264,9 @@ and restore from a backup.
|
|
|
251
264
|
unexpected.
|
|
252
265
|
|
|
253
266
|
**Password prints instead of copying** — no clipboard tool found. Install
|
|
254
|
-
one: `sudo apt install wl-clipboard` (Wayland) or `xclip` (X11).
|
|
267
|
+
one: `sudo apt install wl-clipboard` (Wayland) or `xclip` (X11). This is a
|
|
268
|
+
Linux-only situation — macOS (`pbcopy`) and Windows (`clip`) have theirs
|
|
269
|
+
built in and are used automatically.
|
|
255
270
|
|
|
256
271
|
**Unlock feels slow (~1s)** — that's Argon2 doing its job. The delay *is*
|
|
257
272
|
the brute-force resistance. Per command, not per keystroke.
|
|
@@ -122,12 +122,25 @@ install. The page opens in whatever TUI theme you had set when you generated
|
|
|
122
122
|
the QR, knight and all (it won't follow later theme changes — scan again for
|
|
123
123
|
that).
|
|
124
124
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
125
|
+
### Want it at your own subdomain?
|
|
126
|
+
|
|
127
|
+
By default every session gets a fresh random URL. If you own a domain and
|
|
128
|
+
want the QR to always point at *your* address instead, set one variable:
|
|
129
|
+
|
|
130
|
+
```bash
|
|
131
|
+
export PALADIN_MOBILE_URL=https://passwords.yourdomain.com # in your ~/.bashrc
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
and point that subdomain at `127.0.0.1:8787` through whatever you already
|
|
135
|
+
use (reverse proxy, named tunnel — `PALADIN_MOBILE_PORT` changes the port).
|
|
136
|
+
From then on plain `paladin mobile` serves at your subdomain, every time, so
|
|
137
|
+
a phone bookmark keeps working.
|
|
138
|
+
|
|
139
|
+
To be clear about what this does and doesn't change: a session still only
|
|
140
|
+
lives while `paladin mobile` is running — closing it still ends access, and
|
|
141
|
+
the secret path at the end of the URL still expires every 30 days (your
|
|
142
|
+
bookmark needs refreshing then, on purpose). The only difference is that
|
|
143
|
+
every new session opens at *your* address instead of a random one.
|
|
131
144
|
|
|
132
145
|
The one thing crossing the internet is the encrypted blob, which is useless
|
|
133
146
|
without the master password that never leaves your phone. The tunnel provider
|
|
@@ -235,7 +248,9 @@ and restore from a backup.
|
|
|
235
248
|
unexpected.
|
|
236
249
|
|
|
237
250
|
**Password prints instead of copying** — no clipboard tool found. Install
|
|
238
|
-
one: `sudo apt install wl-clipboard` (Wayland) or `xclip` (X11).
|
|
251
|
+
one: `sudo apt install wl-clipboard` (Wayland) or `xclip` (X11). This is a
|
|
252
|
+
Linux-only situation — macOS (`pbcopy`) and Windows (`clip`) have theirs
|
|
253
|
+
built in and are used automatically.
|
|
239
254
|
|
|
240
255
|
**Unlock feels slow (~1s)** — that's Argon2 doing its job. The delay *is*
|
|
241
256
|
the brute-force resistance. Per command, not per keystroke.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: basic-password-manager
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.3
|
|
4
4
|
Summary: The Paladin — a local encrypted password manager that lives in your terminal
|
|
5
5
|
License-Expression: MIT
|
|
6
6
|
Project-URL: Repository, https://github.com/Daisentaur/password-manager
|
|
@@ -138,12 +138,25 @@ install. The page opens in whatever TUI theme you had set when you generated
|
|
|
138
138
|
the QR, knight and all (it won't follow later theme changes — scan again for
|
|
139
139
|
that).
|
|
140
140
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
141
|
+
### Want it at your own subdomain?
|
|
142
|
+
|
|
143
|
+
By default every session gets a fresh random URL. If you own a domain and
|
|
144
|
+
want the QR to always point at *your* address instead, set one variable:
|
|
145
|
+
|
|
146
|
+
```bash
|
|
147
|
+
export PALADIN_MOBILE_URL=https://passwords.yourdomain.com # in your ~/.bashrc
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
and point that subdomain at `127.0.0.1:8787` through whatever you already
|
|
151
|
+
use (reverse proxy, named tunnel — `PALADIN_MOBILE_PORT` changes the port).
|
|
152
|
+
From then on plain `paladin mobile` serves at your subdomain, every time, so
|
|
153
|
+
a phone bookmark keeps working.
|
|
154
|
+
|
|
155
|
+
To be clear about what this does and doesn't change: a session still only
|
|
156
|
+
lives while `paladin mobile` is running — closing it still ends access, and
|
|
157
|
+
the secret path at the end of the URL still expires every 30 days (your
|
|
158
|
+
bookmark needs refreshing then, on purpose). The only difference is that
|
|
159
|
+
every new session opens at *your* address instead of a random one.
|
|
147
160
|
|
|
148
161
|
The one thing crossing the internet is the encrypted blob, which is useless
|
|
149
162
|
without the master password that never leaves your phone. The tunnel provider
|
|
@@ -251,7 +264,9 @@ and restore from a backup.
|
|
|
251
264
|
unexpected.
|
|
252
265
|
|
|
253
266
|
**Password prints instead of copying** — no clipboard tool found. Install
|
|
254
|
-
one: `sudo apt install wl-clipboard` (Wayland) or `xclip` (X11).
|
|
267
|
+
one: `sudo apt install wl-clipboard` (Wayland) or `xclip` (X11). This is a
|
|
268
|
+
Linux-only situation — macOS (`pbcopy`) and Windows (`clip`) have theirs
|
|
269
|
+
built in and are used automatically.
|
|
255
270
|
|
|
256
271
|
**Unlock feels slow (~1s)** — that's Argon2 doing its job. The delay *is*
|
|
257
272
|
the brute-force resistance. Per command, not per keystroke.
|
|
@@ -25,7 +25,15 @@ def generate(length: int = 20) -> str:
|
|
|
25
25
|
|
|
26
26
|
def to_clipboard(text: str) -> bool:
|
|
27
27
|
# ponytail: no auto-clear timer; clear manually or copy something else over it
|
|
28
|
-
|
|
28
|
+
# linux needs a tool installed; macOS (pbcopy) and Windows (clip) ship theirs
|
|
29
|
+
for cmd in (
|
|
30
|
+
["wl-copy"],
|
|
31
|
+
["xclip", "-selection", "clipboard"],
|
|
32
|
+
["xsel", "-b"],
|
|
33
|
+
["pbcopy"],
|
|
34
|
+
["clip"],
|
|
35
|
+
["clip.exe"], # windows tool as seen from inside WSL
|
|
36
|
+
):
|
|
29
37
|
if shutil.which(cmd[0]):
|
|
30
38
|
subprocess.run(cmd, input=text.encode(), check=True)
|
|
31
39
|
return True
|
|
@@ -381,7 +381,10 @@ class MainScreen(Screen):
|
|
|
381
381
|
if to_clipboard(self.app.entries[name]["pw"]):
|
|
382
382
|
self.notify(f"password for '{name}' copied", severity="information")
|
|
383
383
|
else:
|
|
384
|
-
self.notify(
|
|
384
|
+
self.notify(
|
|
385
|
+
"no clipboard tool found (on Linux: install wl-clipboard)",
|
|
386
|
+
severity="error",
|
|
387
|
+
)
|
|
385
388
|
|
|
386
389
|
def action_new(self) -> None:
|
|
387
390
|
def done(entry: dict | None) -> None:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{basic_password_manager-0.4.2 → basic_password_manager-0.4.3}/pw_manager/web/argon2.umd.min.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|