{"success":true,"data":{"ext":"skr","name":"PGP secret keyring file","description":"PGP secret keyring (SKR) is a cryptographic key storage format associated with Pretty Good Privacy (PGP), originally created by Phil Zimmermann and maintained within the PGP and OpenPGP ecosystem. It is used to store private keys for email encryption, digital signatures, and identity authentication in PGP-compatible software. Because it contains sensitive key material, the file must be protected carefully; the format is largely legacy and is now less common than modern OpenPGP key stores.","mime":[],"risk_level":"Safe","signatures":[{"hex":"95 00","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]},{"hex":"95 01","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":[],"usage":{"python":"def is_skr(file_path: str) -> bool:\n    \"\"\"Check if file is a valid SKR by magic bytes.\"\"\"\n    signature = bytes([0x95, 0x00])\n    with open(file_path, \"rb\") as f:\n        return f.read(2) == signature","node":"function isSKR(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x95, 0x00]);\n  return buffer.subarray(0, 2).equals(signature);\n}","go":"func IsSKR(data []byte) bool {\n    signature := []byte{0x95, 0x00}\n    if len(data) < 2 {\n        return false\n    }\n    return bytes.Equal(data[:2], signature)\n}"}}}