Elamur Research

Recommendation for Key Management Part 1: General

Paper · 2016 · Elaine B. Barker

Summary

An organization can choose a sound encryption algorithm and still lose access to its records when a key disappears. It can also keep the right key and lose security because the key has been copied, changed, or assigned to the wrong person. Elaine Barker’s Recommendation for Key Management addresses those problems across the working life of cryptographic keys. The publication gives developers and administrators a common way to decide what a key is for, who can use it, how to protect it, and when to withdraw or destroy it. Its primary setting is the use of cryptography to protect sensitive, unclassified information in U.S. federal systems.

The recommendation starts with the service the system needs, such as keeping information confidential, detecting unauthorized alterations, or checking who sent a message. It then classifies keys by the work they do. Every key needs protection against unauthorized modification and substitution. Symmetric and private keys also need protection from disclosure, while a public key depends on a trustworthy connection to its owner and intended use. Those connections matter throughout distribution and storage. A key can have the correct mathematical form and still belong to the wrong entity.

A central distinction is between the time allowed to apply protection and the time allowed to process information already protected. A system may stop encrypting new records with a particular key while it still uses that key to read older records. A signature system can destroy an expired private signing key and retain the public key needed to check earlier signatures. Barker accounts for these differences through authorized usage periods, states that govern permitted operations, and separate guidance on operational backup and long-term archival. Recovery is a decision about which services must remain available and what risks arise from retaining the material that provides them.

The publication is a technical recommendation. Its quantitative comparisons estimate the maximum strength of algorithms at specified key or parameter sizes, and its examples show how to use those estimates when selecting a suite or planning a transition. A strong encryption algorithm can provide less protection in practice if its keys come from a weaker establishment process or an inadequate source of randomness. Timing matters too. The protection selected today has to cover the expected security life of the information. Together, these principles connect algorithm choice to the routine work of protecting keys, recovering from failures, and responding to compromise. NIST subsequently withdrew this revision and superseded it in full.

Deep dive: Recommendation for Key Management Part 1: General

NIST’s key management guidance explains how to protect cryptographic keys, set their lifetimes, and preserve access to protected data as systems change. · about 38 minutes to read

The problem and its context

More approved algorithms meant more decisions

The publication traces its setting back to NIST’s publication of the Data Encryption Standard in 1977. The range of standardized techniques widened from there. Secure hash functions and public-key signature algorithms joined the available tools, and different key sizes offered different levels of strength. Developers could combine techniques for more complicated applications and protocols. That flexibility expanded the set of decisions a system designer had to make. Choosing an approved algorithm answered one question. The application still needed a way to obtain keys, associate them with the proper participants, establish appropriate uses, and preserve or remove access over time.

NIST describes its standards as a toolkit of specifications and usage guidance. A specification for the Advanced Encryption Standard, for example, gives products a potential basis for interoperability. Successful operation between those products also depends on compatible surrounding functions. Conformance testing serves a different purpose. Accredited laboratories test vendor implementations that claim to meet applicable requirements. Validation gives users a basis for confidence about conformance within that scope, while application designers remain responsible for how the validated components are used. The key management recommendation draws on this collection of standards and addresses the decisions that arise when their components work together.

The publication describes public scrutiny and periodic reassessment as parts of NIST’s standards process. Specialists in government and the wider cryptographic community can examine approved techniques and question their continuing effectiveness. A technique may have to be revised or discontinued when it no longer offers the protection expected of it. This matters for key management because a system can remain in service while the standing of its algorithms changes. Records protected by that system may also have to remain confidential or verifiable after the system has stopped using its original algorithms for new work.

A key is part of a security service

Barker begins with the reason for using cryptography. Confidentiality concerns who can learn the contents of information. Integrity concerns whether information has undergone an unauthorized alteration. Source authentication gives a recipient assurance about who or what produced the information. Authorization concerns the privileges an entity may exercise. An application can use source authentication to establish an identity and then consult rules that determine what that identity is allowed to do. A system can also authenticate a role and assign the associated permissions to an entity acting in that role.

Digital signatures illustrate how far a cryptographic service can reach. With an appropriate infrastructure and policy, a signature can help a recipient check both the integrity and the source of a document. It can also support a later determination about whether the identified signer made a commitment. That determination depends on the circumstances in which the signature was created and relied upon. The publication treats it as a legal determination to which cryptography contributes evidence. The handling of the private key and the quality of the link between the signer and the public key affect what the evidence can support.

Security services also depend on functions that may sit outside the operation the user sees. An application that encrypts a message needs an appropriate way for the corresponding recipient to obtain or derive the right key. An application that checks a signature needs an authentic verification key. A generator that produces keys needs unpredictable input adequate for the intended strength. Each of these dependencies opens a design question. If the requirements focus only on the operation at the surface, such as encrypting a file, the means of protecting the key and preserving access to the file can be left unspecified until deployment.

The recommendation gives availability particular attention because it can pull in a different direction from secrecy. A key that can be recovered after a storage failure can preserve access to critical information. The backup or reconstruction material then needs protection of its own. Conversely, if an organization can replace a lost key promptly and has no reason to process anything protected by the original, keeping a copy may create a confidentiality risk with little operational benefit. The paper treats both questions as part of providing a dependable service.

