README.png

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>, matching ssh-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.

Supporting organizations: 
Brought module back to drupal.org, Drupal 11 port, ran security audit, and applied fixes.
Initial Drupal 10 port. Drupal 11+ maintenance.

Project information

Releases