Bug 47192 - openssl-gost-engine собран с libcrypto1.1
Summary: openssl-gost-engine собран с libcrypto1.1
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: openssl-gost-engine (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 major
Assignee: manowar@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-10 23:36 MSK by Oredar
Modified: 2023-08-15 20:18 MSK (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oredar 2023-08-10 23:36:02 MSK
Пакет установлен в системе, модуль включён, но по итогу поддержки ГОСТ в openssl нет:

# rpm -qa | grep openssl
...
openssl-3.1.2-alt1.x86_64
openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1-alt4.x86_64

# control | grep openssl-gost
openssl-gost    enabled         (enabled disabled)

# openssl ciphers|tr ':' '\n'|grep GOST ; echo $?
1

В конфиге он также корректно прописан:

# cat /etc/openssl/openssl.cnf | tail -n 10
engines = engine_section

[ engine_section ]

gost = gost_section

[ gost_section ]
engine_id = gost
default_algorithms = ALL
CRYPT_PARAMS = id-Gost28147-89-CryptoPro-A-ParamSet
Comment 1 Gleb F-Malinovskiy 2023-08-11 09:22:00 MSK
Да, этот пакет ещё не был обновлён после начала перехода на openssl 3.
Comment 2 manowar@altlinux.org 2023-08-14 15:47:06 MSK
Попробуйте, пожалуйста, openssl-gost-engine-3.0.2-alt1.
Comment 3 Oredar 2023-08-15 20:18:33 MSK
Благодарю, теперь всё видит:

# openssl ciphers|tr ':' '\n'|grep GOST
GOST2012-MAGMA-MAGMAOMAC
GOST2012-KUZNYECHIK-KUZNYECHIKOMAC
LEGACY-GOST2012-GOST8912-GOST8912
IANA-GOST2012-GOST8912-GOST8912
GOST2001-GOST89-GOST89