[ 
https://issues.apache.org/jira/browse/RATIS-383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16702805#comment-16702805
 ] 

Xiaoyu Yao commented on RATIS-383:
----------------------------------

Upload a new patch. Here is the validation, as we can see from the build result 
that the original netty-tcnative libs are patched with  shaded prefix and the 
original libs are filtered from the final jar. [~elserj], please review and let 
me know your feedback, thanks! 

 

{code}

$ jar -tf 
/Users/xyao/git/incubator-ratis-thirdparty/misc/target/ratis-thirdparty-misc-0.2.0-SNAPSHOT.jar
 |grep native

META-INF/native/

META-INF/native/liborg_apache_ratis_thirdparty_netty_tcnative_osx_x86_64.jnilib

META-INF/native/liborg_apache_ratis_thirdparty_netty_tcnative_linux_x86_64.so

META-INF/native/libnetty_transport_native_epoll_x86_64.so

META-INF/native/libnetty_transport_native_kqueue_x86_64.jnilib

META-INF/native/org_apache_ratis_thirdparty_netty_tcnative_windows_x86_64.dll

org/apache/ratis/thirdparty/io/netty/internal/tcnative/

org/apache/ratis/thirdparty/io/netty/internal/tcnative/Buffer.class

org/apache/ratis/thirdparty/io/netty/internal/tcnative/Library.class

org/apache/ratis/thirdparty/io/netty/internal/tcnative/CertificateVerifier.class

org/apache/ratis/thirdparty/io/netty/internal/tcnative/NativeStaticallyReferencedJniMethods.class

org/apache/ratis/thirdparty/io/netty/internal/tcnative/SniHostNameMatcher.class

org/apache/ratis/thirdparty/io/netty/internal/tcnative/SSL.class

org/apache/ratis/thirdparty/io/netty/internal/tcnative/CertificateRequestedCallback.class

org/apache/ratis/thirdparty/io/netty/internal/tcnative/SessionTicketKey.class

org/apache/ratis/thirdparty/io/netty/internal/tcnative/CertificateCallback.class

org/apache/ratis/thirdparty/io/netty/internal/tcnative/SSLContext.class

META-INF/maven/io.netty/netty-tcnative-boringssl-static/

META-INF/maven/io.netty/netty-tcnative-boringssl-static/pom.xml

META-INF/maven/io.netty/netty-tcnative-boringssl-static/pom.properties

{code}

> Shade native library tcnative for grpc/netty in Ratis-Thirdparty
> ----------------------------------------------------------------
>
>                 Key: RATIS-383
>                 URL: https://issues.apache.org/jira/browse/RATIS-383
>             Project: Ratis
>          Issue Type: Bug
>          Components: security
>            Reporter: Mukul Kumar Singh
>            Assignee: Xiaoyu Yao
>            Priority: Major
>              Labels: ozone
>         Attachments: RATIS-383.001.patch, RATIS-383.002.patch
>
>
> RATIS-246 discusses making GRPC endpoint secure with mTLS. This jira is 
> needed as GRPC/netty has dependency on tcnative jar/libraries that need to be 
> shaded in Ratis-Thirdparty.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to