{
  "id": "pgp_public_key_block",
  "kind": "datatype",
  "status": "draft",
  "name": "OpenPGP public key block",
  "doc": "OpenPGP public key (certificate) in ASCII armor: Radix-64 text between -----BEGIN PGP PUBLIC KEY BLOCK----- and -----END PGP PUBLIC KEY BLOCK----- (RFC 9580, section 6.2), as exported by gpg --armor --export and published on key servers. It holds no secret material; for the secret key see pgp_private_key_block.",
  "is_pii": false,
  "categories": [
    "cryptography"
  ],
  "langs": [
    "common"
  ],
  "regexp": "^-----BEGIN PGP PUBLIC KEY BLOCK-----[\\s\\S]+-----END PGP PUBLIC KEY BLOCK-----$",
  "examples": [
    {
      "value": "-----BEGIN PGP PUBLIC KEY BLOCK-----\n\nxjMEU/NfCxYJKwYBBAHaRw8BAQdAPwmJlL3ZFu1AUxl5NOSofIBzOhKA1i+AEJku\nQ+47JAY=\n-----END PGP PUBLIC KEY BLOCK-----",
      "description": "Sample version 4 Ed25519 key of RFC 9580, appendix A.1",
      "valid": true
    },
    {
      "value": "-----BEGIN PGP SIGNATURE-----\n\niF4EABYIAAYFAlX5X5UACgkQjP3hIZeWWpr2IgD/VvkMypjiECY3vZg/2xbBMd/S\nftgr9N3lYG4NdWrtM2YBANCcT6EVJ/A44PV/IgHYLy6iyQMyZfps60iehUuuYbQE\n-----END PGP SIGNATURE-----",
      "description": "OpenPGP signature of RFC 9580, appendix A.2",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://www.rfc-editor.org/rfc/rfc9580#section-6.2"
    },
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Pretty_Good_Privacy"
    }
  ],
  "quality": {
    "score": 68,
    "missing": [
      "second example",
      "mapping (Wikidata, Schema.org, ...)",
      "translation",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/cryptography/pgp_public_key_block.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/cryptography/pgp_public_key_block.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/cryptography/pgp_public_key_block.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/pgp_public_key_block",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/pgp_public_key_block.json"
  }
}