filter: exposed functions to Lua to verify digital signature#7050
filter: exposed functions to Lua to verify digital signature#7050lizan merged 16 commits intoenvoyproxy:masterfrom
Conversation
|
Please merge master to pick up #7090 |
9f74306 to
4f2fdc1
Compare
|
@lizan Gentle ping. PTAL |
|
crazyxy is not allowed to assign users. |
|
@crazyxy I pinged you internally, would like to understand the motivation for this PR a bit. Thanks. |
0ffecb6 to
75b515b
Compare
htuch
left a comment
There was a problem hiding this comment.
Thanks @crazyxy. This looks good in principle to me; I do worry about the proliferation of LuaJIT bindings to random external dependencies, but on a concrete level this seems to be well motivated. Just a question on whether we can decouple the BoringSSL nitty gritty (and make it more testable) by splitting it out of the Lua bindings.
/wait
@htuch Thanks for reviewing! Made the change as requested. |
dio
left a comment
There was a problem hiding this comment.
Put more comments on preference using snake_case for local vars.
61930c4 to
4be7d64
Compare
Signed-off-by: Yan Xue <yxyan@google.com>
Signed-off-by: Yan Xue <yxyan@google.com>
Signed-off-by: Yan Xue <yxyan@google.com>
Signed-off-by: Yan Xue <yxyan@google.com>
Signed-off-by: Yan Xue <yxyan@google.com>
Signed-off-by: Yan Xue <yxyan@google.com>
lizan
left a comment
There was a problem hiding this comment.
Still not convinced by the structure that import/release methods lives in StreamHandlerWrapper.
Also do not rebase + force push into existing PR b/c it messes up review history, git merge + regular push is preferred.
Signed-off-by: Yan Xue <yxyan@google.com>
lizan
left a comment
There was a problem hiding this comment.
Looks much better, a few more comments. Thanks!
Signed-off-by: Yan Xue <yxyan@google.com>
Thanks @lizan! Removed the pointer. |
|
/retest |
|
🔨 rebuilding |
htuch
left a comment
There was a problem hiding this comment.
Nice, a few more general comments.
/wait
Signed-off-by: Yan Xue <yxyan@google.com>
Signed-off-by: Yan Xue <yxyan@google.com>
|
@dio Could you please take a look? Thanks! |
…oxy#7050) Description: Expose functions for users to verify digital signature in Lua script Risk Level: Low Testing: unit test, integration Docs Changes: https://github.com/envoyproxy/envoy/compare/master...crazyxy:feature/boringssllua?expand=1#diff-ddc999700fdafb43c2cdcafcc7a4b887 Release Notes: https://github.com/envoyproxy/envoy/compare/master...crazyxy:feature/boringssllua?expand=1#diff-d8d3e33358b55e6c0466dd1bb5f40c79 Fixes #Issue: envoyproxy#7009 Signed-off-by: Yan Xue <yxyan@google.com>
…oxy#7050) Description: Expose functions for users to verify digital signature in Lua script Risk Level: Low Testing: unit test, integration Docs Changes: https://github.com/envoyproxy/envoy/compare/master...crazyxy:feature/boringssllua?expand=1#diff-ddc999700fdafb43c2cdcafcc7a4b887 Release Notes: https://github.com/envoyproxy/envoy/compare/master...crazyxy:feature/boringssllua?expand=1#diff-d8d3e33358b55e6c0466dd1bb5f40c79 Fixes #Issue: envoyproxy#7009 Signed-off-by: Yan Xue <yxyan@google.com>
…oxy#7050) Description: Expose functions for users to verify digital signature in Lua script Risk Level: Low Testing: unit test, integration Docs Changes: https://github.com/envoyproxy/envoy/compare/master...crazyxy:feature/boringssllua?expand=1#diff-ddc999700fdafb43c2cdcafcc7a4b887 Release Notes: https://github.com/envoyproxy/envoy/compare/master...crazyxy:feature/boringssllua?expand=1#diff-d8d3e33358b55e6c0466dd1bb5f40c79 Fixes #Issue: envoyproxy#7009 Signed-off-by: Yan Xue <yxyan@google.com>
|
@bdecoste FYI this seems to be the commit which reintroduced boringssl into core |
filter: exposed functions to Lua to verify digital signature (envoyproxy#7050)
cherry-pick into 1.2: filter: exposed functions to Lua to verify digital signature (envoyproxy#7050)
Description: Expose functions for users to verify digital signature in Lua script
Risk Level: Low
Testing: unit test, integration
Docs Changes: https://github.com/envoyproxy/envoy/compare/master...crazyxy:feature/boringssllua?expand=1#diff-ddc999700fdafb43c2cdcafcc7a4b887
Release Notes: https://github.com/envoyproxy/envoy/compare/master...crazyxy:feature/boringssllua?expand=1#diff-d8d3e33358b55e6c0466dd1bb5f40c79
Fixes #Issue: #7009