openentity 0.5.4__tar.gz → 0.5.5__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.
- {openentity-0.5.4 → openentity-0.5.5}/PKG-INFO +2 -2
- {openentity-0.5.4 → openentity-0.5.5}/README.md +1 -1
- {openentity-0.5.4 → openentity-0.5.5}/openentity/__init__.py +1 -1
- {openentity-0.5.4 → openentity-0.5.5}/openentity/client.py +1 -1
- {openentity-0.5.4 → openentity-0.5.5}/pyproject.toml +1 -1
- {openentity-0.5.4 → openentity-0.5.5}/uv.lock +1 -1
- {openentity-0.5.4 → openentity-0.5.5}/.gitignore +0 -0
- {openentity-0.5.4 → openentity-0.5.5}/openentity/cli.py +0 -0
- {openentity-0.5.4 → openentity-0.5.5}/openentity/core.py +0 -0
- {openentity-0.5.4 → openentity-0.5.5}/openentity/httpsig.py +0 -0
- {openentity-0.5.4 → openentity-0.5.5}/openentity/identity.py +0 -0
- {openentity-0.5.4 → openentity-0.5.5}/openentity/issuer.py +0 -0
- {openentity-0.5.4 → openentity-0.5.5}/openentity/report.py +0 -0
- {openentity-0.5.4 → openentity-0.5.5}/openentity/schema.py +0 -0
- {openentity-0.5.4 → openentity-0.5.5}/openentity/schemas/openentity-1.0.json +0 -0
- {openentity-0.5.4 → openentity-0.5.5}/tests/test_cli.py +0 -0
- {openentity-0.5.4 → openentity-0.5.5}/tests/test_client.py +0 -0
- {openentity-0.5.4 → openentity-0.5.5}/tests/test_core.py +0 -0
- {openentity-0.5.4 → openentity-0.5.5}/tests/test_httpsig.py +0 -0
- {openentity-0.5.4 → openentity-0.5.5}/tests/test_identity.py +0 -0
- {openentity-0.5.4 → openentity-0.5.5}/tests/test_issuer.py +0 -0
- {openentity-0.5.4 → openentity-0.5.5}/tests/test_parity.py +0 -0
- {openentity-0.5.4 → openentity-0.5.5}/tests/test_trust.py +0 -0
- {openentity-0.5.4 → openentity-0.5.5}/tests/test_verifier.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: openentity
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.5
|
|
4
4
|
Summary: Open Entity (OEIS-1) client: JCS, did:key, eddsa-jcs-2022, Merkle proofs, adopt().
|
|
5
5
|
Project-URL: Homepage, https://openentity.org
|
|
6
6
|
Project-URL: Documentation, https://oeis.dev
|
|
@@ -53,7 +53,7 @@ Exit codes match the npm CLI: 0 ok, 1 usage, 2 network, 3 verification failed, 4
|
|
|
53
53
|
|
|
54
54
|
Library, each taking the 32-byte seed and a registry URL: `adopt(name, registry=...)`, `withdraw(seed, registry)`, `record(seed, [(kind, payload), ...], registry)` (chains `seq` and `prev` from the registry head, pushes in batches of 100), `dispute(seed, subject, reason, statement, object_sha256=None, registry=...)`, `find(registry, capability=..., q=..., alias_type=..., level=...)`, `present(seed, audience, nonce, registry=None)`. Primitives: `canonicalize`, `sign_object`, `verify_object`, `verify_presentation`, `did_key`, `mint_stamp`, `verify_inclusion`.
|
|
55
55
|
|
|
56
|
-
Shared core: `Identity.load_or_create()` (key in the OS keychain, else `~/.openentity/identity.key` at 0600; pass `.seed` to the calls above), `adopt(..., client="adk")` (an unsigned label: adk, goose, langchain, ui-tars, cli, other), `trust(eid)` (a `TrustReport` from registry reads only, every signature verified locally, cached 5 minutes, `ok=False` on any failure), and `openentity.issuer` (`attestation`, `revocation`, `did_document`, `openentity_json`).
|
|
56
|
+
Shared core: `Identity.load_or_create()` (key in the OS keychain, else `~/.openentity/identity.key` at 0600; pass `.seed` to the calls above), `adopt(..., client="adk")` (an unsigned label: adk, crewai, goose, langchain, openai-agents, ui-tars, cli, other), `trust(eid)` (a `TrustReport` from registry reads only, every signature verified locally, cached 5 minutes, `ok=False` on any failure), and `openentity.issuer` (`attestation`, `revocation`, `did_document`, `openentity_json`).
|
|
57
57
|
|
|
58
58
|
HTTP message signatures (RFC 9421, Web Bot Auth profile): `sign_request(method, url, body, private_key, did)` returns `Signature-Input`, `Signature` and, for a non-empty body, `Content-Digest` (`private_key` is an `Identity`, a `KeyPair` or a 32-byte seed; ed25519, `keyid` = the signer's did:key, covers `@method`, `@target-uri`, `content-digest`; `created`, `expires`, `nonce`). `verify_request(method, url, headers, body)` returns `{"did", "keyid", "created", "expires", "nonce"}` or raises `HttpSigError` with a `.code` (`missing_headers`, `unknown_alg`, `bad_keyid`, `digest_mismatch`, `created_in_future`, `created_too_old`, `expired`, `lifetime_too_long`, `missing_nonce`, `bad_signature`). Nonce replay tracking is yours. Shared vectors: `test-vectors/http-signature.json`.
|
|
59
59
|
|
|
@@ -37,7 +37,7 @@ Exit codes match the npm CLI: 0 ok, 1 usage, 2 network, 3 verification failed, 4
|
|
|
37
37
|
|
|
38
38
|
Library, each taking the 32-byte seed and a registry URL: `adopt(name, registry=...)`, `withdraw(seed, registry)`, `record(seed, [(kind, payload), ...], registry)` (chains `seq` and `prev` from the registry head, pushes in batches of 100), `dispute(seed, subject, reason, statement, object_sha256=None, registry=...)`, `find(registry, capability=..., q=..., alias_type=..., level=...)`, `present(seed, audience, nonce, registry=None)`. Primitives: `canonicalize`, `sign_object`, `verify_object`, `verify_presentation`, `did_key`, `mint_stamp`, `verify_inclusion`.
|
|
39
39
|
|
|
40
|
-
Shared core: `Identity.load_or_create()` (key in the OS keychain, else `~/.openentity/identity.key` at 0600; pass `.seed` to the calls above), `adopt(..., client="adk")` (an unsigned label: adk, goose, langchain, ui-tars, cli, other), `trust(eid)` (a `TrustReport` from registry reads only, every signature verified locally, cached 5 minutes, `ok=False` on any failure), and `openentity.issuer` (`attestation`, `revocation`, `did_document`, `openentity_json`).
|
|
40
|
+
Shared core: `Identity.load_or_create()` (key in the OS keychain, else `~/.openentity/identity.key` at 0600; pass `.seed` to the calls above), `adopt(..., client="adk")` (an unsigned label: adk, crewai, goose, langchain, openai-agents, ui-tars, cli, other), `trust(eid)` (a `TrustReport` from registry reads only, every signature verified locally, cached 5 minutes, `ok=False` on any failure), and `openentity.issuer` (`attestation`, `revocation`, `did_document`, `openentity_json`).
|
|
41
41
|
|
|
42
42
|
HTTP message signatures (RFC 9421, Web Bot Auth profile): `sign_request(method, url, body, private_key, did)` returns `Signature-Input`, `Signature` and, for a non-empty body, `Content-Digest` (`private_key` is an `Identity`, a `KeyPair` or a 32-byte seed; ed25519, `keyid` = the signer's did:key, covers `@method`, `@target-uri`, `content-digest`; `created`, `expires`, `nonce`). `verify_request(method, url, headers, body)` returns `{"did", "keyid", "created", "expires", "nonce"}` or raises `HttpSigError` with a `.code` (`missing_headers`, `unknown_alg`, `bad_keyid`, `digest_mismatch`, `created_in_future`, `created_too_old`, `expired`, `lifetime_too_long`, `missing_nonce`, `bad_signature`). Nonce replay tracking is yours. Shared vectors: `test-vectors/http-signature.json`.
|
|
43
43
|
|
|
@@ -14,7 +14,7 @@ except PackageNotFoundError:
|
|
|
14
14
|
_VERSION = "dev"
|
|
15
15
|
|
|
16
16
|
DEFAULT_REGISTRY = "https://openentity.org"
|
|
17
|
-
CLIENTS = ("adk", "goose", "langchain", "ui-tars", "cli", "other") # the registry's allowlist for the unsigned `client` label
|
|
17
|
+
CLIENTS = ("adk", "crewai", "goose", "langchain", "openai-agents", "ui-tars", "cli", "other") # the registry's allowlist for the unsigned `client` label
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
class RegistryError(Exception):
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|