{
  "id": "ssh_public_key",
  "name": "SSH public key (OpenSSH format)",
  "status": "draft",
  "doc": "Public key in the one-line OpenSSH format of authorized_keys and known_hosts files: the key type (ssh-ed25519, ecdsa-sha2-nistp256, ssh-rsa and others), a space, the Base64 of the RFC 4253 key blob and an optional comment, often user@host. The multi-line RFC 4716 format (---- BEGIN SSH2 PUBLIC KEY ----) and authorized_keys options before the key type are not covered.",
  "categories": [
    {
      "id": "cryptography",
      "name": "Cryptographic identifiers"
    }
  ],
  "langs": [
    {
      "id": "common",
      "name": "Common to most languages"
    }
  ],
  "is_pii": false,
  "regexp": "^(?:ssh-(?:ed25519|ed448|rsa|dss)|ecdsa-sha2-nistp(?:256|384|521)|sk-(?:ssh-ed25519|ecdsa-sha2-nistp256)@openssh\\.com) AAAA[0-9A-Za-z+/]+={0,2}(?: [^\\r\\n]*)?$",
  "examples": [
    {
      "value": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl",
      "description": "Ed25519 host key of github.com, published by GitHub"
    },
    {
      "value": "ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=",
      "description": "ECDSA host key of github.com, published by GitHub"
    },
    {
      "value": "SHA256:+DiY3wvvV6TuJJhbpZisF/zLDA0zPMSvHdkr4UvCOqU",
      "valid": false,
      "description": "Fingerprint of the Ed25519 key, not the key"
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://man.openbsd.org/sshd#AUTHORIZED_KEYS_FILE_FORMAT"
    },
    {
      "type": "doc",
      "url": "https://www.rfc-editor.org/rfc/rfc4253#section-6.6"
    },
    {
      "type": "other",
      "url": "https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/githubs-ssh-key-fingerprints"
    }
  ],
  "type": "datatype",
  "translations": {}
}