Skip to content

Kernel-Error/smimea-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

SMIMEA Tools

License: MIT

A collection of Python tools for generating and querying SMIMEA DNS records for S/MIME certificates.

πŸš€ Features

  • smimea_generate_record.py: Generates a BIND9-compatible SMIMEA DNS record from an email and its corresponding certificate.
  • smimea_lookup.py: Queries and extracts an SMIMEA record from DNS, retrieves the certificate, and verifies it using OpenSSL.

πŸ› οΈ Installation

Prerequisites

  • Python 3.x
  • openssl command-line tool
  • dnspython package (for smimea_lookup.py)

To install dnspython, run:

pip install dnspython

πŸ“Œ Usage

Generating an SMIMEA Record

python smimea_generate_record.py <email> <certificate.pem>

Example:

python smimea_generate_record.py user@example.com user_cert.pem

Querying an SMIMEA Record

python smimea_lookup.py <email>

Example:

python smimea_lookup.py user@example.com

πŸ“œ License

This project is licensed under the MIT License. See the LICENSE file for details.

✨ Author

Developed by Sebastian van de Meer.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages