{
  "id": "pgp_private_key_block",
  "kind": "datatype",
  "status": "draft",
  "name": "OpenPGP private key block",
  "doc": "OpenPGP secret key in ASCII armor: Radix-64 text between the lines -----BEGIN PGP PRIVATE KEY BLOCK----- and -----END PGP PRIVATE KEY BLOCK-----, as defined in RFC 9580.",
  "is_pii": false,
  "categories": [
    "secrets",
    "cryptography"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^-----BEGIN PGP PRIVATE KEY BLOCK-----[\\s\\S]+-----END PGP PRIVATE KEY BLOCK-----$",
  "examples": [
    {
      "value": "-----BEGIN PGP PRIVATE KEY BLOCK-----\n\nEXAMPLE\n-----END PGP PRIVATE KEY BLOCK-----",
      "description": "Armor lines around placeholder text, not a key",
      "valid": true
    },
    {
      "value": "-----BEGIN PGP PUBLIC KEY BLOCK-----\n\nEXAMPLE\n-----END PGP PUBLIC KEY BLOCK-----",
      "description": "Public key block",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://www.rfc-editor.org/rfc/rfc9580#section-6.2"
    },
    {
      "type": "other",
      "url": "https://github.com/gitleaks/gitleaks/blob/master/config/gitleaks.toml"
    }
  ],
  "detected_by": {
    "tools": [
      "amazonmacie",
      "detectsecrets",
      "gitleaks",
      "nightfall",
      "semgrep"
    ]
  },
  "quality": {
    "score": 78,
    "missing": [
      "second example",
      "mapping (Wikidata, Schema.org, ...)",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/any/secrets/pgp_private_key_block.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/secrets/pgp_private_key_block.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/secrets/pgp_private_key_block.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/pgp_private_key_block",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/pgp_private_key_block.json"
  }
}