Where general guidance fits

The recommendation’s general part is aimed at readers who make decisions at different levels. A module developer needs to understand which key management capabilities an application will expect. A protocol designer needs to know which assurances a combination of algorithms and procedures provides. An administrator needs to choose settings that fit the data and operating environment. The general guidance supplies terms and criteria they can share. The companion parts address organizational policy and planning, and the use of cryptographic features in available systems.

The publication distinguishes requirements for conformance from important recommendations. It uses shall for the former and should for the latter. This distinction matters when reading its guidance on key lifetimes. A suggested duration may change with the volume and sensitivity of the data or the reliability of the replacement process. The rule against applying new protection with a symmetric key after its authorized period for that operation has ended governs how the system must behave once that period is set. Organizations outside the federal setting can adopt the guidance voluntarily.

The revision history shows how the guidance itself evolved. Earlier versions clarified the relationship between certificate validity and key lifetimes, added treatment of the consequences of falling algorithm strength, and explained that archives may be populated before keys finish operational use. The changes leading into the January 2016 revision expanded the discussion of authentication and introduced suspension into the key state example. The publication’s account of earlier work is largely this history of standards, companion guidance, and revisions to operational rules.

The method, step by step

The recommendation can be read as a sequence of design and operational decisions. Begin with the information and the service it requires. Identify the cryptographic mechanism and the kind of key that supports it. Establish the key and the evidence needed to trust it. Decide which uses are allowed over time, how authorized users will continue to get access, and what will happen when the key expires or its protection becomes suspect. Some systems go directly from use to destruction. Others need a period of controlled processing after normal use has ended.

Managing a cryptographic key across its lifetime

The steps in order.

Managing a cryptographic key across its lifetimeStep 1: Define the security service and protection lifetime1. Define the security service and protection lifetimeStep 2: Select key types and compatible algorithms2. Select key types and compatible algorithmsStep 3: Establish keys and obtain the required assurances3. Establish keys and obtain the required assurancesStep 4: Activate keys with their usage and ownership records4. Activate keys with their usage and ownership recordsStep 5: Protect keys during use, storage, and distribution5. Protect keys during use, storage, and distributionStep 6: Replace, deactivate, or revoke keys as needed6. Replace, deactivate, or revoke keys as neededStep 7: Recover retained material for permitted operations7. Recover retained material for permitted operationsStep 8: Destroy unneeded keys and retain required audit records8. Destroy unneeded keys and retain required audit records

Identify what each key is trusted to do

A cryptographic key is an input that governs a cryptographic operation. In symmetric encryption, the same secret key enables both the original encryption and the corresponding decryption. A message authentication code, or MAC, also uses a symmetric key. The sender computes a short authentication value over the data, and a recipient who has the key can check it against the received data. The conclusion about source depends on who has that key. When the key is shared by a communicating pair, the recipient can check that the value was produced by someone with access to their shared secret. Any wider sharing changes the group whose members could have produced it.

An asymmetric algorithm uses a public key and its associated private key. The public key can be distributed, while the authorized holder controls the private key. The roles of these keys depend on the operation. In a signature pair, the private key creates the signature and the public key verifies it. In a public-key transport pair, the sender encrypts keying material using the recipient’s public key, and the recipient uses the private key to recover it. Looking only at whether a key is public or private therefore tells the designer little about which part of the operation it performs or how long it must remain usable.

A cryptographic hash function produces a digest of a chosen output length from an input within the function’s size limits. Its basic operation uses no key. The publication distinguishes the difficulty of finding an input for a particular digest from the difficulty of finding any distinct inputs that yield the same digest. The former is pre-image resistance and the latter is collision resistance. Hash functions appear in signature schemes, keyed authentication, key derivation, and random bit generation. Which property matters for a strength estimate depends on how the digest is used.

The classifications in the recommendation sharpen these distinctions. A private key used to sign a document can have implications long after it is used. A private authentication key used to respond to a challenge serves the immediate task of authenticating a session. A key that derives further keys has a different set of dependencies from a key that directly encrypts data. An ephemeral key-agreement key is associated with a particular transaction, whereas a static key is intended to serve across transactions. These names help the system determine permitted operations, protection requirements, and whether keeping the material can serve a later purpose.

Generally, the recommendation assigns a key a single purpose. That reduces the damage that can follow a compromise and avoids conflicting retention rules. For example, a private transport key may need to remain available to recover old data keys. A private signing key has to be destroyed at the end of its signing period. Assigning both jobs to the same key would tie continued access to old encrypted material to the continued existence of a key capable of signing. A single approved operation can still deliver multiple services. Authenticated encryption, for instance, can provide confidentiality and integrity within the same operation using one key. The publication also allows a narrowly defined use of a private key-establishment key to sign an initial certificate request.

The choice of cryptographic mechanism depends on the service and how the mechanism is used. A block cipher transforms fixed-size blocks. Its mode of operation specifies how those transformations are used for a longer message and may introduce an initialization vector, a value that helps set the starting conditions. Some approved modes also authenticate data. The required handling of the initialization vector depends on the mode and its use. When authorized parties will later need it to process stored information, preserving the vector and its relationship to that information becomes part of preserving access.

Establish the key and verify the assurances

