swt3-ai 0.5.3 → 0.5.4
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.
- checksums.yaml +4 -4
- data/lib/swt3_ai/types.rb +5 -2
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4bd7fc9f9eb8347cb398afaca3c6ab4dc0762dbd56f17130f08206e68b97d5a8
|
|
4
|
+
data.tar.gz: b241c76ab88c8db5bee4ac24bf13b79748496c87450389464d656797881e7290
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 429a20abb0b4dd98aeed4ad6c019c1748d4496e57b49905bdfd492de2e1ee394c804d2f36012e6ddeaf3c856dbe210d19a0bbb5e3f14b8c031686155106176a5
|
|
7
|
+
data.tar.gz: 1d588c3db447ed28b1d0c3b2f807f77145938eafcdfce4dda147a11d93f4d65fe4c552196e23801e4a1264a8154a7a972f034608cac54ee9e7075f77987b11db
|
data/lib/swt3_ai/types.rb
CHANGED
|
@@ -6,7 +6,7 @@ module Swt3Ai
|
|
|
6
6
|
:fingerprint_timestamp_ms, :ai_model_id, :ai_prompt_hash,
|
|
7
7
|
:ai_response_hash, :ai_latency_ms, :ai_input_tokens,
|
|
8
8
|
:ai_output_tokens, :agent_id, :cycle_id,
|
|
9
|
-
:payload_signature, :signing_key_id, :signing_key_version,
|
|
9
|
+
:payload_signature, :signing_algorithm, :signing_key_id, :signing_key_version,
|
|
10
10
|
:policy_version_hash, :jurisdiction, :legal_basis,
|
|
11
11
|
:purpose_class, :authorization_id,
|
|
12
12
|
:revocation_target, :revocation_reason,
|
|
@@ -24,12 +24,15 @@ module Swt3Ai
|
|
|
24
24
|
WitnessConfig = Struct.new(
|
|
25
25
|
:endpoint, :api_key, :tenant_id, :clearing_level,
|
|
26
26
|
:buffer_size, :flush_interval, :timeout, :max_retries,
|
|
27
|
-
:agent_id, :signing_key, :signing_key_id, :signing_key_version,
|
|
27
|
+
:agent_id, :signing_key, :signing_algorithm, :signing_key_id, :signing_key_version,
|
|
28
28
|
:cycle_id, :policy_version,
|
|
29
29
|
:jurisdiction, :legal_basis, :purpose_class,
|
|
30
30
|
keyword_init: true
|
|
31
31
|
)
|
|
32
32
|
|
|
33
|
+
# Valid signing algorithms.
|
|
34
|
+
SIGNING_ALGORITHMS = %w[hmac-sha256 ml-dsa-65].freeze
|
|
35
|
+
|
|
33
36
|
# Revocation reason codes for AI-REV.1 anchors.
|
|
34
37
|
REVOCATION_REASONS = {
|
|
35
38
|
"unspecified" => 0,
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: swt3-ai
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- TeNova Labs
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-06-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Mint, verify, and sign SWT3 witness anchors for AI compliance. EU AI
|
|
14
14
|
Act, NIST AI RMF, CMMC, SR 11-7. Cross-language parity with Python and TypeScript
|
|
@@ -52,6 +52,6 @@ requirements: []
|
|
|
52
52
|
rubygems_version: 3.4.20
|
|
53
53
|
signing_key:
|
|
54
54
|
specification_version: 4
|
|
55
|
-
summary: 'SWT3 AI Witness SDK: cryptographic attestation for AI inference.
|
|
56
|
-
5 languages,
|
|
55
|
+
summary: 'SWT3 AI Witness SDK: cryptographic attestation for AI inference. 65 procedures,
|
|
56
|
+
41 namespaces, 5 languages, 14 profiles.'
|
|
57
57
|
test_files: []
|