Skip to main content

libsmev

Библиотека вспомогательных функций для работы со СМЭВ.

Первоначальная настройка окружения

Linux

  1. Установить OpenSSL версии не ниже 1.0.

  2. Для поддержки OpenSSL ГОСТ Р 34.11-94, необходимо внести изменения в openssl.cnf:

    openssl_conf = openssl_def
    
    <...оставшееся содержимое файла...>
    
    [openssl_def]
    engines = engine_section
    
    [engine_section]
    gost = gost_section
    
    [gost_section]
    soft_load=1
    default_algorithms = ALL

Теперь можно вызвать алгоритм ГОСТ Р 34.11-94 из консоли следующим образом: openssl dgst -md_gost94 filename

Windows

  1. Установить Microsoft Visual C++ Redistributable: http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF

  2. Установить OpenSSL версии не ниже 1.0: http://slproweb.com/download/Win32OpenSSL-1_0_1c.exe

  3. Для поддержки OpenSSL алгоритма шифрования ГОСТ Р 34.11-94, необходимо внести изменения в файл конфига OpenSSL (обычно в директории с OpenSSL). Почти все совпадает со значениями из секции выше, кроме секции gost_section::

    [gost_section]
    engine_id = gost
    dynamic_path = ./gost.dll
    default_algorithms = ALL

Добавить в переменные окружения путь к конфигу OpenSSL:

OPENSSL_CONF=c:\\OpenSSL-Win32\\bin\\openssl.cfg

Благодарности

Огромное спасибо за помощь в отладке:

Особая благодарность:

Статус сборки

https://travis-ci.org/barsgroup/libsmev.png

Metadata

Release files for m3-libsmev 0.1.6.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for m3-libsmev 0.1.6.4
File Size Uploaded
m3-libsmev-0.1.6.4.tar.gz 18.3 kB Details

Release files / m3-libsmev-0.1.6.4.tar.gz

Download URL m3-libsmev-0.1.6.4.tar.gz
Size 18.3 kB
Tags Source
SHA-256 checksum
How to use checksums
88b145a622101149567f6783e6a4f158dbbec51af3b98292f65b1e301193983b
BLAKE2b-256 checksum
How to use checksums
6c6e72287874e36e67ea0d1f924d10eeb4c5b7592866aad577637a78b9bf7813
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.6.4 This release

1 release file

0.1.6

1 release file

0.1.5

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page