The pre-operational phase can include enrolling users or devices in a security domain, configuring trusted parties and parameters, and installing initial cryptographic material. User registration establishes an entity’s identity or role under the applicable policy. Key registration records which key is connected to an entity and what the key is intended to do. These functions can be carried out together or separately. If they take place separately, a credential established during user registration may be used to authenticate the entity when it registers a key. Material supplied to test a newly installed device or application is reserved for testing and excluded from operational use.

The recommendation places key generation in a validated cryptographic module, or permits keys from another source approved by the U.S. government for protecting national security information. It refers to companion standards for the generation methods. For a random bit generator, the ability to produce unpredictable values depends on its design and source of entropy. A deterministic generator starts from a secret seed containing entropy and expands its internal state into pseudorandom output. A nondeterministic generator draws on an unpredictable physical source. The quality of the resulting key depends on the randomness actually available to the generation process as well as the nominal key length.

Establishing a key can involve transport, agreement, or derivation from material already available to the parties. In transport, a sender selects the material and distributes it in protected form. The protection can depend on a previously established symmetric wrapping key or on the public transport key of the intended recipient. Wrapping, as Barker uses the term, provides both confidentiality and integrity protection for the key being conveyed. The receiving entity unwraps the material and checks its integrity. A manual transfer has the same underlying obligations concerning the authorized source, the intended recipient, and the protection of the key during handling.

In agreement, the participating parties contribute information that determines the result. In the asymmetric schemes described, the parties compute a shared secret, which they use as an input to a key-derivation method. The shared secret is an intermediate value and must be handled with the protections required for secret keys. Its purpose is to derive operational material, after which it is destroyed when no longer needed. The derived keys may serve distinct purposes such as encryption or authentication. The use of an approved derivation method is part of the assurance that each key is suitable for its intended operation.

A scheme specifies the cryptographic processing used to establish the key. A protocol also organizes the order and format of messages and the behavior of the participants. That distinction is important to the paper’s assurance requirements. The cryptographic calculation can produce matching material while the surrounding system still has to establish who the participants are and whether their identifiers and keys are correctly associated. Key confirmation gives one or both sides assurance that the other side actually holds the same material or shared secret. The availability of confirmation and the direction in which it is provided depend on the scheme and its use.

A further choice concerns static and ephemeral key pairs. In the discrete-logarithm schemes discussed, ephemeral keys can provide a fresh secret for a transaction, while certified static keys can contribute authentication. Having both kinds of key on both sides can provide more security properties, but that arrangement depends on both sides being able to participate as required. The recommendation illustrates the practical constraint with email. A recipient may be offline when a sender prepares an encrypted message. The scheme has to fit that pattern of availability. The integer-factorization schemes described in the publication use static key pairs.

Barker treats integrity, mathematical validity, and private-key possession as separate assurances. Integrity assurance begins with checking the material’s format and authorized source. Domain parameters, which are mathematical inputs used by some public-key algorithms, must also be checked for validity before use. Public-key validity concerns whether a supplied public key meets the mathematical requirements of its algorithm. A public key can pass such a check even when the claimed owner has supplied no evidence of possessing its private counterpart. A static public key therefore also needs assurance of possession of the corresponding private key. Validity is established ahead of that check or alongside it.

In a public-key infrastructure, or PKI, a certification authority signs a certificate that binds a public key to an entity and can record conditions on its use. A registration authority may verify the entity’s identity and convey relevant information to the certification authority. A relying party uses these arrangements to obtain assurance about the owner and key. The division of labor depends on which checks the authority performs and which checks remain with the recipient. A signature on a certificate is meaningful because the recipient already has a trustworthy basis for accepting the authority’s verification key.

The trust anchor makes that last dependency especially clear. In the publication’s terminology, the anchor is the trusted authority. Its public key can be conveyed in a certificate signed with its own private key. A successful check of that certificate’s signature establishes that it is consistent with the key it contains. Confidence in the identity of the authority instead comes from the trusted distribution process. This is why installing or replacing a trust anchor is a key management event in its own right. Every later certificate check that depends on that anchor inherits the quality of the initial step.

Assign usage periods and estimate how long protection must last

A cryptoperiod identifies a window of authorized use. The originator-usage period governs when a key can apply protection. The recipient-usage period governs when the key can be used to process the protected information. Corresponding members of an asymmetric pair can have different periods. The private signing key applies protection and the public verification key processes the result. For a public-key transport pair, the public key applies protection and the private key processes it. The words originator and recipient therefore identify operations rather than whether the associated key is public or private.

With a symmetric key, both periods refer to the same key. The full cryptoperiod runs from the start of authorized protection to the end of authorized processing. In a communication exchange, the periods can mostly coincide. For stored material, they can diverge. The publication gives an example in which someone encrypts data for storage before the key is distributed to the recipient. The data has already been protected by the time that recipient becomes able to process it. Keeping the key available to decrypt previously protected data is compatible with ending its use to encrypt fresh material.

For a certified public key, certificate validity adds another interval to consider. A certificate specifies when it starts and ceases to be valid through fields named notBefore and notAfter. A renewed certificate can carry the same public key with different dates. The original and renewed certificates together must stay within the authorized interval for the member of the pair used to apply protection. The relationship matters even when the public member serves only for verification. A system may retain that public key to check earlier signatures, and a trusted timestamp can help establish whether the signature was created within the private key’s authorized signing period.

