简体   繁体   English

Flutter - 为什么/flutter_secure_storage 是安全的?

[英]Flutter - Why/How is flutter_secure_storage secure?

I think I don`t understand this mechanism at all.我想我根本不了解这种机制。

You are supposed to create it by setting a key value, but if someone decompiles the flutter code and reads it again with flutter_secure_storage, doesn't it all show up?你应该通过设置一个键值来创建它,但是如果有人反编译了 flutter 代码并用flutter_secure_storage再次读取它,它不会全部显示出来吗?

https://pub.dev/packages/flutter_secure_storage https://pub.dev/packages/flutter_secure_storage

The documentation explanation is too short.文档说明太短。 I want to keep my private key safe.我想保护我的私钥安全。 Anyone could tell me more about this issue & mechanism??任何人都可以告诉我更多关于这个问题和机制的信息?


PLUS

I just set the key value, but realized that the key value is not visible on other phones.我只是设置了键值,但发现键值在其他手机上是不可见的。 If this happens, the cell phone has to expose the private key every time the app is opened for the first time... I don't know why this is secure.如果发生这种情况,手机每次第一次打开应用程序时都要暴露私钥......我不知道为什么这样是安全的。

Note the difference between a cryptographic key and a map key.请注意加密密钥和 map 密钥之间的区别。 The key you provide to the flutter_secure_storage api is more akin to a label, one you use to find the correct value to retrieve.您提供给 flutter_secure_storage api 的密钥更类似于 label,用于查找要检索的正确值。 The cryptographic key is provided/handled by the library together with the device KeyStore, and as such is typically only available after the user unlocks with a biometric prompt (fingerprint etc.).加密密钥由库与设备 KeyStore 一起提供/处理,因此通常仅在用户使用生物特征提示(指纹等)解锁后才可用。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 flutter 中的 flutter_secure_storage 和 shared_prefrences 有什么区别? 为什么 flutter_secure_storage 更安全? - What are the differences between flutter_secure_storage and shared_prefrences in flutter? Why is flutter_secure_storage more secure? flutter_secure_storage中可以存储多少数据? - How much data can store in flutter_secure_storage? flutter_secure_storage 究竟是什么以及它是如何工作的? - What is flutter_secure_storage exactly and how it works? 无法解析配置 ':flutter_secure_storage:classpath' 的所有工件 - Could not resolve all artifacts for configuration ':flutter_secure_storage:classpath' 在我的场景中,哪个包更好 flutter_secure_storage 或 getx ? - Which package is better flutter_secure_storage or getx in my scenario? 使用 flutter_secure_storage 保存数据的列表文本......这可能吗? - Save List Texst of data using flutter_secure_storage ... is it possible? 如何实现使用flutter_secure_storage包读写数据的流程【with Provider包】 - How to implement a process that uses flutter_secure_storage package to read and write the data [with Provider package] 我将如何保持存储flutter_secure_storage的列表顺序? - How would I keep the order of the list stored flutter_secure_storage? Flutter 找不到所需的 package flutter_secure_storage/linux/CMakeLists.txt:14 - Flutter A required package was not found flutter_secure_storage/linux/CMakeLists.txt:14 MissingPluginException(未找到在通道插件上读取的方法的实现。it_nomads.com/flutter_secure_storage) - MissingPluginException(No implementation found for method read on channel plugins.it_nomads.com/flutter_secure_storage)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM