Skip to content
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

feat(rust): add optional --identity argument to secure-channel create #4018

Merged

Conversation

Mo-Fatah
Copy link
Contributor

@Mo-Fatah Mo-Fatah commented Jan 3, 2023

Closes #3906

Proposed Changes

in ockam_command : add optional --identity argument to secure-channel create. The Option<String> argument is sent to ockam_api in the request.

in ockam_api: the create_secure_channel_impl function checks if the identity argument is provided, otherwise use self.identity()

Checks

@Mo-Fatah Mo-Fatah requested a review from a team as a code owner January 3, 2023 09:47
@Mo-Fatah Mo-Fatah force-pushed the identity-for-secure-channel-create branch from ddb5e9e to c7265e2 Compare January 3, 2023 10:39
Copy link
Member

@adrianbenavides adrianbenavides left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @Mo-Fatah , thanks for submitting another PR 🥳

It looks almost ready to me, but I left some comments pointing out some details that could be improved. Let me know if you have any questions.

@Mo-Fatah Mo-Fatah force-pushed the identity-for-secure-channel-create branch from c7265e2 to 66e57d6 Compare January 8, 2023 09:17
@adrianbenavides adrianbenavides force-pushed the identity-for-secure-channel-create branch 3 times, most recently from f1cdc86 to 7bf00fd Compare January 9, 2023 04:11
adrianbenavides
adrianbenavides previously approved these changes Jan 9, 2023
Copy link
Member

@adrianbenavides adrianbenavides left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ready to merge, thanks @Mo-Fatah for another great contribution! 🥳

@mergify mergify bot merged commit 210fd7e into build-trust:develop Jan 12, 2023
@Mo-Fatah Mo-Fatah deleted the identity-for-secure-channel-create branch February 15, 2023 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add optional --identity argument to secure-channel create and modify implementation on ockam_api
2 participants