keria
keria copied to clipboard
Cannot complete end role auth after interaction event
Version
Latest main on KERIA + Signify-TS [KERIA: 6ad36d5e171c599b078624c9ed4cd1c54e3c1b4a / Almost latest: 1e451d1c91e6f50edb57e2f4f41ca8b55755dac4 ]
Environment
M3, Python 3.12.2
Expected behavior
KERIA should use the correct keys to verify the end role auth from Signify, even if it has interaction events.
It should verify against the latest establishment event, but it thinks the interaction event is an establishment event and cannot find the keys to verify against. (See error below)
Actual behavior
Error in test:
HTTP POST /identifiers/testIdentifier/endroles - 400 Bad Request - {"title": "400 Bad Request", "description": "unable to verify end role reply message"}
If I print the error here in KERIA: https://github.com/WebOfTrust/keria/blob/main/src/keria/app/aiding.py#L1338-L1339 I receive:
Invalid reply from signer=EL4N4rNTl-rypDF7vccti8iIrRi90YkqyG0Hu84ca5ad, no keys at signer's est. event sn=1.
Steps to reproduce
- Checkout https://github.com/cardano-foundation/signify-ts/tree/test/endrolebug
- Build Signify
npx jest examples/integration-scripts/credentials.test.ts