iliadmitriev / privkey2012

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About


Languages

Language:C 68.8%Language:Dockerfile 31.2%