SSH Key
17 sites
Security covered
This module provides a field type for storing OpenSSH public keys on any Drupal entity. It allows configuration for accepted algorithms and minimum RSA key lengths, and validates keys for correctness.
Provides an sshkey_default field type for storing OpenSSH public keys on any fieldable Drupal entity (User, Node, custom entity types). Configure it in Field UI like any other field.
- Per-field allowlist of accepted algorithms (
ssh-rsa,ssh-dss,ssh-ed25519). - Per-field minimum RSA modulus length (default 2048 bits).
- Structural validation via phpseclib rejects malformed and curve-invalid keys.
- Stores an OpenSSH-style SHA-256 fingerprint (
SHA256:<base64>, matchingssh-keygen -lf) and the key's comment as an editable name. - Access governed by the host entity's own field-access logic — no separate permissions.
Release planning
If you'd like to see a stable release, please help with #3580605: Stable release roadmap.
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 4.0.0-alpha7 | Pre-release | 10–11 | Another round of bug fixing and security hardening | May 28, 2026 | |
| 4.0.0-alpha6 | Pre-release | 10–11 | If all good, this is the last alpha | May 15, 2026 | |
| 4.0.0-alpha5 | Pre-release | 10–11 | Removed IDE folder | May 7, 2026 | |
| 4.0.0-alpha4 | Pre-release | 10–11 | Tests added | Mar 21, 2026 | |
| 4.0.0-alpha3 | Pre-release | 10–11 | Fields can now be added to D11 entities | Mar 17, 2026 | |
| 4.0.0-alpha2 | Pre-release | 10–11 | Can now add the field to entities | Mar 9, 2026 | |
| 4.0.0-alpha1 | Pre-release | 10–11 | Initial release for Drupal 8+ | Mar 8, 2026 | |
| 4.x-dev | Dev | 10–11 | Drupal 8+ branch | Mar 8, 2026 |