Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
115 commits
Select commit Hold shift + click to select a range
54fb851
feat: added OID4VC/P implementation
tipusinghaw Aug 22, 2025
0fcaf49
feat: added updated patch file
tipusinghaw Aug 25, 2025
dbb3069
feat: added logic for events
tipusinghaw Aug 25, 2025
33f05ae
feat: added issuer example
tipusinghaw Sep 4, 2025
ec97251
refactor: changed discloser frame
tipusinghaw Sep 12, 2025
d0a4b3b
added x509 APIs
RinkalBhojani Sep 17, 2025
4db4c4c
added x509Module in agent config to add mapper function
RinkalBhojani Sep 17, 2025
fbf5782
removed unwanted log
RinkalBhojani Sep 17, 2025
920be13
removed unwanted log
RinkalBhojani Sep 17, 2025
637a350
removed example private key
RinkalBhojani Sep 17, 2025
c54afe7
feat: support for mdoc credential with x509, moved signeroptions insi…
RinkalBhojani Sep 18, 2025
95ba097
refactored code
RinkalBhojani Sep 19, 2025
59cffbf
Merge pull request #312 from credebl/feat/support-for-x509-certs
RinkalBhojani Sep 19, 2025
c229c2b
added multiple namespace support for mdoc credential
RinkalBhojani Sep 26, 2025
99c49d9
fixed minor issues with sd-jwt VC issuance
RinkalBhojani Sep 28, 2025
0928c4f
fix: resolve comments
tipusinghaw Oct 6, 2025
2a4b1e6
Merge pull request #313 from credebl/feat/mdoc-support
tipusinghaw Oct 6, 2025
ad1c93d
feat: support for x509 certs (#319)
RinkalBhojani Oct 13, 2025
12c3134
feat: oid4vc presentation
tipusinghaw Oct 13, 2025
84517b5
fix: create presentation
tipusinghaw Oct 13, 2025
f24e319
fix: holder APIs type issue
tipusinghaw Oct 14, 2025
93eb6f5
added verification response method once proof is received for DCQL
RinkalBhojani Oct 21, 2025
cb2ff50
updated route and swagger.json file
RinkalBhojani Oct 21, 2025
23b505b
fix: claims type issue
tipusinghaw Oct 28, 2025
0c27b0f
fix: verifer id optional
GHkrishna Oct 29, 2025
8749d7b
fix: webhook for 0id4vc issuance
tipusinghaw Oct 29, 2025
a2526de
Merge pull request #325 from credebl/feat/oid4vc-presentation
RinkalBhojani Oct 30, 2025
12e9d91
fix: Added getTrustedCert function and refactored code
RinkalBhojani Oct 30, 2025
0ffc868
fix: fixed condition
RinkalBhojani Oct 30, 2025
05fc2aa
Merge pull request #326 from credebl/feat/oid4vc-presentation
RinkalBhojani Oct 30, 2025
817d569
fix: presentation webhook
tipusinghaw Nov 6, 2025
3073492
Merge pull request #327 from credebl/feat/oid4vc-presentation
tipusinghaw Nov 6, 2025
4a70a97
feat: added x5c signermethod capability in creating verification requ…
RinkalBhojani Nov 6, 2025
f1fd63b
feat: added configuration variables in .env
RinkalBhojani Nov 10, 2025
0646f72
refactor: removed unwanted console logs
RinkalBhojani Nov 10, 2025
1209260
refactor: removed unwanted file
RinkalBhojani Nov 10, 2025
345f38e
Merge pull request #328 from credebl/feat/oid4vc-presentation
RinkalBhojani Nov 10, 2025
38ba5b9
fix: fixed issue with url encoded body size for agent's internal endp…
RinkalBhojani Nov 14, 2025
c9569db
Merge pull request #330 from credebl/feat/oid4vc-presentation
RinkalBhojani Nov 14, 2025
b0a369c
feat: dcapi support
tipusinghaw Dec 2, 2025
988cdcf
Merge pull request #331 from credebl/refactor/oid4vc-dcapi
tipusinghaw Dec 4, 2025
bbad6fd
fix: fixed issue with disclosure frame in SD-JWT issuance
RinkalBhojani Dec 31, 2025
092451b
Made dcql query type as any to support all combination for now, suppo…
RinkalBhojani Jan 2, 2026
328a72b
fix: fixed typescript issue
RinkalBhojani Jan 5, 2026
a03b921
Merge pull request #339 from credebl/fix-oid4vc-vp-fixes
RinkalBhojani Jan 5, 2026
303c9cf
fix: changes for types
GHkrishna Dec 4, 2025
534d7ea
fix: version update and types update
GHkrishna Dec 8, 2025
d36b26a
fix: for now we'll delete all the patch and apply as required
GHkrishna Dec 8, 2025
d42dae4
fix!: controller types (credo version updates) (#335)
GHkrishna Dec 11, 2025
18c8ad1
fix: agent initialization
GHkrishna Dec 11, 2025
148aa9c
fix: remove unwanted agent backup config
GHkrishna Dec 11, 2025
a6d2181
fix: oob invitation
GHkrishna Dec 11, 2025
78f6065
fix: some package version update
GHkrishna Dec 15, 2025
925a147
fix: some type changes
GHkrishna Dec 15, 2025
ee543c9
fix: comment controller for agent to start
GHkrishna Dec 15, 2025
32e1ab0
fix: oidc4vc agent changes for building agent
GHkrishna Dec 15, 2025
b47de32
fix: auto generated file changes
GHkrishna Dec 15, 2025
6a53e4b
fix: cliagent issues
GHkrishna Dec 15, 2025
a5e1a31
fix: x509 controller (#338)
GHkrishna Dec 23, 2025
b6e3043
WIP: bug fixing from issuer and verifier session
shitrerohit Dec 16, 2025
9573fca
fix:changes on cli agent file
shitrerohit Dec 16, 2025
232943b
WIP:changes in create issuer work flow
shitrerohit Dec 16, 2025
0816425
WIP:Resolving the issues from issue credential workflow.
shitrerohit Dec 19, 2025
768ba54
fix:sd-jwt store credential
shitrerohit Dec 23, 2025
bbf02c6
WIP: store mDoc credential
shitrerohit Dec 31, 2025
6c572c8
fix:sonar cloud issue
shitrerohit Dec 31, 2025
21f66e0
fix:completed flow changes for mdoc
shitrerohit Jan 5, 2026
57f71c5
fix:resolved code rabit related issues
shitrerohit Jan 5, 2026
586ba2c
fix:removed commented code
shitrerohit Jan 5, 2026
5851bd6
fix: resolved PR comments
shitrerohit Jan 5, 2026
44b1c6a
feat/oidv4vc issuance and verification changes
shitrerohit Jan 9, 2026
368bf50
fix: resolved code rabbit ai issues
shitrerohit Jan 12, 2026
20ca52e
fix: resolved code rabbit issues
shitrerohit Jan 13, 2026
fe5cfa2
fix: added comment for image check in verification session
shitrerohit Jan 14, 2026
ea7f3b2
fix/removed commented code
shitrerohit Jan 14, 2026
34cab32
fix:resolved sd-jwt issuance related issues
shitrerohit Jan 27, 2026
9e0c531
fix:Removed commented code
shitrerohit Jan 27, 2026
1786598
fix:changes in create proof request
shitrerohit Jan 28, 2026
f194bb3
feat:API for delete credential
shitrerohit Jan 31, 2026
34d8586
node verison changes
shitrerohit Jan 31, 2026
00b8680
update node version
shitrerohit Jan 31, 2026
ca9a16b
sample x5c certificate added
shitrerohit Jan 31, 2026
3861761
fix: resolved PR comments
shitrerohit Feb 2, 2026
9d95cf6
fix: Resolved minor issues
shitrerohit Feb 3, 2026
b9c1631
Merge pull request #341 from credebl/fix/oid4vc-issuance-changes
shitrerohit Feb 3, 2026
29a1529
fix:resolve build issues
shitrerohit Feb 4, 2026
feb07d2
fix:resolved proof verification with base64 image issue
shitrerohit Feb 5, 2026
a8be196
fix:removed unused code
shitrerohit Feb 5, 2026
96b4ea2
Merge pull request #342 from credebl/fix/resolve-payload-size-issue
shitrerohit Feb 5, 2026
3aa5020
feat:delete issuer api added
shitrerohit Feb 5, 2026
cb07ba5
fix:update delete issuer api response
shitrerohit Feb 6, 2026
99c9379
fix: resolved code rabbit ai comments
shitrerohit Feb 9, 2026
9db91b0
Merge pull request #343 from credebl/feat/oid4vc-delete-issuer
shitrerohit Feb 9, 2026
2e8cf22
fix: supporting clientIdPrefix for HAIP support
RinkalBhojani Feb 12, 2026
be09251
feat:API for verify the authorization response
shitrerohit Feb 11, 2026
d89a68b
fix:code rabbit ai issues
shitrerohit Feb 11, 2026
6c1333b
fix:updated the response in accept proof request
shitrerohit Feb 11, 2026
b130bee
fix: supporting clientIdPrefix for HAIP support
RinkalBhojani Feb 12, 2026
6a70128
refactor: added authorizationRequestId param for querying verificatio…
RinkalBhojani Feb 17, 2026
d3dc47f
Merge pull request #344 from credebl/feat/oid4vc-verify-authorization…
shitrerohit Feb 26, 2026
702ed3b
fix:removed duplicate identifier
shitrerohit Feb 26, 2026
19a09ad
feat: update credo to latest (#345)
GHkrishna Mar 2, 2026
af95d1b
feat: added x509 certificates logic with auth
tipusinghaw Mar 3, 2026
73c5e18
refactor: resolved PR comments
tipusinghaw Mar 3, 2026
134e298
Merge pull request #346 from credebl/feat/add-auth-for-trust-service
tipusinghaw Mar 4, 2026
5e04dac
fix: did and polygon controller (#347)
GHkrishna Mar 16, 2026
10050dc
fix: did, schema and cred-def controller (#350)
GHkrishna Mar 26, 2026
fcf036c
feat: added token caching and update token fetching logic
tipusinghaw Mar 24, 2026
3b4c58b
refactor: removed ecosystem logic and updated authentication logic
tipusinghaw Mar 26, 2026
af707a7
refactor: review changes
tipusinghaw Mar 26, 2026
f8fe76e
refactor: review changes for get token
tipusinghaw Mar 26, 2026
df0794a
Merge pull request #352 from credebl/refactor/update-get-x509-certs-l…
tipusinghaw Mar 26, 2026
9c0955c
### SUMMARY
DeepakNemad Mar 27, 2026
c7bec7d
Update yarn install command with --frozen-lockfile
DeepakNemad Mar 27, 2026
e841b27
Added Yarn file
DeepakNemad Mar 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
180 changes: 39 additions & 141 deletions .env.demo

Large diffs are not rendered by default.

176 changes: 35 additions & 141 deletions .env.sample

Large diffs are not rendered by default.

20 changes: 17 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Stage 1: Builder stage
FROM node:18.19.0 AS builder
FROM node:22.22.0 AS builder

WORKDIR /app

Expand All @@ -18,8 +18,15 @@ RUN yarn global add patch-package
# Build the application
RUN yarn build

# Stage 2: Production stage
FROM node:18.19.0-slim
# Stage 2: Production stage
FROM node:22.22.0-slim

# Update system packages and install security updates
RUN apt-get update && apt-get upgrade -y && \
apt-get install -y --no-install-recommends \
ca-certificates && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

WORKDIR /app

Expand All @@ -30,5 +37,12 @@ COPY --from=builder /app/package.json ./
COPY --from=builder /app/node_modules ./node_modules
COPY --from=builder /app/patches ./patches

# Create non-root user for security
RUN groupadd -r appuser && useradd -r -g appuser appuser && \
chown -R appuser:appuser /app && \
chmod -R 755 /app

USER appuser

# Set entry point
ENTRYPOINT ["node", "./bin/afj-rest.js", "start"]
32 changes: 19 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,18 @@
"validate": "yarn lint && yarn check-types && yarn check-format"
},
"dependencies": {
"@ayanworks/credo-polygon-w3c-module": "1.0.1-alpha.1",
"@credo-ts/anoncreds": "0.5.15",
"@credo-ts/askar": "0.5.15",
"@credo-ts/core": "0.5.15",
"@credo-ts/indy-vdr": "0.5.15",
"@credo-ts/node": "^0.5.15",
"@ayanworks/credo-polygon-w3c-module": "2.0.2",
"@credo-ts/anoncreds": "0.6.2",
"@credo-ts/askar": "0.6.2",
"@credo-ts/core": "0.6.2",
"@credo-ts/didcomm": "0.6.2",
"@credo-ts/indy-vdr": "0.6.2",
"@credo-ts/node": "0.6.2",
"@credo-ts/openid4vc": "0.6.2",
"@credo-ts/push-notifications": "^0.7.1",
"@credo-ts/question-answer": "0.5.15",
"@credo-ts/tenants": "0.5.15",
"@credo-ts/question-answer": "0.6.2",
"@credo-ts/tenants": "0.6.2",
"@hyperledger/anoncreds-nodejs": "0.3.1",
"@hyperledger/aries-askar-nodejs": "0.2.3",
"@hyperledger/indy-vdr-nodejs": "0.2.2",
"@opentelemetry/api": "^1.9.0",
"@opentelemetry/exporter-logs-otlp-http": "^0.202.0",
Expand All @@ -61,12 +62,13 @@
"@opentelemetry/sdk-logs": "^0.202.0",
"@opentelemetry/sdk-node": "^0.202.0",
"@opentelemetry/semantic-conventions": "^1.34.0",
"@openwallet-foundation/askar-nodejs": "^0.4.3",
"@tsoa/runtime": "^6.6.0",
"@types/node-fetch": "^2.6.4",
"@types/ref-struct-di": "^1.1.12",
"@types/uuid": "^10.0.0",
"@types/ws": "^8.18.1",
"axios": "^1.9.0",
"axios": "^1.13.5",
"body-parser": "^2.2.0",
"cors": "^2.8.5",
"dotenv": "^16.5.0",
Expand All @@ -80,7 +82,8 @@
"swagger-ui-express": "^4.4.0",
"tslog": "^3.3.3",
"tsoa": "^6.0.1",
"tsyringe": "^4.8.0",
"tsyringe": "^4.10.0",
"uuid": "^13.0.0",
"ws": "^8.18.2",
"yargs": "^17.7.2"
},
Expand Down Expand Up @@ -115,7 +118,10 @@
"typescript": "^5.8.3"
},
"resolutions": {
"@credo-ts/core": "0.5.15",
"@credo-ts/askar": "0.5.15"
"@credo-ts/core": "0.6.2",
"@credo-ts/askar": "0.6.2",
"axios": "1.13.5",
"flatted": "3.4.0",
"undici": "6.24.0"
}
}

This file was deleted.

43 changes: 0 additions & 43 deletions patches/@credo-ts+core+0.5.15+001+message-type-for-messages.patch

This file was deleted.

This file was deleted.

This file was deleted.

44 changes: 0 additions & 44 deletions patches/@credo-ts+core+0.5.15+005+credential-get-format-data.patch

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
diff --git a/node_modules/@credo-ts/core/build/utils/version.d.mts b/node_modules/@credo-ts/core/build/utils/version.d.mts
index a71659d..8ed88e2 100644
--- a/node_modules/@credo-ts/core/build/utils/version.d.mts
+++ b/node_modules/@credo-ts/core/build/utils/version.d.mts
@@ -1,5 +1,5 @@
//#region src/utils/version.d.ts
-type VersionString = `${number}.${number}` | `${number}.${number}.${number}`;
+type VersionString = string;
//#endregion
export { VersionString };
//# sourceMappingURL=version.d.mts.map
\ No newline at end of file
diff --git a/node_modules/@credo-ts/core/build/utils/version.mjs.map b/node_modules/@credo-ts/core/build/utils/version.mjs.map
index 19457ed..5fb595f 100644
--- a/node_modules/@credo-ts/core/build/utils/version.mjs.map
+++ b/node_modules/@credo-ts/core/build/utils/version.mjs.map
@@ -1 +1 @@
-{"version":3,"file":"version.mjs","names":[],"sources":["../../src/utils/version.ts"],"sourcesContent":["export function parseVersionString(version: VersionString): Version {\n const [major, minor, patch] = version.split('.')\n\n return [Number(major), Number(minor), Number(patch ?? '0')]\n}\n\nexport function isFirstVersionHigherThanSecond(first: Version, second: Version) {\n return (\n first[0] > second[0] ||\n (first[0] === second[0] && first[1] > second[1]) ||\n (first[0] === second[0] && first[1] === second[1] && first[2] > second[2])\n )\n}\n\nexport function isFirstVersionEqualToSecond(first: Version, second: Version) {\n return first[0] === second[0] && first[1] === second[1] && first[2] === second[2]\n}\n\nexport type VersionString = `${number}.${number}` | `${number}.${number}.${number}`\nexport type MajorVersion = number\nexport type MinorVersion = number\nexport type PatchVersion = number\nexport type Version = [MajorVersion, MinorVersion, PatchVersion]\n"],"mappings":";;;AAAA,SAAgB,mBAAmB,SAAiC;CAClE,MAAM,CAAC,OAAO,OAAO,SAAS,QAAQ,MAAM,IAAI;AAEhD,QAAO;EAAC,OAAO,MAAM;EAAE,OAAO,MAAM;EAAE,OAAO,SAAS,IAAI;EAAC;;AAG7D,SAAgB,+BAA+B,OAAgB,QAAiB;AAC9E,QACE,MAAM,KAAK,OAAO,MACjB,MAAM,OAAO,OAAO,MAAM,MAAM,KAAK,OAAO,MAC5C,MAAM,OAAO,OAAO,MAAM,MAAM,OAAO,OAAO,MAAM,MAAM,KAAK,OAAO;;AAI3E,SAAgB,4BAA4B,OAAgB,QAAiB;AAC3E,QAAO,MAAM,OAAO,OAAO,MAAM,MAAM,OAAO,OAAO,MAAM,MAAM,OAAO,OAAO"}
\ No newline at end of file
+{"version":3,"file":"version.mjs","names":[],"sources":["../../src/utils/version.ts"],"sourcesContent":["export function parseVersionString(version: VersionString): Version {\n const [major, minor, patch] = version.split('.')\n\n return [Number(major), Number(minor), Number(patch ?? '0')]\n}\n\nexport function isFirstVersionHigherThanSecond(first: Version, second: Version) {\n return (\n first[0] > second[0] ||\n (first[0] === second[0] && first[1] > second[1]) ||\n (first[0] === second[0] && first[1] === second[1] && first[2] > second[2])\n )\n}\n\nexport function isFirstVersionEqualToSecond(first: Version, second: Version) {\n return first[0] === second[0] && first[1] === second[1] && first[2] === second[2]\n}\n\nexport type VersionString = string\nexport type MajorVersion = number\nexport type MinorVersion = number\nexport type PatchVersion = number\nexport type Version = [MajorVersion, MinorVersion, PatchVersion]\n"],"mappings":";;;AAAA,SAAgB,mBAAmB,SAAiC;CAClE,MAAM,CAAC,OAAO,OAAO,SAAS,QAAQ,MAAM,IAAI;AAEhD,QAAO;EAAC,OAAO,MAAM;EAAE,OAAO,MAAM;EAAE,OAAO,SAAS,IAAI;EAAC;;AAG7D,SAAgB,+BAA+B,OAAgB,QAAiB;AAC9E,QACE,MAAM,KAAK,OAAO,MACjB,MAAM,OAAO,OAAO,MAAM,MAAM,KAAK,OAAO,MAC5C,MAAM,OAAO,OAAO,MAAM,MAAM,OAAO,OAAO,MAAM,MAAM,KAAK,OAAO;;AAI3E,SAAgB,4BAA4B,OAAgB,QAAiB;AAC3E,QAAO,MAAM,OAAO,OAAO,MAAM,MAAM,OAAO,OAAO,MAAM,MAAM,OAAO,OAAO"}
\ No newline at end of file
Loading
Loading