# NIST SP 800-57: Key Management Recommendations

**Source**: https://quantumsequrity.com/blog/nist-sp-800-57-key-management
**Category**: Standards

---

[← Back to Blog](../../blog) Standards

# NIST SP 800-57: Key Management Recommendations

9 min read

NIST SP 800-57, "Recommendation for Key Management", is NIST's main guidance on how cryptographic keys are generated, used, stored, archived and destroyed. It has three parts:

- Part 1, "General" (Revision 5, May 2020)
- Part 2, "Best Practices for Key Management Organizations" (Revision 1, May 2019)
- Part 3, "Application-Specific Key Management Guidance" (Revision 1, January 2015)

Part 1 is the one most engineers use. This walkthrough covers its structure, its key types and cryptoperiods, the security-strength time frames, and the key-management phases, then how QNSQY handles keys.

## How Part 1 Is Organised

Part 1 Revision 5 has nine sections: an introduction and glossary, security services, cryptographic algorithms, general key-management guidance (key types, cryptoperiods, assurances, compromise, and algorithm and key-size selection), protection requirements for key information, key states and transitions, key-management phases and functions, and additional considerations.

## Key Types

SP 800-57 distinguishes keys by algorithm type and purpose. Among them are private signature keys and public signature-verification keys; symmetric authentication keys; symmetric data-encryption keys; symmetric key-wrapping keys; symmetric master keys used for key derivation; key-transport keys; static and ephemeral key-agreement keys; and authorization keys. Each type has its own protection and lifetime rules, because the damage from losing or leaking it differs.

## Cryptoperiods

A cryptoperiod is the time a specific key is authorized for use. Table 1 of Part 1 suggests, for example:

| Key type | Suggested cryptoperiod |
|---|---|
| Private signature key | 1 to 3 years |
| Public signature-verification key | several years, depending on key size |
| Symmetric data-encryption key | under 2 years to apply protection, and up to 3 years beyond that to process data |
| Symmetric key-wrapping key | under 2 years to apply protection, and up to 3 years beyond that |
| Symmetric authentication key | under 2 years to apply protection, and up to 3 years beyond that |
| Symmetric master key or key-derivation key | about 1 year |
| Static key-agreement keys | 1 to 2 years |
| Ephemeral key-agreement keys | one key-agreement transaction |

These are suggestions. SP 800-57 explains the factors behind them: how much data a key protects, how exposed it is, the risk of compromise and how much it would cost.

## Security Strength Time Frames

Table 4 of Part 1 projects when each security strength is acceptable:

- **Below 112 bits**: disallowed for applying protection; processing existing data is legacy use.
- **112 bits** (for example RSA-2048): acceptable through 2030; from 2031, disallowed for applying protection and legacy use for processing.
- **128, 192 and 256 bits**: acceptable through 2030 and beyond.

SP 800-131A gives the approval status of individual algorithms and key lengths, and its Rev. 3 draft proposes changes to these dates. See [SP 800-131A](nist-sp-800-131a-transition). For the move to quantum-resistant algorithms, NIST IR 8547 (a draft) proposes deprecating 112-bit quantum-vulnerable algorithms after 2030 and disallowing all quantum-vulnerable algorithms after 2035.

## Key-Management Phases

Part 1 divides a key's life into four phases:

1. **Pre-operational**: the key is not yet available for normal use. It may not exist yet, or it is in the pre-activation state.
2. **Operational**: the key is available and in normal use, in the active or suspended state.
3. **Post-operational**: the key is no longer in normal use but its keying material is still accessible, for example to decrypt archived data.
4. **Destroyed**: the keying material is no longer available.

Section 7 describes the key states behind these phases (pre-activation, active, suspended, deactivated, compromised and destroyed) and the transitions between them.

## Practical Points That Follow From SP 800-57

- Protect keys according to their type and value, and keep private and secret keys separate from the data they protect.
- Plan rotation before a cryptoperiod ends, and know how you will re-encrypt or re-sign data that outlives a key.
- Keep keys needed to decrypt archived data until that data is no longer needed, then destroy them.
- Record key generation, use and destruction so that a compromise can be detected and investigated.
- Use approved algorithms and approved random bit generators for key generation.

## How QNSQY Handles Keys

