-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Restore messaging tests #96
Conversation
let hello_msg = download_messages(None, None, Some(vec![hello_uid])).unwrap(); | ||
assert_eq!(hello_msg[0].msgs[0].decrypted_payload, Some("{\"@type\":{\"name\":\"hello\",\"ver\":\"1.0\",\"fmt\":\"json\"},\"@msg\":\"hello\"}".to_string())); | ||
|
||
// Agency returns a bad request response for invalid dids |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this require changes on agency side?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Node agency is currently not performing did validation, it just tries to match the did. We should probably audit agency inputs and probably think about its error reporting in general...
3bae3f5
to
bcf93af
Compare
90633e4
to
ebece4c
Compare
cc0aa07
to
6391fb1
Compare
Signed-off-by: Patrik Stas <patrik.stas@absa.africa>
Signed-off-by: Patrik Stas <patrik.stas@absa.africa>
…sages_response Signed-off-by: Patrik Stas <patrik.stas@absa.africa>
…dMessageBuilder) Signed-off-by: Patrik Stas <patrik.stas@absa.africa>
Signed-off-by: Patrik Stas <patrik.stas@absa.africa>
Signed-off-by: Patrik Stas <patrik.stas@absa.africa>
Signed-off-by: Patrik Stas <patrik.stas@absa.africa>
Signed-off-by: Patrik Stas <patrik.stas@absa.africa>
Signed-off-by: Patrik Stas <patrik.stas@absa.africa>
Signed-off-by: Patrik Stas <patrik.stas@absa.africa>
Signed-off-by: Patrik Stas <patrik.stas@absa.africa>
Signed-off-by: Patrik Stas <patrik.stas@absa.africa>
Signed-off-by: Patrik Stas <patrik.stas@absa.africa>
452e82c
to
d946da0
Compare
Signed-off-by: Patrik Stas <patrik.stas@absa.africa>
d946da0
to
f4f9084
Compare
Signed-off-by: Patrik Stas patrik.stas@absa.africa