hyperledger / identus-cloud-agent

Identus Cloud Agent
https://identus.io/
Apache License 2.0
79 stars 21 forks source link

feat: connection less presentation expiration time #1294

Closed mineme0110 closed 1 month ago

mineme0110 commented 1 month ago

Description:

This PR introduces expiration_time and creation_time to the OOB message, enabling the Holder to verify if the message has expired before sending the presentation. This validation is done on the Holder's side. ATL-6631

Additionally, when the Verifier receives a presentation, a check is performed to ensure that the OOB message's PresentationRequest hasn't expired. If the presentation corresponds to an expired OOB message, the status of the PresentationRecord in the database is updated to InvitationExpired. ATL-6625

Alternatives Considered (optional):

Checklist:

github-actions[bot] commented 1 month ago

Integration Test Results

20 files  ±0  20 suites  ±0   2s :stopwatch: ±0s 45 tests ±0  45 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0  71 runs  ±0  71 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0 

Results for commit 0b07620f. ± Comparison against base commit d7394c82.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 1 month ago

Unit Test Results

 96 files  ±0   96 suites  ±0   22m 6s :stopwatch: -50s 826 tests ±0  818 :white_check_mark: ±0  8 :zzz: ±0  0 :x: ±0  833 runs  ±0  825 :white_check_mark: ±0  8 :zzz: ±0  0 :x: ±0 

Results for commit 0b07620f. ± Comparison against base commit d7394c82.

:recycle: This comment has been updated with latest results.