A plugin for Lemur that allows users to import existing CA certificates into the system.
Project description
lemur-ca-import
A Lemur plugin that allows users to import existing CA certificates into the system, which can then be used to issue certificates without interacting with remote systems.
Installation
Install from PyPI:
pip install lemur-ca-importer
Or from source in development mode:
pip install -e .
With test dependencies:
pip install -e '.[tests]'
Testing
Run the test suite:
python -m pytest
Building
Build distributions locally:
python -m build
This generates both sdist and wheel in dist/.
To control the package version, set the CA_IMPORTER_VERSION environment variable:
CA_IMPORTER_VERSION=1.2.3 python -m build
Publishing
The package uses GitHub Actions for automated CI/CD:
- PR builds (
.github/workflows/pr-build.yml): Tests and builds on each PR targetingmain. Artifacts are uploaded and linked in the PR. - Release publishing (
.github/workflows/release.yml): Tests, builds, and publishes to PyPI on each GitHub release. Uses OIDC trusted publishing (no long-lived tokens).
Usage
The CAImporterPlugin is registered as a Lemur issuer plugin via entry point ca_importer. Configure it in Lemur by providing:
- public_certificate: External CA certificate in PEM format
- private_key: External CA private key in PEM format
The plugin creates an authority bound to the imported CA certificate and generates admin/operator roles.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lemur_ca_import-0.0.1.tar.gz.
File metadata
- Download URL: lemur_ca_import-0.0.1.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8dfc8357433ff3f5f26145fdf997430cdfd49bdf38c0beef3165d83b47a2457a
|
|
| MD5 |
d7dc5fb1642919f3e63a06ccd17c81ed
|
|
| BLAKE2b-256 |
d5079dfcbca81413bfad9302f8364bb5f4f6a1923c7dc40bc41ed94de23b5988
|
Provenance
The following attestation bundles were made for lemur_ca_import-0.0.1.tar.gz:
Publisher:
release.yml on desmaraisp/lemur-ca-import
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lemur_ca_import-0.0.1.tar.gz -
Subject digest:
8dfc8357433ff3f5f26145fdf997430cdfd49bdf38c0beef3165d83b47a2457a - Sigstore transparency entry: 1568696258
- Sigstore integration time:
-
Permalink:
desmaraisp/lemur-ca-import@144b202a1a9dd0e2792c286efc3483128cd8cc4b -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/desmaraisp
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@144b202a1a9dd0e2792c286efc3483128cd8cc4b -
Trigger Event:
release
-
Statement type:
File details
Details for the file lemur_ca_import-0.0.1-py3-none-any.whl.
File metadata
- Download URL: lemur_ca_import-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa9c14459c49ca2d9f3e10f399507ae9e652654070136b3e410f8a486de74f1b
|
|
| MD5 |
016eafb860666d808bfbf2ebf32e5c22
|
|
| BLAKE2b-256 |
9cb64361fc9203d33a396893b32ba3f3da404b489553e1ca4afeb87ed44b6905
|
Provenance
The following attestation bundles were made for lemur_ca_import-0.0.1-py3-none-any.whl:
Publisher:
release.yml on desmaraisp/lemur-ca-import
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lemur_ca_import-0.0.1-py3-none-any.whl -
Subject digest:
aa9c14459c49ca2d9f3e10f399507ae9e652654070136b3e410f8a486de74f1b - Sigstore transparency entry: 1568696285
- Sigstore integration time:
-
Permalink:
desmaraisp/lemur-ca-import@144b202a1a9dd0e2792c286efc3483128cd8cc4b -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/desmaraisp
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@144b202a1a9dd0e2792c286efc3483128cd8cc4b -
Trigger Event:
release
-
Statement type: