a cryptographic and pki service built with FastAPI for secure key management, encryption, and certificate operations.
fmcrypto service provides two main services:
- crypto service : key generation, encryption, digital signatures, mac operations, pin translation, and key wrapping
- pki service : certificate generation, renewal, csr processing, and crl management
cd deployment
./run_dev.shcd deployment
./run_prod.shcd testing
./run_tests.sh- python 3.13+
- docker and docker compose
- pytest and pytest-cov
HSM_IP- hsm server ip addressHSM_PORT- hsm server port (default: 1234)CRYPTO_HSM- hsm type (default: GP)ENVIRONMENT- env setting
the aes dukpt implementation in common/utils/sw/dukpt.py is based on the reference implementation provided by the Accredited Standards Committee X9 (ASC X9) for ANSI X9.24-3-2017.
for complete licensing information, see LICENSES.md.
this project is licensed under the MIT License - see the LICENSE file for details.