Skip to main content

Generic Private Key

Description#

General#

  • Summary: The generic private key detector finds generic private key defined with a -----BEGIN PRIVATE KEY----- header. More details about cryptographic keys can be found in our FAQ.

Revoke the secret#

Revoking the key depends on the service being used.

Check for suspicious activity#

Checking for suspicious activity depends on the service being used.

Details for Base64 private key generic#

  • Category: Private key

  • High recall: True

  • Validity check available: False

  • Minimum number of matches: 1

  • Occurrences found for one million commits: 17.06

  • Prefixed: True

  • PreValidators:

- type: FilenameBanlistPreValidator  banlist_extensions:  - ^(cs|x|p|s|r)?html5?~?$  - ^[aps]?cssc?~?$  - ^lock$  - ^mdx?~?$  - ^storyboard(c|er)?~?$  - ^xib$  banlist_filenames: []  check_binaries: false

Examples#

LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tIEtKSUNkUUlCQURBTEJna3Foa2lHOXcwQkFRRUVnZ0poTUlJQ1hRSUJBQUtCZ1FDN0pIb0pmZzZ5TnpMTU9XZXQgOFo0OWE0S0QwZENzcE1BWXZvMllBTUI3L3dkRXljb2N1amJoSjJuL3NlT05pKzVYcVRxcUZrTTVWQmw4cm1rayBGUFprLzd4MHhtZHNUUEVDU1duSEsrSGhvYU5ERlBSM2o4alFoVm8xbGF4aXFjRWhBSGVnaTVjd3RGb3N1SkF2IFNLQUZLRXZ5RDQzc2kwMERRblhXcllIQUVRSURBUUFCQW9HQUFQeTVTaVlIaVZFclUzS1I0QmcrcGw0eDc1d00gRmlSQzBDZ3orZnJRUEZRRUJzQVY5UnVhc3lReHF6eHJSME93MHFuY0JlR0JXYllFNldaaHF0Y0xBSTg5NWIraSArRjRsYkI0aUQ3VDlRZUlETVYvYUlNWEE4MVVPNGNuczF6NHFEQUhLZXlMTHJQUXJKL0I0WDdYQytlZ1VXbTUrIGhyMXFteUFNdXN5WElCRUNRUURKV1o4cGlsdWY0eXJZZnNKQW42aEY1VDRSalR6dGJxdk8wR1ZHMk1jSFk3VWogTlBTZmZoekh4L2xsMGZRRVFqaStPZ3lkQ0NYOG8zSFpy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EQbtjLnRiTzBH/elQhtdZ5nF7pcpNTi4k13zutmKcWW4GK75azcRGJUhu1kDM7QYAOdSQJAVNkYcifkvna7GmooL5VYEsQsqLbM4v0NF2TIGNfG3z1MGp75KrC5LhL97MNRwe2p/bd2k0HYyCKUGnf2nMPDiQJBAI75pwittSoE240EobUGIDTSz8CJsXIxuDmLz+KOpdpPRR5TQmbEMEspjsFpFymMiuYPgmihQbO2cJl1qScY5OkCQQCJ6m5tcN8lXxg/SNpjEIv+qAyUD96XVlOJlOIeLHQ8kYE0C6ZA+MsqYIzgAreJk88Yn0lU/X0/mu/UpE/BRTfs-----END PRIVATE KEY-----

Details for Private key generic#

  • Category: Private key

  • High recall: True

  • Validity check available: False

  • Minimum number of matches: 1

  • Occurrences found for one million commits: 184.6

  • Prefixed: True

  • PreValidators:

- type: FilenameBanlistPreValidator  banlist_extensions:  - ^(cs|x|p|s|r)?html5?~?$  - ^[aps]?cssc?~?$  - ^lock$  - ^mdx?~?$  - ^storyboard(c|er)?~?$  - ^xib$  banlist_filenames: []  check_binaries: false- type: ContentWhitelistPreValidator  patterns:  - '-----begin private key-----'

Examples#

- text: >    -----BEGIN PRIVATE KEY-----    KJICdQIBADALBgkqhkiG9w0BAQEEggJhMIICXQIBAAKBgQC7JHoJfg6yNzLMOWet    8Z49a4KD0dCspMAYvo2YAMB7/wdEycocujbhJ2n/seONi+5XqTqqFkM5VBl8rmkk    FPZk/7x0xmdsTPECSWnHK+HhoaNDFPR3j8jQhVo1laxiqcEhAHegi5cwtFosuJAv    SKAFKEvyD43si00DQnXWrYHAEQIDAQABAoGAAPy5SiYHiVErU3KR4Bg+pl4x75wM    FiRC0Cgz+frQPFQEBsAV9RuasyQxqzxrR0Ow0qncBeGBWbYE6WZhqtcLAI895b+i    +F4lbB4iD7T9QeIDMV/aIMXA81UO4cns1z4qDAHKeyLLrPQrJ/B4X7XC+egUWm5+    hr1qmyAMusyXIBECQQDJWZ8piluf4yrYfsJAn6hF5T4RjTztbqvO0GVG2McHY7Uj    NPSffhzHx/ll0fQEQji+OgydCCX8o3HZrgw5YfSJAkEA7e+rqdU5nO5ZG//PSEQb    tjLnRiTzBH/elQhtdZ5nF7pcpNTi4k13zutmKcWW4GK75azcRGJUhu1kDM7QYAOd    SQJAVNkYcifkvna7GmooL5VYEsQsqLbM4v0NF2TIGNfG3z1MGp75KrC5LhL97MNR    we2p/bd2k0HYyCKUGnf2nMPDiQJBAI75pwittSoE240EobUGIDTSz8CJsXIxuDmL    z+KOpdpPRR5TQmbEMEspjsFpFymMiuYPgmihQbO2cJl1qScY5OkCQQCJ6m5tcN8l    Xxg/SNpjEIv+qAyUD96XVlOJlOIeLHQ8kYE0C6ZA+MsqYIzgAreJk88Yn0lU/X0/    mu/UpE/BRTfs    -----END PRIVATE KEY-----