Before you use anything here

This library is not associated with the ACSC, NIST, or any other authority, and nothing in it is accredited, endorsed or approved by one. Control catalogues are mirrored unmodified under their own licences; that is a copy, not an endorsement of anything here.

What a component definition offers is a community-contributed approach to a control, with the instructions and the recipe. Whether it holds in your environment depends on things this library cannot see — what precedes it, what overrides it, what your image resets. Adopting one is your assessment to make, and your authority's to accept.

Each component carries an assurance state its author declared. That is the author's claim, not the library's finding.

Debian 13 Password Hashing Component Definition

debian-13-password-hashing · version 1.0.0 · OSCAL 1.1.2

technically-tested published

Documentcomponent-definition.json
sha256 8b3bc0fc775d3a204e52fe2337d5684096362ea7d78a2d16bf650102a08d424c
Identityhttps://library.oscalops.net/component-definitions/327f09ef-96c6-54e6-aad8-9d305442ebfe/9e9f92fc-8682-4cd4-ac47-46afeb6b1cd3/1.0.0/component-definition.json
Sourcehttps://github.com/dmblack/oscal_component-definition_debian-passphrase-hardening.git at 85d9681d323d20210966c1a330836b4c2637ea18
VersionsAll versions of debian-13-password-hashing

From the author

Theoretical component. It describes a configuration that satisfies the named controls when applied; it is not an assertion that any particular system is running it. An SSP leveraging this component must supply the implementation evidence for its own hosts.

Assurance state is 'technically-tested': the configuration was applied to a clean Debian 13 install and verified end to end.

Declared by this document

What the contributor says this component applies to and touches. These are the contributor's own statements in their own vocabulary, not the library's, and the library does not check them beyond what OSCAL requires of a property.

PropertyValueVocabulary
os-codenametrixiehttps://ns.oscalops.net/component-definitions
os-distributiondebianhttps://ns.oscalops.net/component-definitions
os-release13https://ns.oscalops.net/component-definitions
publisherlibrary_component-definition contributorshttps://ns.oscalops.net/component-definitions
settinglogin.defs:ENCRYPT_METHODhttps://ns.oscalops.net/component-definitions
settingpam_unix:hashing-algorithmhttps://ns.oscalops.net/component-definitions
configurationnone; asserts Debian 13 defaultshttps://ns.oscalops.net/component-definitions/debian-13-password-hashing

Debian 13 password hashing (yescrypt)

Passwords on Debian 13 (trixie) are stored as yescrypt hashes: a salted, memory-hard key derivation function. pam_unix hashes password changes made through PAM with its yescrypt option, and tools that bypass PAM follow ENCRYPT_METHOD YESCRYPT in /etc/login.defs.

Both are Debian 13 defaults. This component configures nothing: it asserts the defaults and ships a verification script that makes the assertion checkable, including by inspecting a hash actually stored for a throwaway account.

Purpose. Evidence that stored passwords use an approved, salted key derivation function (IA-5(1)(d)).

Properties
os-distributiondebian
os-release13
os-codenametrixie
settinglogin.defs:ENCRYPT_METHOD
settingpam_unix:hashing-algorithm
configurationnone; asserts Debian 13 defaults

NIST: SP 800-53 Revision 5 v1.4.0

The SP 800-53 Rev 5 IA-5(1) password-storage statement, from oscal-content release v1.4.0.

IA-5(1) — Password-based Authentication

This component claims only IA-5(1)(d), password storage. The other elements of IA-5(1) are claimed by debian-13-pam-pwquality, or by no component; see debian-13-passphrase-hardening.

StatementStatusDescription
(d)implementedPasswords are stored using yescrypt, a salted, memory-hard key derivation function: pam_unix.so names yescrypt in /etc/pam.d/common-password, and /etc/login.defs sets ENCRYPT_METHOD YESCRYPT. Verified by inspecting the hash stored when a…

Configuration and scripts

Files

ResourceFileSHA-256
Verification scriptscripts/verify-password-hashing.sh66416fed8aa043cbb1c1d115c5e1f3ca81314fbe3677458028926c8ef005b414

External references