December 1New requirements for 5 groups: grocery products, animal feed, clothing and household linen, and 2 more · What to do
EN
Sign inTry for free
Truemark Crypto

GOST R 34.10-2012 · free · no sign-up

Cryptography for Chestny ZNAK without the hassle

A test certificate for the sandbox, signing and verification, encryption for a counterparty, ASN.1, Base64 and JWT analysis. In the browser; keys never leave your computer.

CryptoPro CSPchecking… EDS Browser plug-inchecking… Rutoken EDS 3.0checking…

How it works

  1. Choose an organization or an individualDetails are filled in from the Unified State Registers of Legal Entities and Individual Entrepreneurs, and the head becomes the certificate owner
  2. Check the owner and choose what creates the keysCryptoPro CSP, or Rutoken EDS 3.0, which creates the key inside the token
  3. Keys are created on your computerOnly a request with the public key goes to the Truemark CA. The certificate goes into the store with one button.

Electronic signature basics

What happens behind one button

Six concepts that electronic signatures in Chestny ZNAK, EDI and government systems rest on. Briefly and with examples.

01

Hash

A fixed-length fingerprint of a document. Change one letter, and the whole fingerprint is different. It’s the hash that gets signed, under GOST R 34.11-2012 “Streebog”.

SHA-256—

Verify a signature

02

Key pair

The private key is stored in a CryptoPro container or on a token and is never handed over. The public key is derived from the private one and is visible to everyone: it’s written in the certificate.

private key  d        in the container
public key   Q = d·P  in the certificate
P is a point on the GOST R 34.10-2012 curve
Issue a certificate

03

Signature

The document hash is transformed with the private key. Anyone with the public key can verify the signature, and it can’t be forged without the private key.

signature    = Sign(private, hash)
verification = Verify(public,
               hash, signature) → yes or no
Sign a document

04

Certificate and CA

A certificate links a public key to its owner: full name, INN, OGRN, validity period. A certificate authority signs the certificate with its key, and the CA root certificate closes the chain of trust.

Truemark CA root certificate
  └─ your certificate: organization, legal entity INN
       └─ signature under the document
Analyze a certificate

05

Encryption

The document is encrypted with a random session key, and the session key is encrypted for the recipient by their certificate. Only the private key owner can open the envelope.

CMS envelope
 ├─ recipient: serial number
 ├─ session key for the recipient
 └─ document under the session key
Encrypt a file

06

ASN.1, DER and PEM

Certificates, signatures and keys are stored in ASN.1 format: a tree of typed fields. DER is the binary form; PEM and Base64 are the same thing as text.

30 82 04 58       SEQUENCE certificate
  30 82 04 05     SEQUENCE tbs
    A0 03 02 01 02  [0] version v3
Open the decoder

Questions

Frequently asked questions about Truemark Crypto

Didn’t find the answer? Write to us; an expert replies within 15 minutes on average. About CryptoPro and signing in the account, see the knowledge base.

Is it free?

Yes, all Truemark Crypto tools are free and work without sign-up.

Are keys and documents sent to the server?

No. Keys are created and stored in CryptoPro CSP or on a token on your computer. Signing, verification, encryption and format analysis happen in the browser. Only the certificate request with the public key and the owner’s details goes to the Truemark server.

What do I need to install?

For issuing, signing and encryption, CryptoPro CSP and CryptoPro EDS Browser plug-in. ASN.1, Base64 and JWT work in any browser without installation.

Will a test certificate work for production Chestny ZNAK?

No, only for the sandbox. The production environment needs a qualified signature from an accredited certificate authority. The Truemark account works with it.

Why does Truemark make such tools?

Truemark is a marking service integrated with Chestny ZNAK: GIS MT, OMS, the National Catalog and EDI. We need test certificates, signing and format analysis every day, and we’ve opened them to everyone.

A certificate in half a minute. Marking in Truemark is just as simple

Sign up and get your first codes in 5 minutes. 7 days of full access free, no card required.

Try for freeSales: +7 812 765-02-50 · info@truemark.ru

Or leave a request

We’ll answer about volumes, pricing and getting started. Leave your phone or email and your question in the request form.