Claude 24f816b6a3
Consolidate 22 sibling repos into layered organism structure
Place useful parts of the surrounding repos into sica-fondt by layer, per the
body model (Ada = membrane; brain/endocrine/capabilities/knowledge non-Ada):

- brain/        LLM reasoning + providers (dapr, hermes, MoMoA)
- capabilities/ REPRAG sidecars: hermes tools/skills, dapr tools, parallel
                dispatch, A51 channels, and the OSINT cluster
- knowledge/    LORAG corpus: 754 cyber-skills, agency personas, secure-coding,
                MITRE ATT&CK data
- reference/    defensive threat-reference (C3, shhbruh doc) + AdaYaml parser

License handling: AGPL sources (worldosint, advanced_evolution, mercury,
Reticulum) and GPL DeTTECT are SPEC-only clean-room/port descriptions — no
copyleft code copied. MIT/Apache/data parts copied as working trees.

Safety: shhbruh escape/persistence material and C3 covert-C2 kept as reference
only, not wired into the running organism. See CONSOLIDATION.md.

https://claude.ai/code/session_01UehUqEXXJJCsHoA4voCU5c
2026-06-10 06:53:01 +00:00

67 lines
1.3 KiB
Markdown

# Workflows - Digital Signatures with Ed25519
## Workflow 1: Key Generation and Storage
```
[Generate Ed25519 Key Pair]
(32-byte private seed -> 32-byte public key)
|
[Serialize Private Key (PKCS#8 PEM)]
[Serialize Public Key (SubjectPublicKeyInfo PEM)]
|
[Encrypt Private Key with Passphrase]
|
[Store with Metadata]
(key_id, fingerprint, creation_date)
```
## Workflow 2: Sign Document
```
[Document to Sign]
|
[Load Private Key (decrypt passphrase)]
|
[Ed25519 Sign]
(deterministic: SHA-512 internal hash)
|
[Output: 64-byte Signature]
|
[Create Signature File]
(signature + public key reference + metadata)
```
## Workflow 3: Verify Signature
```
[Document + Signature + Public Key]
|
[Load Public Key]
|
[Ed25519 Verify]
|
[Valid?]
YES -> Accept document as authentic
NO -> Reject (tampering detected)
```
## Workflow 4: Code Signing System
```
[Build Artifact] (binary, package, container)
|
[Hash Artifact] (SHA-256)
|
[Create Signing Manifest]
(artifact_name, hash, timestamp, signer_id)
|
[Sign Manifest with Ed25519]
|
[Distribute: Artifact + Manifest + Signature + Public Key]
|
[Recipient Verifies]:
1. Verify signature on manifest
2. Hash artifact and compare to manifest
3. Check signer identity against trust store
```