stealth-message-cli 0.1.6__tar.gz → 0.1.7__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.
- {stealth_message_cli-0.1.6 → stealth_message_cli-0.1.7}/PKG-INFO +1 -1
- {stealth_message_cli-0.1.6 → stealth_message_cli-0.1.7}/pyproject.toml +1 -1
- {stealth_message_cli-0.1.6 → stealth_message_cli-0.1.7}/stealth_cli/__main__.py +17 -27
- {stealth_message_cli-0.1.6 → stealth_message_cli-0.1.7}/stealth_message_cli.egg-info/PKG-INFO +1 -1
- {stealth_message_cli-0.1.6 → stealth_message_cli-0.1.7}/README.md +0 -0
- {stealth_message_cli-0.1.6 → stealth_message_cli-0.1.7}/setup.cfg +0 -0
- {stealth_message_cli-0.1.6 → stealth_message_cli-0.1.7}/stealth_cli/__init__.py +0 -0
- {stealth_message_cli-0.1.6 → stealth_message_cli-0.1.7}/stealth_cli/config.py +0 -0
- {stealth_message_cli-0.1.6 → stealth_message_cli-0.1.7}/stealth_cli/crypto/__init__.py +0 -0
- {stealth_message_cli-0.1.6 → stealth_message_cli-0.1.7}/stealth_cli/crypto/keys.py +0 -0
- {stealth_message_cli-0.1.6 → stealth_message_cli-0.1.7}/stealth_cli/crypto/messages.py +0 -0
- {stealth_message_cli-0.1.6 → stealth_message_cli-0.1.7}/stealth_cli/exceptions.py +0 -0
- {stealth_message_cli-0.1.6 → stealth_message_cli-0.1.7}/stealth_cli/network/__init__.py +0 -0
- {stealth_message_cli-0.1.6 → stealth_message_cli-0.1.7}/stealth_cli/network/client.py +0 -0
- {stealth_message_cli-0.1.6 → stealth_message_cli-0.1.7}/stealth_cli/network/server.py +0 -0
- {stealth_message_cli-0.1.6 → stealth_message_cli-0.1.7}/stealth_cli/ui/__init__.py +0 -0
- {stealth_message_cli-0.1.6 → stealth_message_cli-0.1.7}/stealth_cli/ui/chat.py +0 -0
- {stealth_message_cli-0.1.6 → stealth_message_cli-0.1.7}/stealth_cli/ui/setup.py +0 -0
- {stealth_message_cli-0.1.6 → stealth_message_cli-0.1.7}/stealth_message_cli.egg-info/SOURCES.txt +0 -0
- {stealth_message_cli-0.1.6 → stealth_message_cli-0.1.7}/stealth_message_cli.egg-info/dependency_links.txt +0 -0
- {stealth_message_cli-0.1.6 → stealth_message_cli-0.1.7}/stealth_message_cli.egg-info/entry_points.txt +0 -0
- {stealth_message_cli-0.1.6 → stealth_message_cli-0.1.7}/stealth_message_cli.egg-info/requires.txt +0 -0
- {stealth_message_cli-0.1.6 → stealth_message_cli-0.1.7}/stealth_message_cli.egg-info/top_level.txt +0 -0
- {stealth_message_cli-0.1.6 → stealth_message_cli-0.1.7}/tests/test_crypto.py +0 -0
- {stealth_message_cli-0.1.6 → stealth_message_cli-0.1.7}/tests/test_network.py +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "stealth-message-cli"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.7"
|
|
8
8
|
description = "Terminal client for stealth-message — end-to-end encrypted PGP chat"
|
|
9
9
|
readme = {file = "README.md", content-type = "text/markdown"}
|
|
10
10
|
license = {text = "GPL-3.0-only"}
|
|
@@ -35,7 +35,6 @@ from rich.console import Console
|
|
|
35
35
|
from rich.markdown import Markdown
|
|
36
36
|
from rich.padding import Padding
|
|
37
37
|
from rich.panel import Panel
|
|
38
|
-
from rich.rule import Rule
|
|
39
38
|
from rich.text import Text
|
|
40
39
|
|
|
41
40
|
from stealth_cli import config
|
|
@@ -372,7 +371,7 @@ All roles send and receive messages equally once connected.
|
|
|
372
371
|
The first time you run the program, a setup wizard starts automatically:
|
|
373
372
|
|
|
374
373
|
```
|
|
375
|
-
|
|
374
|
+
stealth-cli
|
|
376
375
|
```
|
|
377
376
|
|
|
378
377
|
The wizard asks for:
|
|
@@ -395,14 +394,14 @@ independent channel (in person, by phone) so they can verify your identity.
|
|
|
395
394
|
### Alice — host mode (single 1-on-1 room)
|
|
396
395
|
|
|
397
396
|
```
|
|
398
|
-
|
|
399
|
-
|
|
397
|
+
stealth-cli --host # default port 8765
|
|
398
|
+
stealth-cli --host 9000 # custom port
|
|
400
399
|
```
|
|
401
400
|
|
|
402
401
|
### Alice — host mode (multiple rooms)
|
|
403
402
|
|
|
404
403
|
```
|
|
405
|
-
|
|
404
|
+
stealth-cli --host --rooms bob,carol,team
|
|
406
405
|
```
|
|
407
406
|
|
|
408
407
|
This creates three independent rooms. Peers connect to a specific room by name.
|
|
@@ -410,14 +409,14 @@ This creates three independent rooms. Peers connect to a specific room by name.
|
|
|
410
409
|
### Bob — join mode
|
|
411
410
|
|
|
412
411
|
```
|
|
413
|
-
|
|
414
|
-
|
|
412
|
+
stealth-cli --join ALICE_IP:8765 # ws:// added automatically
|
|
413
|
+
stealth-cli --join ALICE_IP:8765 --room bob
|
|
415
414
|
```
|
|
416
415
|
|
|
417
416
|
### Interactive mode (no flags)
|
|
418
417
|
|
|
419
418
|
```
|
|
420
|
-
|
|
419
|
+
stealth-cli
|
|
421
420
|
```
|
|
422
421
|
|
|
423
422
|
When joining interactively, after entering the server address the program
|
|
@@ -502,8 +501,8 @@ No router configuration needed.
|
|
|
502
501
|
2. Alice shares her device with peers from the Tailscale web console
|
|
503
502
|
("Share node" — they only see Alice's machine, not her whole network).
|
|
504
503
|
3. Run `tailscale status` to see each other's `100.x.x.x` addresses.
|
|
505
|
-
4. Alice: `
|
|
506
|
-
5. Others: `
|
|
504
|
+
4. Alice: `stealth-cli --host`
|
|
505
|
+
5. Others: `stealth-cli --join ALICE_TAILSCALE_IP:8765 --room <name>`
|
|
507
506
|
6. Revoke the share when done.
|
|
508
507
|
|
|
509
508
|
> With Tailscale, messages travel encrypted by WireGuard AND by PGP —
|
|
@@ -540,17 +539,17 @@ No router configuration needed.
|
|
|
540
539
|
|
|
541
540
|
**Alice (host):**
|
|
542
541
|
```
|
|
543
|
-
|
|
542
|
+
stealth-cli --host --rooms bob,carol
|
|
544
543
|
```
|
|
545
544
|
|
|
546
545
|
**Bob:**
|
|
547
546
|
```
|
|
548
|
-
|
|
547
|
+
stealth-cli --join ALICE_IP:8765 --room bob
|
|
549
548
|
```
|
|
550
549
|
|
|
551
550
|
**Carol:**
|
|
552
551
|
```
|
|
553
|
-
|
|
552
|
+
stealth-cli --join ALICE_IP:8765 --room carol
|
|
554
553
|
```
|
|
555
554
|
|
|
556
555
|
Alice uses `/switch bob` and `/switch carol` to alternate between conversations.
|
|
@@ -562,7 +561,7 @@ Neither Bob nor Carol can see each other's messages.
|
|
|
562
561
|
|
|
563
562
|
**Alice (host):**
|
|
564
563
|
```
|
|
565
|
-
|
|
564
|
+
stealth-cli --host --rooms lobby,team
|
|
566
565
|
[Alice@lobby] /group team # convert team to group mode
|
|
567
566
|
[Alice@lobby] /move Bob team # move Bob — pre-approved
|
|
568
567
|
```
|
|
@@ -575,7 +574,7 @@ python -m stealth_cli --host --rooms lobby,team
|
|
|
575
574
|
|
|
576
575
|
**Carol** (joins directly):
|
|
577
576
|
```
|
|
578
|
-
|
|
577
|
+
stealth-cli --join ALICE_IP:8765 --room team
|
|
579
578
|
⏳ Waiting for host to approve your entry into room team…
|
|
580
579
|
```
|
|
581
580
|
|
|
@@ -641,7 +640,7 @@ A wrong passphrase exits immediately without loading any data.
|
|
|
641
640
|
To delete your saved keypair and start over with a new alias:
|
|
642
641
|
|
|
643
642
|
```
|
|
644
|
-
|
|
643
|
+
stealth-cli --reset
|
|
645
644
|
```
|
|
646
645
|
|
|
647
646
|
This wipes the stored keys and config and immediately runs the setup wizard
|
|
@@ -659,8 +658,8 @@ Room names can contain any characters, including spaces, and can be up to
|
|
|
659
658
|
wrap it in quotes:
|
|
660
659
|
|
|
661
660
|
```
|
|
662
|
-
|
|
663
|
-
|
|
661
|
+
stealth-cli --host --rooms "sala 1","sala 2"
|
|
662
|
+
stealth-cli --join HOST:8765 --room "sala 1"
|
|
664
663
|
```
|
|
665
664
|
|
|
666
665
|
Inside the chat (interactive commands) quotes are not needed — everything
|
|
@@ -687,15 +686,6 @@ after the command is taken as the room name:
|
|
|
687
686
|
| `--debug` | Enable verbose debug logging |
|
|
688
687
|
| `--help` | Show short usage summary |
|
|
689
688
|
|
|
690
|
-
---
|
|
691
|
-
|
|
692
|
-
## Running the tests
|
|
693
|
-
|
|
694
|
-
```
|
|
695
|
-
cd cli
|
|
696
|
-
source .venv/bin/activate
|
|
697
|
-
pytest tests/ -v
|
|
698
|
-
```
|
|
699
689
|
"""
|
|
700
690
|
|
|
701
691
|
c.print(Padding(Markdown(manual), (0, 2)))
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{stealth_message_cli-0.1.6 → stealth_message_cli-0.1.7}/stealth_message_cli.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{stealth_message_cli-0.1.6 → stealth_message_cli-0.1.7}/stealth_message_cli.egg-info/requires.txt
RENAMED
|
File without changes
|
{stealth_message_cli-0.1.6 → stealth_message_cli-0.1.7}/stealth_message_cli.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|