Activation on Multifactor Quorum-Authenticated Partitions

A multifactor quorum-authenticated partition requires a user's PED key each time a role (Partition SO, Crypto Officer, Limited Crypto Officer, Crypto User) logs in. For some use cases, such as key vaulting, this physical key requirement is desirable. For many applications, however, it is impractical to require the full Luna PED interaction every time.

For these use cases, the Partition SO can activate the partition and set a secondary password referred to as a challenge secret. When a partition is activated, the HSM caches the Crypto Officer and Limited Crypto Officer and Crypto User PED key secrets upon first login, and subsequent logins require the challenge secret only. The PED key secret remains cached until the role is explicitly deactivated or the HSM loses power due to a reboot or power outage.

Activation does not provide much advantage for clients that log in to the partition and remain logged in. It is an indispensable advantage in cases where the client application repeatedly logs in to perform a task, and then logs out or closes the cryptographic session after the task is completed.

Auto-activation

Auto-activation allows PED key credentials to remain cached even in the event of a reboot or a brief power outage (up to 2 hours).

Tamper events and activation/auto-activation

When a tamper event occurs, or if an uncleared tamper event is detected on reboot, the cached PED key data is zeroized, and activation/auto-activation is disabled. See Tamper Events and Partition Capabilities and Policies for more information.

This section contains instructions for the following procedures:

>Enabling Activation on a Partition

>Activating a Role

>Enabling Auto-activation

>Deactivating a Role

Enabling Activation on a Partition

The Partition SO can enable activation on a partition by setting partition policy 22: Allow activation to 1 (on). This setting enables activation for the Crypto Officer and Limited Crypto Officer and Crypto User roles. When partition policy 22 is enabled, the Partition SO can set an initial challenge secret for the Crypto Officer.

Prerequisites

>The partition must be initialized (see Initializing an Application Partition).

To enable activation on a partition via a client

1.Log in to the partition as Partition SO (see Logging In to the Application Partition).

lunacm:> role login -name po

2.Enable partition policy 22.

lunacm:> partition changepolicy -policy 22 -value 1

Activating a Role

After enabling partition policy 22, activate the CO or LCO or CU roles on the partition. You must set a challenge secret password for each role you want to activate. The Partition SO must set the initial challenge secret for the Crypto Officer, who must set it for the Limited Crypto Officer or Crypto User. The role becomes activated the first time the user logs in to the partition.

Prerequisites

>Partition policy 22: Allow activation must be enabled on the partition (see Enabling Activation on a Partition).

>The role you wish to activate must be initialized on the partition (see Initializing Crypto Officer and Crypto User Roles for an Application Partition).

>If you are activating via a client, the partition must be registered with the client, and the client registered with the appliance, so that the partition is visible to the client library and can be accessed as a crypto slot by lunacm and other tools, and by your application(s).

To activate a role via lunacm on a client

1.Log in to the partition using the appropriate role (see Logging In to the Application Partition):

If you are activating the Crypto Officer role, log in as Partition SO.

If you are activating the Crypto User or Limited Crypto Officer role, log in as Crypto Officer.

lunacm:> role login -name <role>

2.Set an initial challenge secret for the role you wish to activate. The length of the challenge secret is configurable by the Partition SO (see Partition Capabilities and Policies).

