[Rpm-maint] [rpm-software-management/rpm] Add ability to calculate filedigests using Streebog-256 and Streebog-… (#1082)

Michael Schroeder notifications at github.com
Fri Feb 21 10:49:55 UTC 2020


mlschroe commented on this pull request.



> @@ -266,6 +266,8 @@ typedef enum pgpHashAlgo_e {
     PGPHASHALGO_SHA384		=  9,	/*!< SHA384 */
     PGPHASHALGO_SHA512		= 10,	/*!< SHA512 */
     PGPHASHALGO_SHA224		= 11,	/*!< SHA224 */
+    PGPHASHALGO_GOST12_256	= 100,	/*!< GOST R 34.11-2012 256 */
+    PGPHASHALGO_GOST12_512	= 101,	/*!< GOST R 34.11-2012 512 */

It should match the hash algorithm id used in pgp.

12 is SHA3-256, 14 is SHA3-512. 100-110 is reserved for Private/Experimental algorithms.

See https://tools.ietf.org/html/draft-ietf-openpgp-rfc4880bis-05

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1082#discussion_r382516910
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200221/f111e186/attachment.html>


More information about the Rpm-maint mailing list