fix(mercury): correct JWK encoding in DIDComm bridge
Signed-off-by: Zaid <[email protected]>
Signed-off-by: Zaid <[email protected]>
Replace generic Error with CastorError.InvalidKeyError in computeEncnumbasis, listing the unsupported curve and supported curves (ED25519, X25519). Add unit test verifying SECP256K1 throws InvalidKeyError. Signed-off-by: Zaid <[email protected]>
Signed-off-by: Yummy-Yums <[email protected]>
Signed-off-by: Allain Magyar <[email protected]>
Signed-off-by: Allain Magyar <[email protected]>
Signed-off-by: Allain Magyar <[email protected]>
Signed-off-by: Allain Magyar <[email protected]>
Signed-off-by: Allain Magyar <[email protected]>
Signed-off-by: Allain Magyar <[email protected]>
Signed-off-by: Allain Magyar <[email protected]>
Signed-off-by: Allain Magyar <[email protected]>
Signed-off-by: Allain Magyar <[email protected]>
Signed-off-by: Allain Magyar <[email protected]>
Signed-off-by: Allain Magyar <[email protected]>
Signed-off-by: Juhi Bhandari <[email protected]>
Signed-off-by: Juhi Bhandari <[email protected]>
Adds a Scenario Outline covering the case where an Edge Agent wallet is destroyed and later restored from the same mnemonics. After restoration the agent reconnects to the Mediator using the peer DIDs from the backup JWE, causing the Mediator to deliver any messages that were queued while the wallet was offline. Closes: https://github.com/hyperledger-identus/integration/issues/82 Signed-off-by: jabhandari <[email protected]>
Signed-off-by: Allain Magyar <[email protected]>
- exp/nbf violations throw InvalidCredentialError with descriptive messages - timestamps normalized: handles both seconds and milliseconds (Date.getTime()) - catch block rethrows InvalidCredentialError, swallows only signature failures - removed console.log in favor of proper error propagation - tests updated to assert specific error messages - all SDJWT tests (11/11) passing locally Signed-off-by: Abhigyan Singh <[email protected]>
Signed-off-by: Allain Magyar <[email protected]>
Adds a Scenario Outline covering the case where an Edge Agent wallet is destroyed and later restored from the same mnemonics. After restoration the agent reconnects to the Mediator using the peer DIDs from the backup JWE, causing the Mediator to deliver any messages that were queued while the wallet was offline. Closes: https://github.com/hyperledger-identus/integration/issues/82 Signed-off-by: jabhandari <[email protected]>