nfkminfo
The nfkminfo utility displays information about the current security world state, the stored keys, or the available operator card sets and softcards.
Usage
General options
nfkminfo [-h|--help] [-u|--usage] [-v|--version] [--pool]
-h|--help
|
Displays help for |
-u|--usage
|
Displays a brief usage summary for |
-v|--version
|
Displays the version number of the Security World Software that provides |
--pool
|
Displays the pool of HSMs as a single resource. |
Security World options
nfkminfo -w|--world-info [-r|--repeat] [-p|--preload-client-id] [-m|--module MODULE]
-w|--world-info
|
Displays general information about the Security World and HSMs.
This is the default behavior of |
-r|--repeat
|
Displays the world information repeatedly. There is a pause at the end of each set of information. Any updated information is displayed when you press Enter. |
-p|--preload-client-id
|
Displays the preloaded client ID value, if any. |
-m|--module MODULE
|
Displays general information about the Security World and the HSM specified by the module ID |
Key, card set, and softcard options
nfkminfo -k|--key-list [APPNAME [IDENT]]
nfkminfo -l|--name-list [APPNAME [APPNAME...]]
nfkminfo -c|--cardset-list [TOKENHASH]
nfkminfo -s|--softcard-list [TOKENHASH]
-k|--key-list
|
Lists keys by appname and ident.
If |
-l|--name-list
|
Lists keys by appname, ident, and plainname.
If one or more |
-c|--cardset-list
|
If |
-s|--softcard-list
|
If |
For more information, see:
Output reference
If you run nfkminfo with the -w|--world-info option, the following information is displayed.
World
nfkminfo reports the following information about the Security World.
|
Internal change counter for the world information. Changed to a different non-zero value when the data in the world structure changes (but not when only data in its substructures changes). |
|
The status of the current world. All active and inactive flags are listed. See World State Flags below for the options. |
|
The number of nShield HSMs connected to this client. |
|
The SHA-1 hash of the Security Officer’s key. |
|
The SHA-1 hash of the Security World key. |
|
The SHA-1 hash of a dummy key used to load the Administrator Card Set. The dummy key is the same on all HSMs and is not secret. |
|
The SHA-1 hash of the recovery key pair. |
|
The SHA-1 hash of the recovery authorization key. |
|
The |
|
The quorum values of K and N for this Security World. |
|
The number of Administrator Cards (K) required to perform certain other functions as configured for this Security World. |
|
The name of the Cipher suite that the Security World uses. |
|
The KML type used when the Security World was created. |
|
The configured compliance mode for the Security World:
|
|
The maximum key usage reauthorization condition for Assigned Keys (common-criteria-cmts mode only). |
|
The maximum key timeout reauthorization condition for Assigned Keys (common-criteria-cmts mode only). |
World state flags
For each flag, Value means that it is present while !Value means that it is absent.
|
The Security World has been initialized. |
|
There is at least one usable HSM in this Security World on this host. |
|
The Security World has the OCS and softcard replacement and the key recovery features enabled. |
|
Additional authorization is required for the following operations:
This authorization is supplied by presenting any operator or administration card from the same Security World. A passphrase is not required. |
|
There is a Client ID set, for example, by |
|
The Security World always generates RSA keys in a manner compliant with FIPS 186-3. |
|
The Security World has an SEE Debugging delegation key. |
|
No authorization is required for SEE Debugging. |
|
The Security World has the passphrase replacement feature enabled. |
|
The Security World has an FTO delegation key. |
|
The Security World has an NVRAM delegation key. |
|
The Security World has an RTC delegation key. |
|
Audit Logging is enabled for this Security World. |
Module
For each HSM in the Security World, nfkminfo reports the following.
|
Internal change counter for the module information. Changed to a different non-zero value when the data in the module structure changes (but not when only data in its substructures changes). |
|
The status of the current module. See Module state options below. |
|
This displays |
|
The number of slots on the HSM (there is one slot for each physical smart card reader, one slot for each soft token, one slot for each available Remote Operator slot and one slot for each associated Dynamic Slot). |
|
The electronic serial number of the HSM (if the HSM is not in the |
|
The hash of the HSM signing key (if the HSM is not in the |
|
The KML type used by the HSM (if the HSM is not in the |
Module state options
|
The HSM is in the pre-initialization state. |
|
The HSM is in the initialization state. |
|
The HSM’s state could not be determined. |
|
The HSM is programmed in the current Security World and can be used. |
|
The HSM does not have the Security Officer’s key set and the HSM must be initialized before use. |
|
The HSM has module key zero only and the Security Officer’s key is set to the factory default. |
|
The HSM is from an unknown Security World. |
|
The HSM is acceleration only. |
|
Although the HSM appears to be in the current Security World, |
|
The HSM has failed.
For nShield HSMs running firmware 2.61.2 and above, use the |
|
The HSM is in the maintenance state. |
Slot
For each slot on the HSM, nfkminfo reports:
|
The insertion count for this slot (which is 0 if there is no card in the slot). |
|
Internal change counter for the slot information. Changed to a different non-zero value when the data in the slot structure changes. |
|
The type of slot, which can be one of:
|
|
Flags describing the capabilities of the slot.
Single letters in parentheses are the flag codes reported by the
|
|
The status of the current slot:
|
|
Displays |
|
The number of the card within the card set. |
|
If the card in the slot is an Operator Card, no values are displayed for |
|
The error status encountered if the smart card could not be read.
If you purchased a developer kit, you can refer to the relevant developer documentation for a full list of error codes. |
Card set
If there is an Operator Card in the reader, nfkminfo reports:
|
The name given to this card set. |
|
The values of K and N for this card. |
|
Displays one flag from each of the following pairs:
|
|
The period of time in seconds after which the HSM automatically removes the Operator Card Set.
If |
|
Lists the names of the cards in the set; not all software can give names to individual cards in a set. |
|
The SHA-1 hash of the secret on the card. |
Front panel flag mapping
The following table maps the flags visible on the front panel when you select 3 Security World mgmt > 3-1 Display World Info to the fields in the output of nfkminfo.
| Front panel | nfkminfo |
|---|---|
|
|
|
|
|
|
Module |
|
|
|
|
|