Skip to content

Commit 9bf38cb

Browse files
Arthur-Kamauclaude
andcommitted
fix: aqua_sign workflow picks up personal identity instead of server identity
The server identity lookup in the aqua_sign workflow (explorer.ts) only checked for forms_type "simple_claim", matching any user's identity claim on the server wallet. Now also requires forms_claim_context "Self issued server identity", consistent with the fix in server_attest.ts. Closes #754 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 8d0e728 commit 9bf38cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/src/controllers/explorer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ export default async function explorerController(fastify: FastifyInstance) {
403403
const entryGenHash = getGenesisHash(entryAquaTree)
404404
if (entryGenHash) {
405405
const genRevision = entryAquaTree.revisions[entryGenHash]
406-
if (genRevision && genRevision["forms_type"] === "simple_claim") {
406+
if (genRevision && genRevision["forms_type"] === "simple_claim" && genRevision["forms_claim_context"] === "Self issued server identity") {
407407
serverIdentityAquaTree = entryAquaTree
408408
serverIdentityFileObjects = entryFileObjects
409409
break

0 commit comments

Comments
 (0)