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(api): encrypt/decrypt api #791

Merged
merged 3 commits into from
Oct 12, 2022
Merged

feat(api): encrypt/decrypt api #791

merged 3 commits into from
Oct 12, 2022

Conversation

seeflood
Copy link
Member

@seeflood seeflood commented Sep 20, 2022

Signed-off-by: seeflood [email protected]

What this PR does:
encrypt/decrypt api

Which issue(s) this PR fixes:

Fixes #794

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


@codecov
Copy link

codecov bot commented Sep 20, 2022

Codecov Report

Base: 60.39% // Head: 60.39% // No change to project coverage 👍

Coverage data is based on head (35995fa) compared to base (f6804c3).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #791   +/-   ##
=======================================
  Coverage   60.39%   60.39%           
=======================================
  Files         133      133           
  Lines        8398     8398           
=======================================
  Hits         5072     5072           
  Misses       2738     2738           
  Partials      588      588           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Signed-off-by: seeflood <[email protected]>
@seeflood
Copy link
Member Author

seeflood commented Oct 11, 2022

@kevinten10 Hi, I modified the proto according to our discussion.
Please help review it :)

Signed-off-by: seeflood <[email protected]>
Signed-off-by: seeflood <[email protected]>
@seeflood seeflood merged commit 1507aad into mosn:main Oct 12, 2022
@seeflood seeflood deleted the cryption branch October 12, 2022 03:41
Copy link
Member

@kevinten10 kevinten10 left a comment

Choose a reason for hiding this comment

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

LGTM

message DecryptResponse {

// Raw plaintext.
bytes plain_text = 1;
Copy link
Member

Choose a reason for hiding this comment

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

我在 #794 中提到了一个例子,去掉status之后似乎没办法表示?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

proposal: Cryption(Encrypt/Decrypt) API.
4 participants