mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-25 06:38:02 -05:00
Since commit 4ed7da378940198cf4415f86d4eb013de6ac6455 in MIT krb5, kdb5_util sets the required bits on the modification mask of updated principal entries to enable ipa-kdb to switch the active master key. This commit creates a "test_fedora_legacy" ipaplatform where the AES HMAC-SHA2 encryption types are not enabled. "test_mkey_upgrade" uses this platform to initialize a domain with an aes256-cts-hmac-sha1-96 master key, and test its upgrade to aes256-cts-hmac-sha384-192. Some parts of the test infrastructure had to be made aware of this new platform (e.g. firewall integration). Reviewed-By: Rob Crittenden <rcritten@redhat.com>
57 lines
1.8 KiB
Python
57 lines
1.8 KiB
Python
# Copyright (C) 2014 Red Hat
|
|
# see file 'COPYING' for use and warranty information
|
|
#
|
|
# This program is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
#
|
|
|
|
"""FreeIPA platform
|
|
|
|
FreeIPA is a server for identity, policy, and audit.
|
|
"""
|
|
from os.path import abspath, dirname
|
|
import sys
|
|
|
|
if __name__ == '__main__':
|
|
# include ../ for ipasetup.py
|
|
sys.path.append(dirname(dirname(abspath(__file__))))
|
|
from ipasetup import ipasetup # noqa: E402
|
|
|
|
ipasetup(
|
|
name="ipaplatform",
|
|
doc=__doc__,
|
|
package_dir={'ipaplatform': ''},
|
|
packages=[
|
|
"ipaplatform",
|
|
"ipaplatform.base",
|
|
"ipaplatform.debian",
|
|
"ipaplatform.fedora",
|
|
"ipaplatform.fedora_container",
|
|
"ipaplatform.nixos",
|
|
"ipaplatform.redhat",
|
|
"ipaplatform.rhel",
|
|
"ipaplatform.rhel_container",
|
|
"ipaplatform.suse",
|
|
"ipaplatform.test_fedora_legacy",
|
|
"ipaplatform.opencloudos",
|
|
"ipaplatform.tencentos"
|
|
],
|
|
install_requires=[
|
|
"cffi",
|
|
# "ipalib", # circular dependency
|
|
"ipapython",
|
|
"pyasn1",
|
|
"six",
|
|
],
|
|
)
|