sshkey
18 sites
Security covered
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.