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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/swt3_ai/types.rb +5 -2
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d56f1a44680222d2a64430fb8834ce10037d8654e44a73530769e2aeac79029a
4
- data.tar.gz: a6ea747ef445fb78733fa5e76d244f5adb6e72b7020bd8881a90ed6f516c2a66
3
+ metadata.gz: 4bd7fc9f9eb8347cb398afaca3c6ab4dc0762dbd56f17130f08206e68b97d5a8
4
+ data.tar.gz: b241c76ab88c8db5bee4ac24bf13b79748496c87450389464d656797881e7290
5
5
  SHA512:
6
- metadata.gz: d5f10ceee9f71eff463eec8a220566e76eefb7c7066f2f2afab240609caf283152ab57e4a51a5d0910bc6c6c6d96b949f5c55adc6a62500aa7369205a11ec78e
7
- data.tar.gz: bba8c788d97a0f9c207fbba8c6099ffab21226515cdc3d4279be4ca6db7d7cf9b4d0cd356e1b00d54155049f9e6d1ef2e1fdd1d78696682708ac8d5615b0c590
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.3
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-05-26 00:00:00.000000000 Z
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. 47 procedures,
56
- 5 languages, 7 profiles.'
55
+ summary: 'SWT3 AI Witness SDK: cryptographic attestation for AI inference. 65 procedures,
56
+ 41 namespaces, 5 languages, 14 profiles.'
57
57
  test_files: []