Fix some tests

i10-beta
Arkady L. Shane 4 weeks ago
parent e433323017
commit 7fe1e10660
Signed by: tigro
GPG Key ID: 1EC08A25C9DB2503

@ -1,4 +1,4 @@
From 16aeae867ff90b540ac3613fcb742db8dc0a5361 Mon Sep 17 00:00:00 2001 From 140968b582c1eef74200a03eaeb99839be8e6ba9 Mon Sep 17 00:00:00 2001
From: tigro <tigro@msvsphere-os.ru> From: tigro <tigro@msvsphere-os.ru>
Date: Wed, 8 Jan 2025 22:11:14 +0300 Date: Wed, 8 Jan 2025 22:11:14 +0300
Subject: [PATCH] Added GOST 10.0 policy also added experimental PAM generator Subject: [PATCH] Added GOST 10.0 policy also added experimental PAM generator
@ -1081,7 +1081,7 @@ index 0000000..f28939e
+ +
+authopt@AUTH = custom/sssd_gost with-gost with-fingerprint with-silent-lastlog +authopt@AUTH = custom/sssd_gost with-gost with-fingerprint with-silent-lastlog
diff --git a/python/build-crypto-policies.py b/python/build-crypto-policies.py diff --git a/python/build-crypto-policies.py b/python/build-crypto-policies.py
index 2639624..fd203c3 100755 index 2639624..677b60d 100755
--- a/python/build-crypto-policies.py --- a/python/build-crypto-policies.py
+++ b/python/build-crypto-policies.py +++ b/python/build-crypto-policies.py
@@ -9,6 +9,7 @@ import argparse @@ -9,6 +9,7 @@ import argparse
@ -1109,7 +1109,7 @@ index 2639624..fd203c3 100755
config = gen.generate_config(ucp) config = gen.generate_config(ucp)
- if policy_name == 'EMPTY' or gen.test_config(config): - if policy_name == 'EMPTY' or gen.test_config(config):
+ if policy_name in ('EMPTY', 'GOST-ONLY', 'GOST-ONLY-PAM', 'DEFAULT:PAM-GOST', 'DEFAULT:PATCH-PAM-GOST', 'DEFAULT:SSSD-PAM-GOST') or gen.test_config(config): + if policy_name in ('EMPTY', 'GOST-ONLY', 'GOST-ONLY-PAM') or gen.test_config(config):
try: try:
name = ':'.join([policy_name, *subpolicy_names]) name = ':'.join([policy_name, *subpolicy_names])
if not save_config(cmdline, name, gen.CONFIG_NAME, config): if not save_config(cmdline, name, gen.CONFIG_NAME, config):

Loading…
Cancel
Save