⚖ Compare news

Put up to three stories side by side. Pick IDs from any article URL: /compare?id=123&id=456

ГОСТ-подпись из Flutter-приложения: как подружить КриптоПро, Рутокен NFC и нативный код

habrahabr.ru ·Russian Federation · tech
Words
62
Chars
425
AI summary
Yes
Full story

The article describes adding a GOST signature button to a Flutter app. At first it looks like a small task, but Flutter handles only the screen while the rest involves CryptoPro, Rutoken NFC, PKCS#11, native code and server-side verification. It explains how to connect these parts, what happens when the NFC session is lost, and how the private key, PIN and cryptographic operations are handled.

Когда в задаче написано «добавить кнопку “Подписать”», сначала кажется, что работы там на пару дней. Потом выясняется, что Flutter отвечает только за экран, а дальше начинаются КриптоПро, Рутокен NFC, PKCS#11, нативный код и проверка на сервере. Разбираемся, как устроить эту связку, что происходит при потере NFC-сессии и почему закрытый ключ, PIN и криптографические операции лучше вообще не передавать в Dart. Читать далее

Open article