In LunaCM, passwords and activation challenge secrets must be 8-255 characters in length (NOTE: If you are using firmware version 7.0.x, 7.3.3, or 7.4.2, activation challenge secrets must be 7-16 characters in length). The following characters are allowed:
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 !@#$%^&*()-_=+[]{}\|/;:',.<>?`~
Double quotation marks (") are problematic and should not be used within passwords.
Spaces are allowed; to specify a password with spaces using the -password or -newpw option of a command, enclose the password in double quotation marks.

lunacm:> role createchallenge -name <role>

NOTE   Activation requires that a challenge secret is set for the specified role. If the role does not have a challenge secret, you are prompted for the PED key, regardless of the policy setting.

3.Log out of the partition.

lunacm:> role logout

4.Provide the initial challenge secret to the designated CO or CU by secure means. The PED key secret is cached when they log in for the first time. The CO or CU can store the black or gray PED key in a safe place. The cached PED key secret allows their application(s) to open and close sessions and perform operations within those sessions.

NOTE   If HSM policy 21: Force user PIN change after set/reset is enabled (this is the default setting), the CO or CU must change the challenge secret before any other actions are permitted. See Changing a Partition Role Credential.

NOTE   The Luna PED screen prompts for a black PED key for any of

>"User",

>"Crypto Officer",

>"Limited Crypto Officer",

>"Crypto User".

The Luna PED is not aware that the key you present has a black or a gray sticker on it. The colored stickers are visual identifiers for your convenience in keeping track of your PED keys. You differentiate by how you label, and how you use, a given physical key that the Luna PED sees as "black" (once it has been imprinted with a secret).

To activate a role via lunash on a Luna Network HSM appliance

1.Log in to the HSM.

lunash:> hsm login

2.Set an initial challenge secret for the role you wish to activate. The length of the challenge secret is configurable by the Partition SO (see Partition Capabilities and Policies).

In LunaCM, passwords and activation challenge secrets must be 8-255 characters in length (NOTE: If you are using firmware version 7.0.x, 7.3.3, or 7.4.2, activation challenge secrets must be 7-16 characters in length). The following characters are allowed:
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 !@#$%^&*()-_=+[]{}\|/;:',.<>?`~
Double quotation marks (") are problematic and should not be used within passwords.
Spaces are allowed; to specify a password with spaces using the -password or -newpw option of a command, enclose the password in double quotation marks.

lunash:> partition activate-partition <partition name> -partition <co challenge secret>

or

lunash:> partition activate-partition <partition name> -cu -partition <cu challenge secret>

NOTE   Activation requires that a challenge secret is set for the specified role. If the role does not have a challenge secret, you are prompted for the PED key, regardless of the policy setting.

3.Provide the initial challenge secret to the application(s) that will use the partition as CO or CU. The PED key secret is cached when they log in for the first time. The cached PED key secret allows those application(s) to open and close sessions and perform operations within those sessions.

NOTE   If HSM policy 21: Force user PIN change after set/reset is enabled (this is the default setting), the CO or CU must change the challenge secret before any other actions are permitted. See Changing a Partition Role Credential.

NOTE   The Luna PED screen prompts for a black PED key for any of

>"User",

>"Crypto Officer",

>"Limited Crypto Officer",

>"Crypto User".

The Luna PED is not aware that the key you present has a black or a gray sticker on it. The colored stickers are visual identifiers for your convenience in keeping track of your PED keys. You differentiate by how you label, and how you use, a given physical key that the Luna PED sees as "black" (once it has been imprinted with a secret).

Enabling Auto-activation

Auto-activation allows PED key credentials to be cached even in the event of a reboot or a brief power outage (up to 2 hours). Clients can re-connect and continue using the application partition without needing to re-authenticate using a PED key.

The Partition SO can enable auto-activation on a partition by setting partition policy 23: Allow auto-activation.

Prerequisites

>Partition policy 22: Allow activation must be enabled on the partition (see Enabling Activation on a Partition).

To enable auto-activation on a partition

1.Log in to the partition as Partition SO (see Logging In to the Application Partition).

lunacm:> role login -name po

2.Enable partition policy 23.

lunacm:> partition changepolicy -policy 23 -value 1

Auto-activation takes effect for each affected role (CO and/or CU) the next time the role is authenticated.

3.[Optional] For optimal reliability, the Luna Network HSM 7 admin or operator can set the appliance to reboot automatically if it fails to complete a normal shutdown. Log in to LunaSH to change this setting.

lunash:> sysconf appliance rebootOnPanic enable

Deactivating a Role

An activated role on a partition remains activated until it is explicitly deactivated, or the HSM loses power due to a reboot or power outage (with auto-activation disabled). This deletes the cached PED key secret for the role.

Prerequisites

>You must be authorized to deactivate the role. The CO and CU can manually deactivate their own or each other's roles. The Partition SO can deactivate both the CO and CU roles.

To deactivate a role on a partition

1.Log in to the partition with the appropriate role (see Logging In to the Application Partition).

lunacm:> role login -name <role>

2.Specify the role you wish to deactivate.

lunacm:> role deactivate -name <role>

This deletes the cached authentication credential for the role. The next time the role logs in, the credential is re-cached.

3. If you wish to disable activation entirely, so that credentials are not re-cached at the next login, the Partition SO can disable partition policy 22: Allow activation.

lunacm:> partition changepolicy -policy 22 -value 0

4.If partition policy 22 is disabled, auto-activation is also disabled (even though partition policy 23: Allow auto-activation is set to 1). When partition policy 22 is enabled again, auto-activation resumes. To turn off auto-activation, you must disable partition policy 23.

lunacm:> partition changepolicy -policy 23 -value 0