The paper also distinguishes the duration of authorized use from the period for which key material itself needs protection. A secret key can remain sensitive while awaiting destruction. An associated public key can remain relevant as long as records must be verified. A wrapping key may need protection for as long as the keys wrapped with it still depend on it. The period is therefore assessed against the service and its dependencies. For a stored encryption key, the required duration can depend both on the key’s authorized period and on how long the data remains in need of protection.

The risk assessment for a cryptoperiod includes the amount of data or number of transactions involved, the strength of the mechanism, the environment in which the key is held, the number of copies and holders, and the burden of replacement. Limiting the key’s exposure and reducing the quantity of data protected under it generally favor shorter intervals. The reliability of distribution and replacement can change the balance. If changing keys entails sensitive manual handling, each additional change creates another occasion for error or exposure. If losing access would disrupt a critical service, the risk of errors in frequent replacements also matters.

There is a separate calculation at the algorithm level. A particular key may be replaced several times while the same algorithm and key size continue in service. Barker defines the algorithm security lifetime as the estimated period during which protection from the chosen algorithm and size remains adequate. The corresponding originator-usage period ends early enough for the last information protected under that choice to receive coverage for its required lifetime. In the publication’s duration relationship, that planning interval is expressed as follows.

Algorithm security life = Algorithm originator-usage period + Remaining security life of the data

Algorithm security life is the estimated duration of adequate protection under the algorithm and key size in question. Algorithm originator-usage period is the duration during which an originator can apply protection under that choice. Remaining security life of the data is the portion of the data’s required protection that extends beyond the end of that originator period. The equals sign gives the relationship between durations, and the plus sign joins the interval for new use to the interval needed to cover data afterwards.

For algorithm selection, Barker compares security strength against the work associated with exhaustive search for an idealized symmetric key. Algorithms with different parameter sizes can occupy the same strength category if the estimated work needed to break them is approximately comparable with the resources considered. The paper illustrates the meaning of that scale for the case of a few known plaintext blocks and their corresponding ciphertext. It expresses the average time at a given security strength as follows.

2ˣ⁻¹ × T

The superscript ˣ⁻¹ is the exponent X minus 1, where X is the security strength in bits. The base 2 corresponds to the possible values of a bit. The multiplication sign scales the estimated average number of trials by T, the time to encrypt a plaintext value and compare the output with the corresponding ciphertext. The expression is a work comparison under the stated conditions. How the key was created, safeguarded, and put to use also affects what level of strength is sufficient for a deployment.

Keep the key, its permissions, and its relationships together

The paper calls the information used to describe and control a key its metadata. An identifier can connect protected data to the key used on it. Other fields can record the owner, authorized purpose, applicable algorithm or parameters, usage dates, state, revocation history, and who is allowed access. Different applications can require different metadata for the same kind of key. The designer chooses which fields carry the relationships the application needs, and the metadata generally accompanies the material in storage or transport.

Correct associations are a distinct property of the system. A usable value can still be the wrong key for the protected material, the wrong key for a given application, or the wrong key for the named party. An association can be represented by protected metadata, by separating material by entity or application, by binding the public key to an entity through a certificate, or by storing related items together. A record can also carry a key identifier that points to a corresponding entry. In all these cases, the system needs to maintain the association as long as the information must be processed.

The recommendation distinguishes keys in use, in storage, and in transit. Those contexts can overlap. While an operational copy is in use within a cryptographic module, another copy can be backed up or moving to an authorized party. The paper assigns protections to each context. An appropriate module protects active cryptographic operations. Stored secret material can be protected by approved wrapping, by a module at the required level, or by secure physical storage with controlled access. The selection depends on what must be protected and where the material exists.

In distribution, the sender is responsible for applying the required protection and the recipient is responsible for checking or removing it. Manual distribution can rely on physical custody as part of its protection. Automated distribution needs appropriate cryptographic protection. Availability also depends on the communication and storage arrangements. A cryptographic integrity check can identify damaged material, while redundant channels, reliable delivery, or independent copies can help ensure that usable material is available. The distinction matters because rejecting a damaged delivery is only part of restoring the service that needed it.

The recommendation also describes split knowledge for handling key components. The idea is that individual components reveal no information about the key, subject to the possible disclosure of its length. Enough components can be combined through an approved function to reconstruct it. Barker characterizes the threshold by the following relation.

k ≤ n

Here n is the total number of components and k is the number required for reconstruction. The symbol ≤ means that k can equal n or be smaller. The paper also describes the security condition on a collection that falls short of the threshold.

k − 1

This is the number of components in the paper’s example of an insufficient collection. The minus sign subtracts one component from the required number k, and 1 denotes that single component. Possession of any such collection should reveal nothing about the original key’s value. The publication treats split knowledge as a way to control the handling of a key, with a separate scope from shares used in threshold or multiparty signatures.

Make state transitions determine which operations are allowed

