RU

Flutter and GOST Signing: CryptoPro and Rutoken NFC via a Native Module

Published: 2026-12-02 · Author: AI Release · @ai_releaseorg
Flutter and GOST Signing: CryptoPro and Rutoken NFC via a Native Module

⚡ The gist

🔍 What happened

Amiga's mobile team published a write-up on their company blog on Habr, breaking down the seemingly simple task of "adding a Sign button." The flow is straightforward: the user opens a document, taps their Rutoken against the phone, enters a PIN, and signs. Behind that button sit two native SDKs, an NFC session, a private key container, a certificate, and an agreement on the signature format.

The authors suggest starting not with the SDK but with the question of where the key lives. There are three options. A software container in CryptoPro CSP on the device. A non-exportable key on a physical token that connects via NFC, Bluetooth, or USB. Or remote signing, where the key lives in a signing service. The architecture in the article looks like this: Flutter UI and state machine, then a MethodChannel, then a native Signing Gateway, and underneath it CryptoPro CSP, the Rutoken SDK, and the system NFC stack. In Dart, the authors expose a GostSigner interface with listCertificates, sign, and cancel methods, while SignatureRequest carries content as a Uint8List, plus certificateId, profile, and detached.

🧠 Our take

Why this is appearing right now isn't clear from the text. We think the article describes the team's working practice rather than an announcement: there's no release or SDK version numbers in it. Our assessment: the real value here is the order of decisions. Key first, then format, then architecture. That saves you from rewriting the interface when it turns out the key has to live on a server.

For teams signing legally binding documents from a phone, this changes the planning. The "a couple of days" figure from the article strikes the editorial team as noticeably optimistic. The winners are those who get a checklist before picking a vendor. The losers are the folks who were counting on a ready-made plugin. There's no SDK comparison in the article, so we can't judge which option wins on cost and convenience.

⚠️ What we don't know

The fragment we have cuts off at the description of SignatureRequest. We haven't seen the sections on NFC session error handling or server-side signature verification. The text contains no figures on development timelines, CryptoPro license costs, or supported Android and iOS versions. The author himself notes that the scheme doesn't replace the CryptoPro and Rutoken documentation, and that the signature format and security class depend on the FSB and regulators. It's worth checking the licensing terms and current SDK versions on the vendors' websites.

💬 Worth debating

  • Store the key in a container on the phone or on a physical token? The first option requires no hardware from the user; the second makes it impossible to copy the key into device memory. The answer depends on FSB requirements and on who's on the hook if the key gets compromised.
  • Who do you trust with the key: the device or a signing service? With remote signing, trust shifts from the phone to the vendor — and to your contract with them.
  • Build the GostSigner abstraction right away, or prototype on a single SDK first? If the team commits to one storage method, the interface will have to change the moment a second one shows up.

Forecast: No forecast: too little data. This is a tutorial with no news event and no deployment details.

Source: the material was published on Amiga's company blog on Habr.

🤖 AI summary
  • Date: 2026-12-02
  • Source: habr.com
  • Tags: Gost, Flutter, Kriptopro, Rutoken, NFC, Elektronnaya, Mobilnayarazrabotka, Informacionnayabezopasnost
  • Key facts:
    • The Amiga team showed how to build GOST signing into a Flutter app with CryptoPro CSP and a Rutoken NFC token.
    • Flutter drives the scenario; a native gateway handles the cryptography.
    • The private key and PIN never touch Dart.
    • The catch: you need a CryptoPro license and native SDKs.
    • This is a tutorial, not a product announcement.
    • Amiga's mobile team published a write-up on their company blog on Habr , breaking down the seemingly simple task of "adding a Sign button." The flow is straightforward: the user opens a document, taps their Rutoken against the phone, enters a PIN, and signs.
    • Behind that button sit two native SDKs, an NFC session, a private key container, a certificate, and an agreement on the signature format.
    • The authors suggest starting not with the SDK but with the question of where the key lives.
GostFlutterKriptoproRutokenNFCElektronnayaMobilnayarazrabotkaInformacionnayabezopasnost
← PreviousA Japanese environment for autonomous AI agents: what developers are arguing aboutNext →Closed testing on Google Play surfaced 5 bugs in a match-3 game the developer never saw

Source: habr.com · post in Telegram