obsideo-drive 0.2.0__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.
- obsideo_drive-0.2.0/PKG-INFO +95 -0
- obsideo_drive-0.2.0/README.md +84 -0
- obsideo_drive-0.2.0/obsideo/__init__.py +1 -0
- obsideo_drive-0.2.0/obsideo/__main__.py +4 -0
- obsideo_drive-0.2.0/obsideo/cli.py +568 -0
- obsideo_drive-0.2.0/obsideo/manifest.py +59 -0
- obsideo_drive-0.2.0/obsideo/sync.py +122 -0
- obsideo_drive-0.2.0/obsideo_core/__init__.py +4 -0
- obsideo_drive-0.2.0/obsideo_core/config.py +120 -0
- obsideo_drive-0.2.0/obsideo_core/crypto.py +50 -0
- obsideo_drive-0.2.0/obsideo_core/identity.py +36 -0
- obsideo_drive-0.2.0/obsideo_core/login.py +58 -0
- obsideo_drive-0.2.0/obsideo_core/names.py +65 -0
- obsideo_drive-0.2.0/obsideo_core/storage.py +265 -0
- obsideo_drive-0.2.0/obsideo_drive.egg-info/PKG-INFO +95 -0
- obsideo_drive-0.2.0/obsideo_drive.egg-info/SOURCES.txt +22 -0
- obsideo_drive-0.2.0/obsideo_drive.egg-info/dependency_links.txt +1 -0
- obsideo_drive-0.2.0/obsideo_drive.egg-info/entry_points.txt +3 -0
- obsideo_drive-0.2.0/obsideo_drive.egg-info/requires.txt +2 -0
- obsideo_drive-0.2.0/obsideo_drive.egg-info/top_level.txt +2 -0
- obsideo_drive-0.2.0/pyproject.toml +26 -0
- obsideo_drive-0.2.0/setup.cfg +4 -0
- obsideo_drive-0.2.0/tests/test_cli.py +153 -0
- obsideo_drive-0.2.0/tests/test_core.py +124 -0
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: obsideo-drive
|
|
3
|
+
Version: 0.2.0
|
|
4
|
+
Summary: Obsideo Cloud - encrypted storage we can't read. Save, browse, and sync whatever you want, from your terminal.
|
|
5
|
+
License: MIT
|
|
6
|
+
Project-URL: Homepage, https://obsideo.io
|
|
7
|
+
Requires-Python: >=3.10
|
|
8
|
+
Description-Content-Type: text/markdown
|
|
9
|
+
Requires-Dist: boto3>=1.28
|
|
10
|
+
Requires-Dist: cryptography>=41.0
|
|
11
|
+
|
|
12
|
+
# obsideo-drive
|
|
13
|
+
|
|
14
|
+
**Encrypted storage we can't read.** Save, browse, and sync whatever you want
|
|
15
|
+
from your terminal. Files are encrypted on your machine before they leave, so
|
|
16
|
+
Obsideo's gateway, coordinator, and storage providers only ever see ciphertext.
|
|
17
|
+
Your data lands on three independent providers (RF=3).
|
|
18
|
+
|
|
19
|
+
```
|
|
20
|
+
pip install obsideo-drive
|
|
21
|
+
obsideo login # email -> 3 GB free
|
|
22
|
+
obsideo # open the shell
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Get started
|
|
26
|
+
|
|
27
|
+
```
|
|
28
|
+
$ obsideo login
|
|
29
|
+
Enter your email: you@example.com
|
|
30
|
+
Check your email for a verification code.
|
|
31
|
+
Enter verification code: 482913
|
|
32
|
+
You're all set. 3 GB free.
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Login is handled by Obsideo's signup service at **`signup.obsideo.io`**: it emails
|
|
36
|
+
you a one-time code and provisions your free tier. There's no password - just your
|
|
37
|
+
email and a local key (see *How it works*).
|
|
38
|
+
|
|
39
|
+
Then either drop into the shell or run one-shot commands:
|
|
40
|
+
|
|
41
|
+
```
|
|
42
|
+
$ obsideo
|
|
43
|
+
obsideo:/ put ~/notes.txt
|
|
44
|
+
obsideo:/ ls
|
|
45
|
+
[file] notes.txt 1.2 KB
|
|
46
|
+
obsideo:/ put ~/photos # a whole folder, uploaded recursively
|
|
47
|
+
obsideo:/ put "C:\My Files\tax return.pdf" # paths with spaces: just quote them
|
|
48
|
+
obsideo:/ mkdir trip
|
|
49
|
+
obsideo:/ cd trip
|
|
50
|
+
obsideo:/trip/ put ~/cat.jpg
|
|
51
|
+
obsideo:/trip/ get cat.jpg ./downloaded.jpg
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## Commands
|
|
55
|
+
|
|
56
|
+
| Command | Description |
|
|
57
|
+
|---|---|
|
|
58
|
+
| `obsideo login` | Sign up / log in with your email (3 GB free) |
|
|
59
|
+
| `ls [path]` | List files and folders |
|
|
60
|
+
| `cd <path>` / `pwd` | Move around / show location |
|
|
61
|
+
| `put <local> [name]` | Encrypt + upload a file, or a whole folder (recursive). `--no-encrypt` to store as-is |
|
|
62
|
+
| `get <remote> [local]` | Download + decrypt a file |
|
|
63
|
+
| `rm <remote>` | Delete a file |
|
|
64
|
+
| `mkdir <name>` | Create a folder |
|
|
65
|
+
| `info <remote>` | Show object metadata |
|
|
66
|
+
| `account` | Show storage used vs. your free quota |
|
|
67
|
+
| `sync push\|pull\|status` | Sync your local folder with Obsideo |
|
|
68
|
+
| `config [set k v]` | Show or change settings |
|
|
69
|
+
|
|
70
|
+
## How it works
|
|
71
|
+
|
|
72
|
+
`obsideo` is a thin front-end over the shared **`obsideo_core`** layer (storage
|
|
73
|
+
seam, signing identity, account crypto, email-OTP login). The `mlvault` ML
|
|
74
|
+
extension builds on the same core - build the core once, two front-ends.
|
|
75
|
+
|
|
76
|
+
- **Encryption:** AES-256-GCM with one account data key held locally at
|
|
77
|
+
`~/.obsideo/data.key`. Copy that key to another machine and everything is
|
|
78
|
+
readable there; lose it and the data is unrecoverable by design. Back it up.
|
|
79
|
+
- **Signing identity:** an Ed25519 key (`~/.obsideo/signing.key`) authorizes
|
|
80
|
+
deletes (Principle 2 - the network can't delete your data without your
|
|
81
|
+
signature). Generated locally; only the public half is ever sent.
|
|
82
|
+
- **Filename encryption:** on by default (`encrypt_names`). Each path component
|
|
83
|
+
(folder names + filename) is encrypted on your machine with AES-SIV - deterministic,
|
|
84
|
+
so `ls`/`cd` still list under the encrypted prefix and the client decrypts the
|
|
85
|
+
returned tokens back to real names. Turn it off with `config set encrypt_names false`
|
|
86
|
+
(interop/debug; existing objects aren't migrated).
|
|
87
|
+
- **What Obsideo sees:** ciphertext only - never a filename or a byte of content.
|
|
88
|
+
Residual leaks (by design at this level): directory *structure* (depth, fan-out),
|
|
89
|
+
object *sizes* (ciphertext ≈ plaintext), and object *counts*. Identical names
|
|
90
|
+
encrypt to identical tokens, so Obsideo can tell two objects share a name - never
|
|
91
|
+
what it is.
|
|
92
|
+
|
|
93
|
+
## License
|
|
94
|
+
|
|
95
|
+
MIT
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# obsideo-drive
|
|
2
|
+
|
|
3
|
+
**Encrypted storage we can't read.** Save, browse, and sync whatever you want
|
|
4
|
+
from your terminal. Files are encrypted on your machine before they leave, so
|
|
5
|
+
Obsideo's gateway, coordinator, and storage providers only ever see ciphertext.
|
|
6
|
+
Your data lands on three independent providers (RF=3).
|
|
7
|
+
|
|
8
|
+
```
|
|
9
|
+
pip install obsideo-drive
|
|
10
|
+
obsideo login # email -> 3 GB free
|
|
11
|
+
obsideo # open the shell
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Get started
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
$ obsideo login
|
|
18
|
+
Enter your email: you@example.com
|
|
19
|
+
Check your email for a verification code.
|
|
20
|
+
Enter verification code: 482913
|
|
21
|
+
You're all set. 3 GB free.
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Login is handled by Obsideo's signup service at **`signup.obsideo.io`**: it emails
|
|
25
|
+
you a one-time code and provisions your free tier. There's no password - just your
|
|
26
|
+
email and a local key (see *How it works*).
|
|
27
|
+
|
|
28
|
+
Then either drop into the shell or run one-shot commands:
|
|
29
|
+
|
|
30
|
+
```
|
|
31
|
+
$ obsideo
|
|
32
|
+
obsideo:/ put ~/notes.txt
|
|
33
|
+
obsideo:/ ls
|
|
34
|
+
[file] notes.txt 1.2 KB
|
|
35
|
+
obsideo:/ put ~/photos # a whole folder, uploaded recursively
|
|
36
|
+
obsideo:/ put "C:\My Files\tax return.pdf" # paths with spaces: just quote them
|
|
37
|
+
obsideo:/ mkdir trip
|
|
38
|
+
obsideo:/ cd trip
|
|
39
|
+
obsideo:/trip/ put ~/cat.jpg
|
|
40
|
+
obsideo:/trip/ get cat.jpg ./downloaded.jpg
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Commands
|
|
44
|
+
|
|
45
|
+
| Command | Description |
|
|
46
|
+
|---|---|
|
|
47
|
+
| `obsideo login` | Sign up / log in with your email (3 GB free) |
|
|
48
|
+
| `ls [path]` | List files and folders |
|
|
49
|
+
| `cd <path>` / `pwd` | Move around / show location |
|
|
50
|
+
| `put <local> [name]` | Encrypt + upload a file, or a whole folder (recursive). `--no-encrypt` to store as-is |
|
|
51
|
+
| `get <remote> [local]` | Download + decrypt a file |
|
|
52
|
+
| `rm <remote>` | Delete a file |
|
|
53
|
+
| `mkdir <name>` | Create a folder |
|
|
54
|
+
| `info <remote>` | Show object metadata |
|
|
55
|
+
| `account` | Show storage used vs. your free quota |
|
|
56
|
+
| `sync push\|pull\|status` | Sync your local folder with Obsideo |
|
|
57
|
+
| `config [set k v]` | Show or change settings |
|
|
58
|
+
|
|
59
|
+
## How it works
|
|
60
|
+
|
|
61
|
+
`obsideo` is a thin front-end over the shared **`obsideo_core`** layer (storage
|
|
62
|
+
seam, signing identity, account crypto, email-OTP login). The `mlvault` ML
|
|
63
|
+
extension builds on the same core - build the core once, two front-ends.
|
|
64
|
+
|
|
65
|
+
- **Encryption:** AES-256-GCM with one account data key held locally at
|
|
66
|
+
`~/.obsideo/data.key`. Copy that key to another machine and everything is
|
|
67
|
+
readable there; lose it and the data is unrecoverable by design. Back it up.
|
|
68
|
+
- **Signing identity:** an Ed25519 key (`~/.obsideo/signing.key`) authorizes
|
|
69
|
+
deletes (Principle 2 - the network can't delete your data without your
|
|
70
|
+
signature). Generated locally; only the public half is ever sent.
|
|
71
|
+
- **Filename encryption:** on by default (`encrypt_names`). Each path component
|
|
72
|
+
(folder names + filename) is encrypted on your machine with AES-SIV - deterministic,
|
|
73
|
+
so `ls`/`cd` still list under the encrypted prefix and the client decrypts the
|
|
74
|
+
returned tokens back to real names. Turn it off with `config set encrypt_names false`
|
|
75
|
+
(interop/debug; existing objects aren't migrated).
|
|
76
|
+
- **What Obsideo sees:** ciphertext only - never a filename or a byte of content.
|
|
77
|
+
Residual leaks (by design at this level): directory *structure* (depth, fan-out),
|
|
78
|
+
object *sizes* (ciphertext ≈ plaintext), and object *counts*. Identical names
|
|
79
|
+
encrypt to identical tokens, so Obsideo can tell two objects share a name - never
|
|
80
|
+
what it is.
|
|
81
|
+
|
|
82
|
+
## License
|
|
83
|
+
|
|
84
|
+
MIT
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""The general Obsideo CLI front-end (REPL + browse + sync) on obsideo_core."""
|