A key state relates to what a system permits at a particular point. The example in the publication is defined from the system’s point of view. It can involve modules, stored copies, and parties that rely on the key’s status. Before activation, a generated key can serve certain establishment checks, including proof of possession or key confirmation. Normal cryptographic use begins at activation, which may occur immediately, at a specified time, or in response to an event. Some generated keys are destroyed without ever being activated.

Active keys are eligible for the operations assigned to their type and usage period. A private signature key is used to apply protection. A public signature-verification key is used to process protection. The allowed operations for a symmetric data-encryption key depend on which usage periods are still in effect. This makes a state label meaningful only in conjunction with the key’s purpose and timing. A system that stores the label but disregards the authorized operation has lost the distinction the state is meant to enforce.

Suspension interrupts permission to apply new protection while leaving room for the circumstances to be resolved. For instance, an organization may temporarily suspend a signing pair during the owner’s absence or while it investigates a possible compromise. A recipient considering information protected before suspension must understand the reason and accept the associated risk before processing it. Information known to have been protected during suspension has to await a later status decision. The key may return to active use if the reason for suspension ends while the originator period is still open. Other outcomes include deactivation, destruction, or a transition to compromised status.

Deactivation ends the use of a key for applying protection. Some deactivated keys are still available for specified processing. A symmetric wrapping key can, within its recipient-usage period, unwrap material that it wrapped during its originator-usage period. A public signature-verification key can check signatures generated within the authorized period of its private counterpart. By contrast, the authorization provided by a public authorization key ends for this state. The permission is tied to the operation and the key type, with the key’s state providing a common way to represent the restriction.

When a key is compromised, use to apply protection must cease and the key must be revoked. The compromise may concern disclosure, integrity, or a failed association. In an asymmetric pair, compromise of the private member changes the status of the corresponding public member as well. The framework permits tightly controlled processing of some previously protected information where policy and circumstances justify it. A signature preserved under independent protection that predates the compromise is one example. The independent evidence and the timing of the event become central to deciding how much confidence the signature still deserves.

Phases describe the broader lifecycle functions. Preparation belongs to the pre-operational phase. Normal use and temporary suspension belong to the operational phase. Deactivated or compromised material can be held under restrictions in the post-operational phase. Destruction ends the availability of the key material, although records about it may still be kept. Phases can be skipped when the application has no reason to retain the key. A return from suspension to active use happens inside the operational phase, consistent with the rule that a key cannot move back to an earlier phase.

Transition records give later decisions a time reference. The publication specifies circumstances under which the time, date, or reason should or must be recorded, depending on the transition. A notice may also be needed when other entities know or rely on the key. This information allows a recipient to distinguish ordinary expiration from an incident that brings earlier protection into question. A late discovery about an already destroyed key can still be recorded, because it may change the assessment of information linked to the key.

Preserve access, replace keys, and plan for compromise

Operational storage is where keying material is available for routine use. Backup storage supports recovery if that material is lost or becomes unusable during its ordinary working life. A key archive supports access beyond the key’s cryptoperiod. The distinction is about why and when the material must be recoverable. The recommendation allows an organization to place material in an archive before the operational period has ended. It also allows a system to reconstruct the material from protected base information when that is how recovery is designed.

The decision to provide recovery depends on the role of the key, the application, the needs of the participants, and whether the necessary associated information will still be available. A lost encryption key for a stored file can make the file unreadable. By contrast, when a communication exchange can be repeated under a newly established key, retaining the old key may offer little benefit. For a verification key in an available certificate, access to the certificate may already provide the needed availability. A recovery design must account for the information that gives a key meaning, including identifiers, parameters, or other material required by the original operation.

Some material is deliberately short-lived. The publication calls for the destruction of private ephemeral key-agreement keys immediately after use and rules out backup or archival of those private keys. It also treats shared secrets, random generator seeds, and intermediate results as material that is unsuitable for backup or archival. The corresponding public ephemeral key can be retained in circumstances where it will help a recipient reconstruct needed keying material without the private ephemeral key. The required access follows the calculation that remains to be performed.

Private signing keys present a different tradeoff. Barker generally discourages backing them up because wider access to the key weakens what a signature can support about the signer’s responsibility. A certification authority’s private signing key can justify an exception when replacement and distribution would take too long to sustain operations. Even then, the backup remains under the owner’s control and recovery must be highly secure. Archival of a private signing key is prohibited. Its public counterpart may be kept for as long as earlier signatures need to be verified.

When material is archived, it still needs confidentiality where applicable, integrity, and access control. The archive may have its own encryption and authentication keys. If separate operations provide those services, they use separate keys. An authenticated-encryption operation can provide both services together. Rotation of an archive-encryption key can entail re-encrypting stored material and recomputing integrity values. It is therefore possible for the key chosen to protect the archive to create an expensive migration obligation of its own. The paper ties the selection of that key’s strength to the expected burden and retention needs of the archive.

Retrieval of a key from an archive is for a permitted processing operation, such as decrypting a stored file or verifying an archived document. Its use in the process ends when that operation is complete, and the archival copy can remain for as long as required. The recommendation calls for a trusted party to maintain the archive and for strong access controls to determine who may recover material. Recovery requests also need to be attributable to authorized entities. The audit trail records events and outcomes while excluding the recovered keys and any passwords used by the system.

