maximmonakhov / crypt_signature Goto Github PK
View Code? Open in Web Editor NEWПлагин Flutter для формирования электронной цифровой подписи с помощью алгоритмов ГОСТ по стандарту PKCS7 Cryptographic Message Syntax (CMS)
Плагин Flutter для формирования электронной цифровой подписи с помощью алгоритмов ГОСТ по стандарту PKCS7 Cryptographic Message Syntax (CMS)
Не подскажете, где вводятся координаты кривой?
В файле lib/src/ui/dialogs.dart
Инициализация происходит в билд методе.
В редких случаях при скрытии клавиатуры происходит ребилд окна и текстовое поле очищается, таким образом не получается ввести корректный пароль.
Нужно как-то вынести инициализацию контроллера из билд метода.
Костыльно у себя исправил так:
Future<String?> showInputDialog( BuildContext context, String message, String hintText, TextInputType keyboardType, { required TextEditingController controller, List<TextInputFormatter>? inputFormatters, bool obscureText = false, })
Future<String?> askPassword(BuildContext context, String title) => showInputDialog( context, title, "Пароль", TextInputType.visiblePassword, obscureText: true, controller: TextEditingController(), );
`Future<License?> setNewLicenseSheet(BuildContext context) async {
var maskFormatter = MaskTextInputFormatter(
mask: '#####-#####-#####-#####-#####',
filter: {"#": RegExp('[0-9+A-Z]')},
);
String? newLicense = await showInputDialog(
context,
"Введите вашу лицензию Крипто ПРО",
"Номер лицензии",
TextInputType.emailAddress,
inputFormatters: [maskFormatter],
controller: TextEditingController(),
);
return newLicense != null && newLicense.isNotEmpty ? setLicense(context, newLicense) : null;
}`
Не хватает получения thumbprint сертификата для дальнейшей проверки корректности
GOST R 34.10-2001 for IOS
При запуске на ios выходит данная ошибка
warning: no rule to process file '/Users/Dauken/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/crypt_signature-4.1.1/ios/Classes/AssemblyInfo.cs' of type 'text' for architecture 'arm64' (in target 'crypt_signature' from project 'Pods')
warning: no rule to process file '/Users/Dauken/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/crypt_signature-4.1.1/ios/Classes/AssemblyInfo.cs' of type 'text' for architecture 'x86_64' (in target 'crypt_signature' from project 'Pods')
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.