edwh-passbolt-plugin 0.1.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.
- edwh_passbolt_plugin-0.1.0/.crush/.gitignore +1 -0
- edwh_passbolt_plugin-0.1.0/.crush/crush.db +0 -0
- edwh_passbolt_plugin-0.1.0/.crush/init +0 -0
- edwh_passbolt_plugin-0.1.0/.crush/logs/crush.log +15 -0
- edwh_passbolt_plugin-0.1.0/.gitignore +6 -0
- edwh_passbolt_plugin-0.1.0/CHANGELOG.md +17 -0
- edwh_passbolt_plugin-0.1.0/LICENSE.txt +9 -0
- edwh_passbolt_plugin-0.1.0/PKG-INFO +97 -0
- edwh_passbolt_plugin-0.1.0/README.md +66 -0
- edwh_passbolt_plugin-0.1.0/pyproject.toml +64 -0
- edwh_passbolt_plugin-0.1.0/src/edwh_passbolt_plugin/__about__.py +4 -0
- edwh_passbolt_plugin-0.1.0/src/edwh_passbolt_plugin/__init__.py +6 -0
- edwh_passbolt_plugin-0.1.0/src/edwh_passbolt_plugin/passbolt.py +1838 -0
- edwh_passbolt_plugin-0.1.0/src/edwh_passbolt_plugin/passbolt_plugin.py +455 -0
- edwh_passbolt_plugin-0.1.0/src/edwh_passbolt_plugin/types.py +170 -0
- edwh_passbolt_plugin-0.1.0/tests/__init__.py +3 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
*
|
|
Binary file
|
|
File without changes
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{"time":"2026-02-10T12:20:41.247091837+01:00","level":"INFO","source":{"function":"github.com/charmbracelet/crush/internal/config.(*catwalkSync).Get.func1","file":"github.com/charmbracelet/crush/internal/config/catwalk.go","line":55},"msg":"Fetching providers from Catwalk"}
|
|
2
|
+
{"time":"2026-02-10T12:20:41.692706746+01:00","level":"INFO","source":{"function":"github.com/charmbracelet/crush/internal/config.cache[...].Store","file":"github.com/charmbracelet/crush/internal/config/provider.go","line":213},"msg":"Saving provider data to disk","path":"/home/robin/.local/share/crush/providers.json"}
|
|
3
|
+
{"time":"2026-02-10T12:20:41.704311668+01:00","level":"INFO","msg":"OK 20250424200609_initial.sql (1.15ms)"}
|
|
4
|
+
{"time":"2026-02-10T12:20:41.704694871+01:00","level":"INFO","msg":"OK 20250515105448_add_summary_message_id.sql (358.92µs)"}
|
|
5
|
+
{"time":"2026-02-10T12:20:41.705040974+01:00","level":"INFO","msg":"OK 20250624000000_add_created_at_indexes.sql (326.59µs)"}
|
|
6
|
+
{"time":"2026-02-10T12:20:41.705362502+01:00","level":"INFO","msg":"OK 20250627000000_add_provider_to_messages.sql (306.53µs)"}
|
|
7
|
+
{"time":"2026-02-10T12:20:41.705731809+01:00","level":"INFO","msg":"OK 20250810000000_add_is_summary_message.sql (313.19µs)"}
|
|
8
|
+
{"time":"2026-02-10T12:20:41.706029202+01:00","level":"INFO","msg":"OK 20250812000000_add_todos_to_sessions.sql (281.62µs)"}
|
|
9
|
+
{"time":"2026-02-10T12:20:41.706465794+01:00","level":"INFO","msg":"OK 20260127000000_add_read_files_table.sql (421.02µs)"}
|
|
10
|
+
{"time":"2026-02-10T12:20:41.706471965+01:00","level":"INFO","msg":"goose: successfully migrated database to version: 20260127000000"}
|
|
11
|
+
{"time":"2026-02-10T12:20:41.707417704+01:00","level":"INFO","source":{"function":"github.com/charmbracelet/crush/internal/agent/tools/mcp.Initialize","file":"github.com/charmbracelet/crush/internal/agent/tools/mcp/init.go","line":153},"msg":"Initializing MCP clients"}
|
|
12
|
+
{"time":"2026-02-10T12:23:59.109895479+01:00","level":"INFO","source":{"function":"github.com/charmbracelet/crush/internal/config.(*catwalkSync).Get.func1","file":"github.com/charmbracelet/crush/internal/config/catwalk.go","line":55},"msg":"Fetching providers from Catwalk"}
|
|
13
|
+
{"time":"2026-02-10T12:23:59.264002288+01:00","level":"INFO","source":{"function":"github.com/charmbracelet/crush/internal/config.(*catwalkSync).Get.func1","file":"github.com/charmbracelet/crush/internal/config/catwalk.go","line":63},"msg":"Catwalk providers not modified"}
|
|
14
|
+
{"time":"2026-02-10T12:23:59.26621876+01:00","level":"INFO","msg":"goose: no migrations to run. current version: 20260127000000"}
|
|
15
|
+
{"time":"2026-02-10T12:23:59.26707887+01:00","level":"INFO","source":{"function":"github.com/charmbracelet/crush/internal/agent/tools/mcp.Initialize","file":"github.com/charmbracelet/crush/internal/agent/tools/mcp/init.go","line":153},"msg":"Initializing MCP clients"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
<!--next-version-placeholder-->
|
|
4
|
+
|
|
5
|
+
## v0.1.0 (2026-02-10)
|
|
6
|
+
|
|
7
|
+
### Feature
|
|
8
|
+
|
|
9
|
+
* Support sharing/unsharing passwords ([`a879c81`](https://github.com/educationwarehouse/edwh-passbolt-plugin/commit/a879c817eb0ba1bb29702a17e6534f860fab31e1))
|
|
10
|
+
* Improved typing and docs ([`37d8a9c`](https://github.com/educationwarehouse/edwh-passbolt-plugin/commit/37d8a9cbe64a2a9cb7e580b691af997798102124))
|
|
11
|
+
* `search` subcommand, disabled untested 'rotate' ([`2211cdb`](https://github.com/educationwarehouse/edwh-passbolt-plugin/commit/2211cdbdb65c6d260c664aa854796f5a8c6d720c))
|
|
12
|
+
* List, add, set ([`852535f`](https://github.com/educationwarehouse/edwh-passbolt-plugin/commit/852535ff125df52f41825138a5d8d21b54d2bcc6))
|
|
13
|
+
* Implemented authentication ([`6bc5573`](https://github.com/educationwarehouse/edwh-passbolt-plugin/commit/6bc5573e4f904a6b6e5dec443533a14a0d9ed955))
|
|
14
|
+
|
|
15
|
+
### Fix
|
|
16
|
+
|
|
17
|
+
* **passphrase:** Use cli prompt instead of OS popup ([`201cd62`](https://github.com/educationwarehouse/edwh-passbolt-plugin/commit/201cd62925bac7986ee59be9f6b852a1c0dc112e))
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023-present Remco Boerma <remco.b@educationwarehouse.nl>
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
|
+
|
|
7
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
8
|
+
|
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: edwh-passbolt-plugin
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Passbolt tasks plugin for edwh
|
|
5
|
+
Project-URL: Documentation, https://github.com/educationwarehouse/edwh-passbolt-plugin#readme
|
|
6
|
+
Project-URL: Issues, https://github.com/educationwarehouse/edwh-passbolt-plugin/issues
|
|
7
|
+
Project-URL: Source, https://github.com/educationwarehouse/edwh-passbolt-plugin
|
|
8
|
+
Author-email: Remco Boerma <remco.b@educationwarehouse.nl>, Robin van der Noord <robin.vdn@educationwarehouse.nl>
|
|
9
|
+
License-Expression: MIT
|
|
10
|
+
License-File: LICENSE.txt
|
|
11
|
+
Keywords: edwh,passbolt
|
|
12
|
+
Classifier: Development Status :: 4 - Beta
|
|
13
|
+
Classifier: Programming Language :: Python
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
18
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
19
|
+
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
20
|
+
Requires-Python: >=3.11
|
|
21
|
+
Requires-Dist: edwh
|
|
22
|
+
Requires-Dist: httpx
|
|
23
|
+
Requires-Dist: rapidfuzz
|
|
24
|
+
Requires-Dist: rich
|
|
25
|
+
Requires-Dist: threadful
|
|
26
|
+
Provides-Extra: dev
|
|
27
|
+
Requires-Dist: black; extra == 'dev'
|
|
28
|
+
Requires-Dist: hatch; extra == 'dev'
|
|
29
|
+
Requires-Dist: python-semantic-release<8; extra == 'dev'
|
|
30
|
+
Description-Content-Type: text/markdown
|
|
31
|
+
|
|
32
|
+
# edwh-passbolt-plugin
|
|
33
|
+
|
|
34
|
+
[](https://pypi.org/project/edwh-passbolt-plugin)
|
|
35
|
+
[](https://pypi.org/project/edwh-passbolt-plugin)
|
|
36
|
+
|
|
37
|
+
-----
|
|
38
|
+
|
|
39
|
+
**Table of Contents**
|
|
40
|
+
|
|
41
|
+
- [Installation](#installation)
|
|
42
|
+
- [Usage](#usage)
|
|
43
|
+
- [License](#license)
|
|
44
|
+
|
|
45
|
+
## Installation
|
|
46
|
+
|
|
47
|
+
```console
|
|
48
|
+
edwh plugin.add passbolt
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
If you don't have `edwh` yet:
|
|
52
|
+
|
|
53
|
+
```console
|
|
54
|
+
uvenv install edwh[passbolt]
|
|
55
|
+
# or pipx, pip, ...
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
## Usage
|
|
59
|
+
|
|
60
|
+
Typical flow starts with a login:
|
|
61
|
+
|
|
62
|
+
```console
|
|
63
|
+
edwh passbolt.login
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
You will be prompted for:
|
|
67
|
+
- Passbolt host URL (e.g. `https://passbolt.edwh.nl`).
|
|
68
|
+
- Your Passbolt user UUID (find it in the Passbolt UI under users; it is in the URL).
|
|
69
|
+
- How to import a private key: provide a path to a recovery kit, paste a PGP private key block, or skip.
|
|
70
|
+
- Your GPG key passphrase.
|
|
71
|
+
|
|
72
|
+
After login, your OS may occasionally show a passphrase prompt popup (via `gpg-agent`/`pinentry`).
|
|
73
|
+
This depends on your system and the GPG Agent cache/expiry time.
|
|
74
|
+
|
|
75
|
+
Main commands:
|
|
76
|
+
|
|
77
|
+
```console
|
|
78
|
+
edwh passbolt.list [--folder ...]
|
|
79
|
+
edwh passbolt.get <name-or-id> [--field password|user|uri]
|
|
80
|
+
edwh passbolt.set [--name ...] [--password ...] [--username ...] [--uri ...] [--folder ...]
|
|
81
|
+
edwh passbolt.search <term> [--limit 10] [--threshold 70]
|
|
82
|
+
edwh passbolt.list-folders
|
|
83
|
+
edwh passbolt.delete <name-or-id>
|
|
84
|
+
edwh passbolt.share <name-or-id> [--user "Alice, Bob"] [--group "Admins"] [--permission read|update|owner]
|
|
85
|
+
edwh passbolt.unshare <name-or-id> [--user "Alice, Bob"] [--group "Admins"]
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
For full command listings and help text:
|
|
89
|
+
|
|
90
|
+
```console
|
|
91
|
+
edwh help passbolt
|
|
92
|
+
edwh help passbolt.<command>
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
## License
|
|
96
|
+
|
|
97
|
+
`edwh-passbolt-plugin` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# edwh-passbolt-plugin
|
|
2
|
+
|
|
3
|
+
[](https://pypi.org/project/edwh-passbolt-plugin)
|
|
4
|
+
[](https://pypi.org/project/edwh-passbolt-plugin)
|
|
5
|
+
|
|
6
|
+
-----
|
|
7
|
+
|
|
8
|
+
**Table of Contents**
|
|
9
|
+
|
|
10
|
+
- [Installation](#installation)
|
|
11
|
+
- [Usage](#usage)
|
|
12
|
+
- [License](#license)
|
|
13
|
+
|
|
14
|
+
## Installation
|
|
15
|
+
|
|
16
|
+
```console
|
|
17
|
+
edwh plugin.add passbolt
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
If you don't have `edwh` yet:
|
|
21
|
+
|
|
22
|
+
```console
|
|
23
|
+
uvenv install edwh[passbolt]
|
|
24
|
+
# or pipx, pip, ...
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Usage
|
|
28
|
+
|
|
29
|
+
Typical flow starts with a login:
|
|
30
|
+
|
|
31
|
+
```console
|
|
32
|
+
edwh passbolt.login
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
You will be prompted for:
|
|
36
|
+
- Passbolt host URL (e.g. `https://passbolt.edwh.nl`).
|
|
37
|
+
- Your Passbolt user UUID (find it in the Passbolt UI under users; it is in the URL).
|
|
38
|
+
- How to import a private key: provide a path to a recovery kit, paste a PGP private key block, or skip.
|
|
39
|
+
- Your GPG key passphrase.
|
|
40
|
+
|
|
41
|
+
After login, your OS may occasionally show a passphrase prompt popup (via `gpg-agent`/`pinentry`).
|
|
42
|
+
This depends on your system and the GPG Agent cache/expiry time.
|
|
43
|
+
|
|
44
|
+
Main commands:
|
|
45
|
+
|
|
46
|
+
```console
|
|
47
|
+
edwh passbolt.list [--folder ...]
|
|
48
|
+
edwh passbolt.get <name-or-id> [--field password|user|uri]
|
|
49
|
+
edwh passbolt.set [--name ...] [--password ...] [--username ...] [--uri ...] [--folder ...]
|
|
50
|
+
edwh passbolt.search <term> [--limit 10] [--threshold 70]
|
|
51
|
+
edwh passbolt.list-folders
|
|
52
|
+
edwh passbolt.delete <name-or-id>
|
|
53
|
+
edwh passbolt.share <name-or-id> [--user "Alice, Bob"] [--group "Admins"] [--permission read|update|owner]
|
|
54
|
+
edwh passbolt.unshare <name-or-id> [--user "Alice, Bob"] [--group "Admins"]
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
For full command listings and help text:
|
|
58
|
+
|
|
59
|
+
```console
|
|
60
|
+
edwh help passbolt
|
|
61
|
+
edwh help passbolt.<command>
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## License
|
|
65
|
+
|
|
66
|
+
`edwh-passbolt-plugin` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["hatchling"]
|
|
3
|
+
build-backend = "hatchling.build"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "edwh-passbolt-plugin"
|
|
7
|
+
dynamic = ["version"]
|
|
8
|
+
description = "Passbolt tasks plugin for edwh"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.11"
|
|
11
|
+
license = "MIT"
|
|
12
|
+
keywords = ["edwh", "passbolt"]
|
|
13
|
+
authors = [
|
|
14
|
+
{ name = "Remco Boerma", email = "remco.b@educationwarehouse.nl" },
|
|
15
|
+
{ name = "Robin van der Noord", email = "robin.vdn@educationwarehouse.nl" },
|
|
16
|
+
]
|
|
17
|
+
classifiers = [
|
|
18
|
+
"Development Status :: 4 - Beta",
|
|
19
|
+
"Programming Language :: Python",
|
|
20
|
+
"Programming Language :: Python :: 3.11",
|
|
21
|
+
"Programming Language :: Python :: 3.12",
|
|
22
|
+
"Programming Language :: Python :: 3.13",
|
|
23
|
+
"Programming Language :: Python :: 3.14",
|
|
24
|
+
"Programming Language :: Python :: Implementation :: CPython",
|
|
25
|
+
"Programming Language :: Python :: Implementation :: PyPy",
|
|
26
|
+
]
|
|
27
|
+
dependencies = [
|
|
28
|
+
"edwh",
|
|
29
|
+
"httpx",
|
|
30
|
+
"rapidfuzz",
|
|
31
|
+
"rich",
|
|
32
|
+
"threadful",
|
|
33
|
+
]
|
|
34
|
+
|
|
35
|
+
[project.optional-dependencies]
|
|
36
|
+
dev = [
|
|
37
|
+
"hatch",
|
|
38
|
+
"python-semantic-release < 8",
|
|
39
|
+
"black",
|
|
40
|
+
]
|
|
41
|
+
|
|
42
|
+
[project.urls]
|
|
43
|
+
Documentation = "https://github.com/educationwarehouse/edwh-passbolt-plugin#readme"
|
|
44
|
+
Issues = "https://github.com/educationwarehouse/edwh-passbolt-plugin/issues"
|
|
45
|
+
Source = "https://github.com/educationwarehouse/edwh-passbolt-plugin"
|
|
46
|
+
|
|
47
|
+
# https://packaging.python.org/en/latest/guides/creating-and-discovering-plugins/#using-package-metadata
|
|
48
|
+
[project.entry-points."edwh.tasks"]
|
|
49
|
+
# namespace: (edwh passbolt.command)
|
|
50
|
+
passbolt = "edwh_passbolt_plugin.passbolt_plugin"
|
|
51
|
+
|
|
52
|
+
[tool.hatch.version]
|
|
53
|
+
path = "src/edwh_passbolt_plugin/__about__.py"
|
|
54
|
+
|
|
55
|
+
[tool.semantic_release]
|
|
56
|
+
branch = "master"
|
|
57
|
+
version_variable = "src/edwh_passbolt_plugin/__about__.py:__version__"
|
|
58
|
+
change_log = "CHANGELOG.md"
|
|
59
|
+
upload_to_repository = false
|
|
60
|
+
upload_to_release = false
|
|
61
|
+
build_command = "hatch build"
|
|
62
|
+
|
|
63
|
+
parser_angular_minor_types = "feat,minor"
|
|
64
|
+
parser_angular_patch_types = "fix,perf,refactor,build,chore,patch"
|