Barker distinguishes replacement by re-keying from replacement by key update. In re-keying, the replacement is established independently of the value it replaces. In a key update, it depends on the previous value. To illustrate that dependency, the publication describes a chain of successive replacements.

K₁ → K₂ → K₃

K₁ is the initial encryption key, K₂ is its replacement derived from K₁, and K₃ is the next replacement derived from K₂. Each arrow denotes derivation from the key to its left. Exposure of a key in such a chain can put the later replacements at risk. The January 2016 revision disallows key update in federal applications. It separately describes approved derivation for cases such as producing distinct operational keys from a master key, with the derivation required to protect the master from being recovered from its outputs and the outputs from being determined from one another.

Revocation communicates that a key should be taken out of operational use ahead of its scheduled end. It can follow compromise, loss of an authorization, or another material change in status. A system can send notices to affected entities or publish status information those entities can check. For a certified public key, the infrastructure can identify the revoked certificate through a revocation list or an online status service. The revocation time and reason help relying parties decide how to treat earlier information. A key de-registration marks the registration record and its associations accordingly. Actual destruction is the removal of the material itself, including copies that are no longer required.

Record responsibilities and make the design reviewable

Accountability includes identifying the entities that can access or control a key throughout its life. A person can be responsible for an operation on a key without seeing its plaintext value. Records may identify which key was used, the responsible entity, when the operation occurred, and which data or other keys depended on it. In an incident, those records can help identify affected information and estimate when exposure may have begun. The publication recommends reviewing both the procedures against policy and the protective mechanisms against the security the system requires, including changes in technology.

Contingency planning extends beyond saving a copy of the encryption key. The system can lose access to an input device, a certificate service, the records that connect keys to owners, or the older equipment needed to read stored material. Restoration may also have to preserve authorization or integrity controls during the interruption. The recommendation calls for assigning responsibilities for detecting problems, arranging resources to replace or bypass failed components, and preparing procedures that designated staff can carry out. Backup, recovery, and compromise response are thus linked to the organization’s capacity to keep the protected service available.

These decisions eventually appear in a key management specification for the device or application. The specification describes the cryptographic services, communications setting, supported key types and formats, and the material obtained from external sources. It explains how the application generates, distributes, identifies, and stores keying material, and how it authorizes and accounts for the relevant operations. It also covers recovery and the replacement or transition arrangements that a system will need later. Barker puts the specification early in design or procurement because a device’s capabilities can determine whether the intended management procedures are feasible.

Experiments and results

The publication presents security-strength estimates, suggested usage periods, and worked planning examples. It reports no experimental dataset, train or test split, baseline system, or measured improvement. The numerical comparisons are between algorithms and parameter choices on an estimated scale of work. The planning examples then use those comparisons to explain how an application’s protection requirements can constrain the choice of algorithm, the rest of the suite, and the last date it can be used for new protection.

Comparable strength across key sizes

The chart shows the estimated maximum strengths assigned to the AES configurations in the paper’s comparable-strength table. The star marks the highest strength in this comparison. The estimates assume suitable generation and handling, including sufficient entropy when the keys are produced. The metric addresses cryptographic work. It provides no measure of the throughput, memory requirements, or reliability of a particular implementation.

Estimated maximum security strength for AES key sizes in the NIST comparison

The largest AES key size listed has the highest estimated strength in this comparison.

Estimated maximum security strength for AES key sizes in the NIST comparisonAES-128: 128AES-128128AES-192: 192AES-192192AES-256 (this paper): 256AES-256 (this paper)256
The numbers
System or settingbits of security
AES-128128
AES-192192
AES-256 (this paper)256

A basic fact about AES helps put the chart in context. The algorithm works on 128-bit blocks across the key sizes discussed. A block is the piece of data transformed in one block-cipher operation. The key size is the length of the control input. The security strength is an estimate about the work needed to defeat the protection associated with the algorithm and key size. The fact that block size, a key length, and a strength category can share a number in a particular configuration leaves these as separate properties. The choice of block-cipher mode can also make the block size relevant to how much protection a system provides.

The comparisons across algorithm families give the metric practical meaning. Barker associates a 2048-bit RSA key with an estimated maximum strength of 112 bits. The integer-factorization column expresses the size via the bit length of the modulus, denoted k in the comparison and distinct from the split-knowledge threshold denoted by the same letter elsewhere. For elliptic-curve cryptography, the parameter f gives the bit length of the order n of the base point G. For finite-field cryptography, the table uses L and N for the listed public-key and private-key sizes. These parameters describe different mathematical settings. Aligning their choices in a strength row lets designers compare estimates about work without treating the raw lengths as equivalent.

Triple DEA makes the difference between expressed length and estimated strength especially clear. Barker notes that a simple count of the three independent 56-bit component lengths in 3TDEA would suggest 168 bits. The publication presents that expectation with the arithmetic below before assigning an estimated maximum security strength of 112 bits using known analysis.

56 × 3 = 168

Here 56 is the length in bits of each component key, 3 is the number of independently generated components in the setting under discussion, and 168 is their combined length in bits. The multiplication sign combines the component length and count, and the equals sign gives that arithmetic result. The separate strength estimate is what matters for the comparisons in the guidance. The publication also uses 2TDEA to show that a strength assessment depends on assumptions about the information and computing resources available for analysis.

