|
|
@ -1,4 +1,4 @@
|
|
|
|
From 951bd751a2b30d2ada58468fd18f5f550d38e51b Mon Sep 17 00:00:00 2001
|
|
|
|
From 1084b4b356649febba624baab0b61ec6bbb72d05 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Alexey Berezhok <aberezhok@msvsphere-os.ru>
|
|
|
|
From: Alexey Berezhok <aberezhok@msvsphere-os.ru>
|
|
|
|
Date: Tue, 23 Jan 2024 23:01:57 +0300
|
|
|
|
Date: Tue, 23 Jan 2024 23:01:57 +0300
|
|
|
|
Subject: [PATCH] Added GOST policy also added experimental PAM generator
|
|
|
|
Subject: [PATCH] Added GOST policy also added experimental PAM generator
|
|
|
@ -17,7 +17,7 @@ Subject: [PATCH] Added GOST policy also added experimental PAM generator
|
|
|
|
authselect_policies/sssd_gost/system-auth | 46 ++++++
|
|
|
|
authselect_policies/sssd_gost/system-auth | 46 ++++++
|
|
|
|
policies/GOST-ONLY-PAM.pol | 29 ++++
|
|
|
|
policies/GOST-ONLY-PAM.pol | 29 ++++
|
|
|
|
policies/GOST-ONLY.pol | 28 ++++
|
|
|
|
policies/GOST-ONLY.pol | 28 ++++
|
|
|
|
policies/modules/GOST.pmod | 18 +++
|
|
|
|
policies/modules/GOST.pmod | 17 ++
|
|
|
|
policies/modules/PAM-GOST.pmod | 5 +
|
|
|
|
policies/modules/PAM-GOST.pmod | 5 +
|
|
|
|
python/build-crypto-policies.py | 8 +-
|
|
|
|
python/build-crypto-policies.py | 8 +-
|
|
|
|
python/cryptopolicies/alg_lists.py | 19 ++-
|
|
|
|
python/cryptopolicies/alg_lists.py | 19 ++-
|
|
|
@ -104,7 +104,7 @@ Subject: [PATCH] Added GOST policy also added experimental PAM generator
|
|
|
|
tests/outputs/GOST-ONLY-sequoia.txt | 51 ++++++
|
|
|
|
tests/outputs/GOST-ONLY-sequoia.txt | 51 ++++++
|
|
|
|
tests/outputs/LEGACY-auth.txt | 0
|
|
|
|
tests/outputs/LEGACY-auth.txt | 0
|
|
|
|
.../outputs/LEGACY:AD-SUPPORT-LEGACY-auth.txt | 0
|
|
|
|
.../outputs/LEGACY:AD-SUPPORT-LEGACY-auth.txt | 0
|
|
|
|
100 files changed, 1402 insertions(+), 10 deletions(-)
|
|
|
|
100 files changed, 1401 insertions(+), 10 deletions(-)
|
|
|
|
create mode 100644 authselect_policies/sssd_gost/README
|
|
|
|
create mode 100644 authselect_policies/sssd_gost/README
|
|
|
|
create mode 100644 authselect_policies/sssd_gost/REQUIREMENTS
|
|
|
|
create mode 100644 authselect_policies/sssd_gost/REQUIREMENTS
|
|
|
|
create mode 100644 authselect_policies/sssd_gost/dconf-db
|
|
|
|
create mode 100644 authselect_policies/sssd_gost/dconf-db
|
|
|
@ -720,12 +720,11 @@ index 0000000..37e478b
|
|
|
|
+action_do = GOST
|
|
|
|
+action_do = GOST
|
|
|
|
diff --git a/policies/modules/GOST.pmod b/policies/modules/GOST.pmod
|
|
|
|
diff --git a/policies/modules/GOST.pmod b/policies/modules/GOST.pmod
|
|
|
|
new file mode 100644
|
|
|
|
new file mode 100644
|
|
|
|
index 0000000..019e063
|
|
|
|
index 0000000..c6f176b
|
|
|
|
--- /dev/null
|
|
|
|
--- /dev/null
|
|
|
|
+++ b/policies/modules/GOST.pmod
|
|
|
|
+++ b/policies/modules/GOST.pmod
|
|
|
|
@@ -0,0 +1,18 @@
|
|
|
|
@@ -0,0 +1,17 @@
|
|
|
|
+# Adds GOST algorithms.
|
|
|
|
+# Adds GOST algorithms.
|
|
|
|
+# This is an example subpolicy, the algorithm names might differ in reality.
|
|
|
|
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+mac = +HMAC-STREEBOG-256 +HMAC-STREEBOG-512 +MAGMA-OMAC +KUZNYECHIK-OMAC +MAGMA-OMAC-ACPKM +KUZNYECHIK-OMAC-ACPKM +GOST28147-TC26Z-IMIT +GOST28147-CPA-IMIT +AEAD
|
|
|
|
+mac = +HMAC-STREEBOG-256 +HMAC-STREEBOG-512 +MAGMA-OMAC +KUZNYECHIK-OMAC +MAGMA-OMAC-ACPKM +KUZNYECHIK-OMAC-ACPKM +GOST28147-TC26Z-IMIT +GOST28147-CPA-IMIT +AEAD
|
|
|
|
+
|
|
|
|
+
|
|
|
@ -2317,5 +2316,5 @@ diff --git a/tests/outputs/LEGACY:AD-SUPPORT-LEGACY-auth.txt b/tests/outputs/LEG
|
|
|
|
new file mode 100644
|
|
|
|
new file mode 100644
|
|
|
|
index 0000000..e69de29
|
|
|
|
index 0000000..e69de29
|
|
|
|
--
|
|
|
|
--
|
|
|
|
2.39.1
|
|
|
|
2.43.0
|
|
|
|
|
|
|
|
|
|
|
|