Skip to content

iliadmitriev/privkey2012

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Privkey2012

Build docker and push

This tool is used to extract private key from CryptoPRO storage format using GOST R 34.10-2012 format

Storage is a folder with files:

header.key
masks.key
masks2.key
name.key
primary.key
primary2.key

Requirements and dependencies

CPU arhictecture:

  • x86_64 (amd64)
  • arm64 (aarch64)

OS:

  • Linux
  • MacOS

Software:

Based on:

  1. alpine 3.14
  2. openssl 3.0.0
  3. gost engine

Building Image

To build image run:

docker build -t privkey2012 ./

How to use

Change path ~/storage.001 to your storage path and run:

docker run --rm -ti -v ~/storage.001:/usr/local/src/storage.001 privkey2012 storage.001

Your key will be output to stdout