A suite inherits dependencies from key establishment and authentication

A worked example considers a 128-bit AES key established using a 224-bit elliptic-curve key in the scheme described. The estimate for that establishment choice is a maximum of 112 bits of security. Barker therefore gives 112 bits as the upper bound for the protection offered to information encrypted under the resulting AES key. The AES selection is one dependency in the system. The means of obtaining its key provides another route for assessing the protection of the information.

Another example pairs SHA-256 with a 2048-bit RSA key for signatures. The publication assigns the combination an upper bound of 112 bits of security, the limit of the RSA choice in the comparison. The point of pairing these examples is that the weaker component can be different in different suites. A design needs to account for the operations that establish, protect, and use a key, as well as the components used together to produce a signature. The same principle applies to a random bit generator. The publication requires an approved generator supporting at least the security strength intended for the generated key.

The hash guidance also depends on the service. In a signature application, collision resistance enters the strength estimate because the signature depends on a digest of the data. The paper’s illustrative work figure for finding a collision with SHA-256 is an average of 2¹²⁸ hash operations. The exponent 128 specifies the power of the base 2 and the metric counts evaluations of that hash function. Estimating an HMAC’s protection also requires considering the length and entropy of its secret key. For key derivation and random generation, the estimates likewise presume that sufficient entropy enters the relevant process. A digest size alone leaves all those conditions unresolved.

Planning examples use the lifespan of the information

The publication’s historical transition schedule differentiates the application of protection from the processing of already-protected data. It uses 2030 and 2031 as the boundary between time frames in its example. One case considers information digitally signed in 2015 with an expected security life of one year. It allows approved choices capable of providing at least 112 bits of security under that case’s assumptions. Another considers information to be signed in 2025 with a security life of six years. The required protection extends into the later time frame, for which the example calls for at least 128 bits.

The 3TDEA planning example turns the same reasoning into a decision about the last date of new encryption. The example assumes the paper’s estimated maximum of 112 bits, an adequacy horizon through 2030, and data needing four years of confidentiality. The last date for using the algorithm to encrypt such data in the example is December 31, 2026. Processing can continue with decryption for another four years under the period assumptions. These dates and strengths illustrate how the revision’s schedule works. The withdrawal of the revision makes these figures historical guidance.

The recommended periods for individual keys address a related question at a different scale. The paper’s suggested period for a private signature key is 1 to 3 years, after which the private key is destroyed. A public verification key may still have work to do for several years if earlier signatures require checking. When a symmetric data-encryption key protects large volumes of data over a short span, the recommendation discusses a period of roughly a day or a week during which the originator can use it. Lower volumes can justify a longer period. The numerical guidance is tied to how the keys are used and the protection of their environment. It is read together with the rules on continued processing and the costs of replacement.

What the ablations show

The publication has no ablation experiments and instead analyzes changes in key role, operating conditions, and protection mechanisms through comparisons and worked cases.

The same security service can have different retention needs

The recovery appendix considers a symmetric authentication key at different points in the life of authenticated information. If the originator loses the key before authenticating anything and can promptly establish a new one, the old key may have no continuing job. Once a document has been stored with a MAC that must be checked later, keeping or reconstructing the original key can be necessary. A recipient who checks a message immediately may be able to repeat the exchange with a fresh key and a fresh MAC. A recipient who stores that same message for future verification has a different dependency. The underlying kind of key is the same in each case. The relevant difference is whether someone must still check protection that the key already applied.

The comparison between members of a signature pair isolates another variable. Keeping a verification key preserves the ability to check an old signature. Retaining a private signing key preserves the ability to generate signatures, which can weaken the evidence about who performed that operation if more parties have access. A trusted certificate repository can provide availability for the public key. The case for retaining a private signing key depends on the exceptional need to continue signing and on the security of backup and recovery. The comparison explains why a general preference for backups would produce different outcomes for the two members of the pair.

Shorter lifetimes and more copies change different risks

The recommendation weighs frequent replacement against the way replacement is performed. Under suitably controlled procedures, limiting a key’s useful life can limit the amount of information affected by compromise. The case of manual distribution adds a recurring handling risk. More frequent changes mean more sensitive transfers, and errors can expose material or interrupt access. The paper gives sensitivity, criticality, and the consequences of failure weight alongside time and data volume. Its examples support a conditional choice of period based on the complete process.

Redundancy likewise improves one property while increasing demands on another. Independent copies can let an organization recover after one copy is corrupted or lost. Every additional copy has a storage location or custodian that has to protect it. Barker therefore considers alternatives such as reconstruction, fast replacement, or obtaining public material again from a trusted source. Each can reduce the need to make an extra copy when it still meets the service requirement. Reconstruction in particular preserves a dependency on the base information and all inputs needed to repeat the original derivation.

An integrity check and an error-recovery mechanism solve different parts of a failure

The integrity appendix contrasts the detection of ordinary transmission errors with authentication against intentional modification. A non-cryptographic checksum helps a communication system detect channel errors. Cryptographic integrity mechanisms provide assurance against deliberate changes when implemented and used appropriately. In the publication’s TLS example, underlying reliable transport can request retransmission of damaged packets. TLS provides the cryptographic checks and can terminate a failed run. The roles complement one another. The example also shows why the order of mechanisms matters. When decryption can expand a transmission error, applying error correction after encryption allows the recipient to correct the ciphertext before decryption spreads the damage.

