Skip to content

Commit

Permalink
disable bprime
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Glastra <[email protected]>
  • Loading branch information
TimoGlastra committed Nov 19, 2024
1 parent 7a7038c commit 91f33e8
Show file tree
Hide file tree
Showing 6 changed files with 1,418 additions and 167 deletions.
22 changes: 8 additions & 14 deletions agent/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "agent",
"dependencies": {
"@credo-ts/askar": "https://gitpkg.vercel.app/animo/aries-framework-javascript/packages/askar?funke",
"@credo-ts/core": "https://gitpkg.vercel.app/animo/aries-framework-javascript/packages/core?funke",
"@credo-ts/node": "https://gitpkg.vercel.app/animo/aries-framework-javascript/packages/node?funke",
"@credo-ts/openid4vc": "https://gitpkg.vercel.app/animo/aries-framework-javascript/packages/openid4vc?funke",
"@credo-ts/askar": "0.5.13-alpha-20241107100446",
"@credo-ts/core": "0.5.13-alpha-20241107100446",
"@credo-ts/node": "0.5.13-alpha-20241107100446",
"@credo-ts/openid4vc": "0.5.13-alpha-20241107100446",
"@hyperledger/aries-askar-nodejs": "^0.2.3",
"@protokoll/mdoc-client": "^0.2.36",
"cors": "^2.8.5",
Expand All @@ -26,16 +26,10 @@
},
"pnpm": {
"overrides": {
"@credo-ts/askar": "https://gitpkg.vercel.app/animo/aries-framework-javascript/packages/askar?funke",
"@credo-ts/core": "https://gitpkg.vercel.app/animo/aries-framework-javascript/packages/core?funke",
"@credo-ts/openid4vc": "https://gitpkg.vercel.app/animo/aries-framework-javascript/packages/openid4vc?funke",
"@credo-ts/node": "https://gitpkg.vercel.app/animo/aries-framework-javascript/packages/node?funke",
"@sphereon/did-auth-siop": "https://gitpkg.vercel.app/animo/OID4VC/packages/siop-oid4vp?funke",
"@sphereon/oid4vc-common": "https://gitpkg.vercel.app/animo/OID4VC/packages/common?funke",
"@sphereon/oid4vci-common": "https://gitpkg.vercel.app/animo/OID4VC/packages/oid4vci-common?funke",
"@sphereon/oid4vci-issuer": "https://gitpkg.vercel.app/animo/OID4VC/packages/issuer?funke",
"@sphereon/oid4vci-client": "https://gitpkg.vercel.app/animo/OID4VC/packages/client?funke",
"@sphereon/jarm": "https://gitpkg.vercel.app/animo/OID4VC/packages/jarm?funke"
"@credo-ts/askar": "0.5.13-alpha-20241107100446",
"@credo-ts/core": "0.5.13-alpha-20241107100446",
"@credo-ts/openid4vc": "0.5.13-alpha-20241107100446",
"@credo-ts/node": "0.5.13-alpha-20241107100446"
}
}
}
3 changes: 2 additions & 1 deletion agent/src/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ export const agent = new Agent({
router: openId4VpRouter,
endpoints: {
authorization: {
getVerifyHs256Callback,
// re-enable for b-prime b' b prime
// getVerifyHs256Callback,
},
},
}),
Expand Down
3 changes: 2 additions & 1 deletion agent/src/endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,8 @@ apiRouter.post('/requests/create', async (request: Request, response: Response)
presentationExchange: {
definition,
},
additionalPayloadClaims,
// re-enable for b-prime b' b prime
// additionalPayloadClaims,
responseMode: createPresentationRequestBody.responseMode,
})

Expand Down
2 changes: 1 addition & 1 deletion agent/src/verifiers/util.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { DifPresentationExchangeDefinitionV2 } from '@credo-ts/core'
import { randomUUID } from 'node:crypto'
import type { DifPresentationExchangeDefinitionV2 } from '@credo-ts/core'

export function sdJwtInputDescriptor({
vcts,
Expand Down
14 changes: 4 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,10 @@
},
"pnpm": {
"overrides": {
"@credo-ts/askar": "https://gitpkg.vercel.app/animo/aries-framework-javascript/packages/askar?funke",
"@credo-ts/core": "https://gitpkg.vercel.app/animo/aries-framework-javascript/packages/core?funke",
"@credo-ts/openid4vc": "https://gitpkg.vercel.app/animo/aries-framework-javascript/packages/openid4vc?funke",
"@credo-ts/node": "https://gitpkg.vercel.app/animo/aries-framework-javascript/packages/node?funke",
"@sphereon/did-auth-siop": "https://gitpkg.vercel.app/animo/OID4VC/packages/siop-oid4vp?funke",
"@sphereon/oid4vc-common": "https://gitpkg.vercel.app/animo/OID4VC/packages/common?funke",
"@sphereon/oid4vci-common": "https://gitpkg.vercel.app/animo/OID4VC/packages/oid4vci-common?funke",
"@sphereon/oid4vci-issuer": "https://gitpkg.vercel.app/animo/OID4VC/packages/issuer?funke",
"@sphereon/oid4vci-client": "https://gitpkg.vercel.app/animo/OID4VC/packages/client?funke",
"@sphereon/jarm": "https://gitpkg.vercel.app/animo/OID4VC/packages/jarm?funke"
"@credo-ts/askar": "0.5.13-alpha-20241107100446",
"@credo-ts/core": "0.5.13-alpha-20241107100446",
"@credo-ts/openid4vc": "0.5.13-alpha-20241107100446",
"@credo-ts/node": "0.5.13-alpha-20241107100446"
}
}
}
Loading

0 comments on commit 91f33e8

Please sign in to comment.