tink icon indicating copy to clipboard operation
tink copied to clipboard

Support dart and flutter

Open rashedmyt opened this issue 5 years ago • 8 comments

Dart is very weak in native crypto packages. It would be really great if you could support dart and those languages which have very weak crypto libraries instead of those having them already..

rashedmyt avatar Dec 23 '18 13:12 rashedmyt

Thanks for the suggestion. Nobody in the core team knows Dart. Is it possible to support via a C++ binding?

thaidn avatar Jan 10 '19 15:01 thaidn

I think its doable as mentioned by this article https://www.dartlang.org/articles/server/native-extensions. But I would prefer language specific code anytime over these inter-language calls and wrappers. Maybe a collaboration with dart team might give more insight on how to best achieve this requirement.

rashedmyt avatar Jan 10 '19 16:01 rashedmyt

dart:ffi should make it easier to do native interop for this via C++, but it would be really nice if it was also available as a Dart library.

dnfield avatar Apr 08 '19 23:04 dnfield

+1 for a native Dart implementation. I could imagine, as Flutter + Dart is spreading more and more (e.g. to the desktop and also to the web), especially the https://github.com/google/tink/tree/master/apps/webpush part could be really helpful for secure cross platform push efforts.

Boehrsi avatar Sep 24 '19 14:09 Boehrsi

+1 A native Dart library would help a lot of developers trying to do cross-platform crypto correctly.

You should contact the Dart team to see if they can lend a hand. Either they or the Flutter people will be probably interested given how much Tink could contribute to their efforts of making mobile, web and desktop development more enjoyable and productive.

Comevius avatar Oct 10 '19 14:10 Comevius

There is currently no actively developed encryption library for Dart / Flutter and tink support would be amazing. Please don't create an implementation that relies on FFI since it will not work on the web.

simc avatar Oct 14 '19 21:10 simc

You may consider Dart package cryptography, which has the same goals, largely the same algorithms, and the same Apache License 2.0.

terrier989 avatar Apr 28 '20 18:04 terrier989

+1 for native flutter/dart implementation ... because Flutter has poor Crypto implementations, and well... "tink" is from google right?... "dart" is from google... "flutter" is from google... but there's no Dart/flutter implementation and no people who knows Dart in the core tink team? ... :-O

budo76 avatar Sep 16 '21 11:09 budo76

We agree that this should exist, but we do not have the headcount to consider working on this at the moment.

tholenst avatar Feb 09 '23 15:02 tholenst