diff --git a/integration-tests/e2e-tests/package.json b/integration-tests/e2e-tests/package.json index c2ef63a0f..521e6424e 100644 --- a/integration-tests/e2e-tests/package.json +++ b/integration-tests/e2e-tests/package.json @@ -22,7 +22,7 @@ "homepage": "https://github.com/amagyar-iohk/atala-prism-wallet-sdk-ts-e2e#readme", "dependencies": { "@cucumber/cucumber": "^9.3.0", - "@input-output-hk/atala-prism-wallet-sdk": "^2.0.3", + "@input-output-hk/atala-prism-wallet-sdk": "../../input-output-hk-atala-prism-wallet-sdk-2.0.3.tgz", "@input-output-hk/prism-typescript-client": "^1.9.2", "@serenity-js/assertions": "^3.8.0", "@serenity-js/console-reporter": "^3.8.0", diff --git a/integration-tests/e2e-tests/yarn.lock b/integration-tests/e2e-tests/yarn.lock index 934d1e02c..6ec3b4552 100644 --- a/integration-tests/e2e-tests/yarn.lock +++ b/integration-tests/e2e-tests/yarn.lock @@ -276,6 +276,39 @@ resolved "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz" integrity sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw== +"@input-output-hk/atala-prism-wallet-sdk@../../input-output-hk-atala-prism-wallet-sdk-2.0.3.tgz": + version "2.0.3" + resolved "../../input-output-hk-atala-prism-wallet-sdk-2.0.3.tgz#12217a2bf4be6e50505a3818e7a704ab3a45724a" + dependencies: + "@scure/bip32" "^1.3.0" + "@scure/bip39" "^1.1.1" + "@stablelib/base64" "^1.0.1" + "@stablelib/sha256" "^1.0.1" + "@stablelib/uuid" "^1.0.2" + "@stablelib/wipe" "^1.0.1" + "@stablelib/x25519" "^1.0.3" + antlr4ts "^0.5.0-alpha.4" + assert "^2.0.0" + axios "^1.3.4" + bn.js "^5.2.1" + buffer "^6.0.3" + core-js "^3.29.1" + did-jwt "^6.11.5" + did-resolver "^4.1.0" + didcomm "^0.4.1" + didcomm-node "^0.4.1" + elliptic "^6.5.4" + google-protobuf "^3.21.2" + hash.js "1.1.7" + jose "^4.12.2" + jsonwebtoken "^9.0.0" + localforage "^1.10.0" + multiformats "^9.9.0" + sql.js "^1.8.0" + sqlite3 "^5.1.6" + typeorm "^0.3.12" + util "^0.12.5" + "@input-output-hk/atala-prism-wallet-sdk@^2.0.3": version "2.0.3" resolved "https://npm.pkg.github.com/download/@input-output-hk/atala-prism-wallet-sdk/2.0.3/c4d913edb63234bd5aec073c6dd3c9ea719f6abd#c4d913edb63234bd5aec073c6dd3c9ea719f6abd" diff --git a/src/prism-agent/Agent.Credentials.ts b/src/prism-agent/Agent.Credentials.ts index 252469c57..47c3ee3e2 100644 --- a/src/prism-agent/Agent.Credentials.ts +++ b/src/prism-agent/Agent.Credentials.ts @@ -231,6 +231,10 @@ export class AgentCredentials implements AgentCredentialsClass { throw new Error("DID not found"); } + console.info("Prism Private Key:", prismPrivateKey); + console.info("Prism Private Key Value:", prismPrivateKey.value); + console.info("Buffered:", Buffer.from(prismPrivateKey.value).toString()); + const signedJWT = await jwt.sign( didInfo.did, base64url.baseDecode(Buffer.from(prismPrivateKey.value).toString()),