pyanaconda.modules.security.security_interface

Classes

SecurityInterface

DBus interface for the security module.

Module Contents

class pyanaconda.modules.security.security_interface.SecurityInterface[source]

Bases: pyanaconda.modules.common.base.KickstartModuleInterface

DBus interface for the security module.

connect_signals()[source]

Connect the signals.

property SELinux: Int[source]

The state of SELinux on the installed system.

Allowed values:
-1

Unset. 0 Disabled. 1 Enforcing. 2 Permissive.

Returns:

a value of the SELinux state

Return type:

Int

property Authselect: List[Str][source]

Arguments for the authselect tool.

Returns:

a list of arguments

Return type:

List[Str]

property Realm: Structure[source]

Specification of the enrollment in a realm.

Returns:

a dictionary with a specification

Return type:

Structure

property FingerprintAuthEnabled: Bool[source]

Reports if fingerprint authentication is enabled.

Returns:

True if fingerprint authentication is enabled, False otherwise

Return type:

Bool

DiscoverRealmWithTask()[source]

Discover realm with a task.

NOTE: temporary API needed before dynamic task scheduling is implemented

Return type:

ObjPath

JoinRealmWithTask()[source]

Join realm with a task.

NOTE: temporary API needed before dynamic task scheduling is implemented

Return type:

ObjPath

PreconfigureFIPSWithTask(payload_type)[source]

Set up FIPS for the payload installation with a task.

Parameters:

payload_type (Str) – a string with the payload type

Returns:

a DBus path of a installation task

Return type:

ObjPath

ConfigureFIPSWithTask()[source]

Configure FIPS on the installed system.

Returns:

a DBus path of a installation task

Return type:

ObjPath