mirror of
https://abf.rosa.ru/djam/rpm.git
synced 2025-02-23 18:33:04 +00:00
Switch GOST R 34.11-94 hashsumming to CryptoPro-A S-Box
We found out that hashes calculated by GCRY_MD_GOSTR3411_94 were different than the ones by other industry-common tools. GCRY_MD_GOSTR3411_94 in libgcrypt uses another S-Box than GCRY_MD_GOSTR3411_CP (which is the same GOST R 34.11-94 but with CryptoPro-A S-Box). GCRY_MD_GOSTR3411_CP is standartized in RFC4357 and the same S-Box is used by gostsum, OpenSSL gost-engine and LibreSSL. Switch to GCRY_MD_GOSTR3411_CP. See https://github.com/gost-engine/engine/issues/189
This commit is contained in:
parent
da3f192507
commit
ba933d047d
1 changed files with 2 additions and 2 deletions
4
rpm.spec
4
rpm.spec
|
@ -1,4 +1,4 @@
|
|||
%define commit 5bf4d7c6391be2408e59680999d8a83fb279d64a
|
||||
%define commit e64c6fa20d47e6599cfd65f0fece87247d210c59
|
||||
%define short_commit %(echo %{commit} | head -c 4)
|
||||
# When updating, change commit hash above to the commit in
|
||||
# https://abf.io/soft/rpm5 that you want to build from
|
||||
|
@ -65,7 +65,7 @@ Summary: The RPM package management system
|
|||
Name: rpm
|
||||
Epoch: 1
|
||||
Version: %{libver}.%{minorver}
|
||||
Release: 104.git%{short_commit}
|
||||
Release: 105.git%{short_commit}
|
||||
License: LGPLv2.1+
|
||||
Group: System/Configuration/Packaging
|
||||
Url: http://rpm5.org/
|
||||
|
|
Loading…
Add table
Reference in a new issue