tink icon indicating copy to clipboard operation
tink copied to clipboard

Bazel Problems for C++ Build

Open anilTaylan opened this issue 4 years ago • 3 comments

Hello, I currently working on an Android Project that uses Tink library. I would like to implement JNI for Tink. For this purpose, I'm trying to build the Bazel with the given instructions but I'm continuously getting errors. I'm trying to build Bazel 3.1.0 with GCC 9.3.0 in an OS of Ubuntu 20.04. I would really appreciate some help.

Thank You

anilTaylan avatar Mar 03 '21 12:03 anilTaylan

Can you tell us more about the errors?

BTW why can't you use Tink for Android?

dependencies {
  implementation 'com.google.crypto.tink:tink-android:1.5.0'
}

thaidn avatar Mar 17 '21 20:03 thaidn

In the end, I was able to get a build that works, thank you for your reply. I was using Tink for Android but a friend in cybersecurity field recommended this because it would be "safer", though I am still not sure if it is really "safer".

anilTaylan avatar Apr 15 '21 07:04 anilTaylan

On Android, Tink calls into Conscrypt https://conscrypt.org which is a JNI wrapper on top of BoringSSL. This means it's C++ all the way down.

On Thu, Apr 15, 2021 at 12:43 AM anilTaylan @.***> wrote:

In the end, I was able to get a build that works, thank you for your reply. I was using Tink for Android but a friend in cybersecurity field recommended this because it would be "safer", though I am still not sure if it is really "safer".

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/google/tink/issues/475#issuecomment-820198673, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAB23CXE7WPESXGZNCATBLTI2KJPANCNFSM4YRE3CGA .

-- https://vnhacker.blogspot.com

thaidn avatar Apr 15 '21 15:04 thaidn