The analysis of falling security strength draws a distinction based on exposure history. Previously encrypted material available outside authorized control may have been kept in its earlier encrypted form. Re-encrypting the organization’s copy under a stronger choice protects that copy going forward, while copies already exposed still depend on the original protection. For stored signed or authenticated data, independent protection established before the old mechanism weakened can help preserve evidence about its integrity. The outcome depends on what material was exposed, when other protection was applied, and whether the chronology can be established.

Limitations

Limits stated by the publication

Barker supplies general key management guidance for approved cryptography in the protection of sensitive, unclassified information. The publication leaves the detailed construction and validation requirements of cryptographic modules to the relevant federal standard and associated guidance. It discusses which material belongs in an archive and how to protect that material, while leaving general archive operation outside its scope. The companion parts handle organizational policy and implementation-specific guidance at greater depth. Readers are expected to bring a basic understanding of cryptography to the recommendation.

The paper explicitly presents its suggested cryptoperiods as rough guidance. The circumstances that justify a longer or shorter period include the quality of access controls and replacement procedures, the volume of protected data, and the consequences of losing either protection or access. The recommendation also says that its example states and lifecycle functions may vary with the system. Immediate activation can make separate treatment of pre-activation unnecessary in a particular implementation, and some applications can omit the post-operational phase because they have no later use for the material. The framework identifies decisions and constraints that designers must resolve in context.

The security-strength equivalences are estimates based on methods known at publication. Changes in analysis or computational capabilities could alter the relative standing of algorithms, and the paper discusses the possibility that practical quantum attacks could undermine the asymmetric techniques it covers. Even at the time of publication, the strength estimates presumed correct generation and management. The recommendation recognizes that the security provided by an actual system can fall below the estimated maximum. It also points out that application software, physical controls, and procedures may be decisive in practice.

The paper limits the assurance that can be drawn from particular services. Digital signatures can support a determination about the origin and integrity of records, and may contribute to a legal decision about commitment. That final decision depends on other evidence. Cryptographic protection of transmitted keys similarly addresses properties such as confidentiality and integrity, while continued availability depends on storage and delivery arrangements. These limits follow from the roles assigned to the mechanisms themselves.

Limits that follow from the design of the publication

The numerical examples explain how to apply the recommendation under stated assumptions. They give no empirical basis for claiming that a particular cryptoperiod minimizes incidents, that a recovery service will meet a given restoration time, or that a key state design will work under every system failure. Those questions depend on the implementation and environment. Evaluating them would require evidence about actual handling, failure modes, and recovery exercises. The publication supplies criteria for thinking through such cases and recommends evaluation and testing, including after transitions.

The explanation also leaves uncertainty in the inputs to a deployment decision. A data owner must estimate how long the information will remain sensitive. A system owner must judge whether the needed hardware, software, and records will still be available when processing is required. An organization deciding whether to preserve a key must consider both the damage from losing access and the risks of having an additional recoverable copy. There is no measured cost function in the publication that turns these judgments into a single optimal choice. Its examples show how different premises lead to different outcomes.

The strength tables are most informative when read with their assumptions and the services they concern. Comparable strength for the cryptographic operation does not establish comparable operational performance. The publication itself identifies efficiency and interoperability as reasons certain parameter choices are absent from particular standards. A sound comparison also needs to consider entropy, protection of keying material, and which components an application depends on. Similarly, a system can faithfully record that a certificate was issued while the confidence merited by that certificate still depends on the identity checks and trust arrangements behind issuance.

Finally, the recommendations belong to a withdrawn revision. Its examples about transition dates and allowed uses document the reasoning of the January 2016 publication. They cannot establish the requirements of its successor or the current approval status of the algorithms discussed. The enduring analytical value of the examples is in the relationship among the algorithm’s estimated lifetime, the key’s authorized use, and the data’s need for protection.

What came after

The documented successor is Elaine Barker’s Revision 5 of the general key management recommendation, published in May 2020. The withdrawal notice records that NIST archived Revision 4 on May 4, 2020 and that Revision 5 superseded it in its entirety. The notice establishes the succession between the publications. It gives no account of individual changes to the treatment of cryptoperiods, strength estimates, or recovery.

That succession is itself relevant to the design problem Barker describes. The revision’s decisions about authorized use and estimated strength are tied to a particular statement of the standards. An organization may still need to process material created under earlier arrangements, even after the governing guidance has changed. For a reader studying the January 2016 recommendation, the distinction between applying protection and processing previously protected information explains why the history of those arrangements can matter long after a publication has been superseded.

Cite

Cite as Elaine B. Barker. 2016. Recommendation for Key Management Part 1: General.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.6028/nist.sp.800-57pt1r4

@misc{barker2016recommendation,
  title = {{Recommendation for Key Management Part 1: General}},
  author = {Elaine B. Barker},
  year = {2016},
  doi = {10.6028/nist.sp.800-57pt1r4},
  url = {https://doi.org/10.6028/nist.sp.800-57pt1r4}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/barker-2016-recommendation-key-management-part-1/