Skip to main content

Parses cached certificate templates from a Windows Registry file and displays them in the same style as Certipy does.

Project description

regcertipy

Parses cached certificate templates from a Windows Registry .reg file and displays them in the same style as Certipy does.

Getting started

We prefer using the uv package manager, as it will automatically create a virtual environment for you.

$ uv venv
$ uv pip install regcertipy
$ regcertipy -h
usage: regcertipy [-h] regfile

Regfile ingestor for Certipy

positional arguments:
  regfile     Path to the .reg file.

options:
  -h, --help  show this help message and exit

Use regedit.exe to export the keys under HKEY_USERS\.DEFAULT\Software\ Microsoft\Cryptography\CertificateTemplateCache\. Then, the .reg file can be fed into regcertipy with: regcertipy .

Example of how to export a .reg file

Development

Note that we use the Black code formatter for code formatting. Moreover, we use the Git Flow branching model, meaning that we actively develop on the "develop" branch, and merge to the "main" branch (& tag it) when a new release is made, making the "main" branch the production branch.

$ uv sync --dev # Also installs the Black code formatter.
$ uv run black . # To format the current code base.
$ uv run regcertipy -h
usage: regcertipy [-h] regfile

Regfile ingestor for Certipy

positional arguments:
  regfile     Path to the .reg file.

options:
  -h, --help  show this help message and exit

You can also run the __init__.py or __main.py__ Python file in your favourite debugger.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

regcertipy-1.0.0.tar.gz (100.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

regcertipy-1.0.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file regcertipy-1.0.0.tar.gz.

File metadata

  • Download URL: regcertipy-1.0.0.tar.gz
  • Upload date:
  • Size: 100.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.13

File hashes

Hashes for regcertipy-1.0.0.tar.gz
Algorithm Hash digest
SHA256 2211b0f1b89ddc1b9d1d5c8774bc90279d0670d31d778b51511f4a6c093958a4
MD5 2cbe3a63e8edbf2a6d8e8b9ae80f5dfc
BLAKE2b-256 a4ebda73694565c5dc92261d97c1f967b26dd5ebc0b0bb37295cc19242b8d83b

See more details on using hashes here.

File details

Details for the file regcertipy-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: regcertipy-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.13

File hashes

Hashes for regcertipy-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 462e0261a78f522451d7d7727b4dcfeb693805e3906a9b4dabc210669f7a36e5
MD5 fadfd9b24f4fa3a82f9be030283556d6
BLAKE2b-256 c46b79a1ee461cab1f640df42b57f67d07c76191fee7230ce9139863501b7365

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page