The keycloak project ended with four open questions that design could not
settle. A two-VM lab was built to answer them by measurement, and this is
that material: 26 experiments, 125 raw command outputs, 22 browser captures.
Follows the import procedure in README.md.
source/ the originating repository verbatim — 78 documents, 28 SVGs,
8 manifests, plus .source-revision recording the commit
final/ the SSOT
document.md 729 lines written from the 29 experiment documents, not
concatenated: what was predicted, what was measured, and
where the measurement itself was wrong
evidence/raw 125 outputs, flattened to <experiment>__<file> because
the originals collided (01-baseline.txt appeared three
times) and the audit only globs the top level
evidence/meta one per raw file; command and exitCode are null and the
README says why rather than inventing them
evidence/browser 22 captures
assets/ three diagrams through techviz
.techviz/ their VizSpecs
A separate project rather than an addition to keycloak: the B-layer answers
that project's four questions, but the A, C and D layers are about cluster
failure, SSO and operations, and one document.md should hold one subject.
The four question records there can point here through 관계.
Recorded rather than papered over: only three of the 28 diagrams were
remade. The repository forbids hand-drawn SVG and forbids titles inside the
canvas; all 28 originals carry both, so converting them is redrawing, not
reformatting. They stay in source/ and the gap is written into the document.
verify-pipeline.py passes. audit-records.py reports no issues.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
15 lines
3.4 KiB
JSON
15 lines
3.4 KiB
JSON
{
|
|
"assetKey": "a13-f009-sigv4-string",
|
|
"kind": "terminal",
|
|
"command": "set -e\nset -o pipefail\nP=adapter/outbound/notification/src/main/java/dev/caskeleton/adapter/outbound/notification\nAC=application-core/src/main/java/dev/caskeleton/application/notification/platform\necho \"# 지운다고 약속하는 쪽 — 핸들\"\ngrep -n 'operation-scoped mutable secret copy\\|Arrays.fill(bytes, (byte) 0)\\|Arrays.fill(characters' $P/provider/NotificationSecretMaterialHandle.java\necho \" 그 핸들을 받는 인터페이스의 구현 — 이름 있는 것과 익명인 것\"\n{ grep -rn 'implements NotificationProviderAttemptClient\\|new NotificationProviderAttemptClient()' \\\n --include=*.java . --exclude-dir=build | grep -v 'ReconciliationReference' || echo \" (일치 0)\"; } \\\n | sed -E 's#^[^:]*/src/(main|test)/[^:]*/([^:/]+):# \\1 · \\2:#'\necho\necho \"# 서명 자리에 실제로 오는 쪽 — 자격증명 관리자\"\ngrep -n -A3 'public byte\\[\\] materialFor(' $P/platform/security/ProviderCredentialManager.java | head -10\ngrep -n 'material = material.clone();\\|return material.clone();' $AC/security/SecretKeyMaterial.java\necho\necho \"# 그 사본을 서명 자리로 넘기는 자리\"\ngrep -rn 'credentials.materialFor(' --include=*.java $P --exclude-dir=build \\\n | sed -E 's#^[^:]*/notification/([^:]*/)?([^:/]+):#\\2:#'\necho\necho \"# 그 사본을 문자열로 올리는 자리\"\ngrep -rn -A2 'new String(' --include=*.java $P --exclude-dir=build \\\n | grep -iE 'secretAccessKey|authToken|materialFor' \\\n | sed -E 's#^[^:]*/notification/([^:]*/)?([^:/]+)([:-])#\\2\\3#'\necho\necho \"# 그 문자열이 다시 키 명세로 들어가는 자리\"\ngrep -n 'byte\\[\\] key =\\|mac.init(new SecretKeySpec(key' $P/platform/provider/ses/AwsSignatureV4Signer.java\necho\necho \"# 복제를 받는 다른 길 — 비밀 자재 제공자 직접 조회 (수신자 이름이 아니라 메서드로 찾는다)\"\ngrep -rnE '\\.(activeKey|keyById)\\(' --include=*.java $P --exclude-dir=build \\\n | sed -E 's#^[^:]*/notification/([^:]*/)?([^:/]+):#\\2:#'\necho -n \" 그중 자격증명 관리자 자신의 줄 : \"\ngrep -rnE '\\.(activeKey|keyById)\\(' --include=*.java $P/platform/security/ProviderCredentialManager.java | wc -l\necho\necho \"# 제공자 자격증명 목적을 푸는 자리\"\ngrep -rn 'purpose() != SecretPurpose.PROVIDER_CREDENTIAL' --include=*.java $P --exclude-dir=build \\\n | sed -E 's#^[^:]*/notification/([^:]*/)?([^:/]+):#\\2:#'\necho -n \" 그 목적을 검사 없이 바로 조회하는 자리 : \"\n{ grep -rn 'activeKey(SecretPurpose.PROVIDER_CREDENTIAL)' --include=*.java $P --exclude-dir=build \\\n | grep -v '^\\s*\\*' || echo \"(일치 0)\"; } | head -3\necho\necho \"# 서명 검증기가 쓰는 것은 다른 목적의 비밀이다\"\ngrep -n 'callbackSigningKeyRef\\|SecretPurpose.CALLBACK_SIGNING' $P/platform/provider/twilio/TwilioCallbackAdapter.java\ngrep -n 'PROVIDER_CREDENTIAL\\|CALLBACK_SIGNING' $AC/security/SecretPurpose.java\n",
|
|
"cwd": "/shared/codebase/clean-architecture-backend-template/src",
|
|
"exitCode": 0,
|
|
"executedAt": "2026-09-02T19:12:29+00:00",
|
|
"sourceRevision": "21234e38cdb9a926cbc92bb97a2aee2e4a7d2916",
|
|
"raw": "evidence/raw/a13-f009-sigv4-string.txt",
|
|
"svg": "evidence/rendered/a13-f009-sigv4-string.svg",
|
|
"rawSha256": "222f51879701ce3f1b595ef035383cf2ac395b17d4564b82797630457f3c4da2",
|
|
"lines": 62,
|
|
"redaction": "none — 코드베이스 정적 검색"
|
|
}
|