- **Generation**: QNSQY generates keys from the operating system's random number generator. For password-based encryption it derives the key from the password with Argon2id and a fresh random salt. Argon2id is not a NIST-approved key-derivation function.
- **Storage**: private keys are encrypted under a passphrase unless you choose not to set one, and secret key files are created readable only by their owner (mode 0600 on Linux, an owner-only access list on Windows).
- **Per-file keys**: every file gets fresh keys, derived with HKDF-SHA3-256 from a new random salt, so no two files share a data key.
- **Rotation**: Pro and Business include password change (rekey), and keys can be replaced by generating new key pairs.
- **Splitting and recovery**: Business includes Shamir secret sharing, threshold encryption (M-of-N approvals) and key escrow and recovery.
- **Audit**: Pro and Business include an audit log kept as a hash chain with ML-DSA signatures, and Business adds a per-organization audit log and SIEM export.
- **Destruction**: keys in memory are zeroed after use, and the shred command overwrites files.

QNSQY does not store keys in a hardware security module, and it is not FIPS 140-3 validated.

## Cryptographic Agility

SP 800-57 assumes keys and algorithms will be replaced over time. In practice that needs algorithm identifiers on every key, signature and ciphertext, versioned data formats, and algorithm choices that can change without redesign. QNSQY's .qs files carry their KEM, AEAD, KDF and hash identifiers in the header, the format is versioned (currently 6.1), and readers reject identifiers they do not recognise instead of misreading them.

## Frequently Asked Questions

### How long should a key live?

It depends on the key type. Table 1 of SP 800-57 Part 1 suggests 1 to 3 years for a private signature key, under 2 years of use for symmetric data-encryption keys, about 1 year for a symmetric master key, and a single transaction for ephemeral key-agreement keys.

### What happens to 112-bit security after 2030?

Under SP 800-57 Part 1 Table 4, 112-bit security is acceptable through 2030. From 2031 it is disallowed for applying protection and allowed only for processing existing data.

### Do I need an HSM?

SP 800-57 asks that keys be protected according to their value and type. Many frameworks expect hardware protection for the most valuable keys, such as certificate-authority roots. Requirements differ by sector and contract.

### What is the difference between SP 800-57 and FIPS 140-3?

SP 800-57 is guidance on managing keys. FIPS 140-3 sets the security requirements for the cryptographic modules that hold and use them.

### How does the post-quantum migration affect key management?

The phases and practices stay the same, while algorithms change. NIST IR 8547 (draft) proposes disallowing quantum-vulnerable algorithms after 2035, and for national security systems NSA's CNSA 2.0 timetable completes the move by 2035. See [the 2035 NSA CNSA deadline plan](2035-nsa-cnsa-deadline-plan).

## Sources

1. [NIST SP 800-57 Part 1 Rev. 5, Recommendation for Key Management: Part 1 - General](https://csrc.nist.gov/pubs/sp/800/57/pt1/r5/final), NIST, May 2020
2. [NIST SP 800-57 Part 2 Rev. 1, Best Practices for Key Management Organizations](https://csrc.nist.gov/pubs/sp/800/57/pt2/r1/final), NIST, May 2019
3. [NIST SP 800-57 Part 3 Rev. 1, Application-Specific Key Management Guidance](https://csrc.nist.gov/pubs/sp/800/57/pt3/r1/final), NIST, January 2015
4. [NIST SP 800-131A Rev. 2, Transitioning the Use of Cryptographic Algorithms and Key Lengths](https://csrc.nist.gov/pubs/sp/800/131/a/r2/final), NIST, March 2019
5. [FIPS 140-3, Security Requirements for Cryptographic Modules](https://csrc.nist.gov/pubs/fips/140-3/final), NIST, March 2019

## Related Articles

- [NIST SP 800-131A](nist-sp-800-131a-transition)
- [NIST SP 800-56C on key derivation](nist-sp-800-56c-derivation)
- [NIST PQC standards timeline](nist-pqc-standards-timeline)
- [2035 NSA CNSA deadline plan](2035-nsa-cnsa-deadline-plan)
- [Why RSA 2048 will break](why-rsa-2048-will-break)

---

### Protect Your Data Before Q-Day Arrives

QNSQY's NIST-standardized post-quantum encryption protects files against both current and quantum-era threats.

[Try QNSQY](../../pricing)
