crypso

command module
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2025 License: MIT Imports: 20 Imported by: 0

README

crypso

Go Reference

This module provides utility for generating x509 certificates, using fork of official crypto/x509 library. It adds MLDSA-65 algorithm (one of MLDSA Dilithium family from Cloudflare source) support for private keys (see README.md).

New x509 library with MLDSA-65 support can be imported as

import "github.com/papashik/crypso/x509"

Usage

Note: crypso is a symlink for compiled application, for testing use go run . instead.

Help
crypso --help

When used in any mode, use -v or -vv to see detailed logs.

Generate example
crypso gen -v --ca-private=ca-private.pem --ca-cert=ca.pem --ca-algorithm=MLDSA65 --ca-name=CA_ORG --ca-start="2025-01-01" \
--private=private.pem --cert=cert.pem --algorithm=MLDSA65 --name="ORG" --start="2025-01-01" --hosts=localhost,1.1.1.1
INFO    Generated private key   {"path": "private.pem", "algorithm": "MLDSA65"}
INFO    Generated private key   {"path": "ca-private.pem", "algorithm": "MLDSA65"}
INFO    Generated certificate   {"path": "ca.pem"}
INFO    Generated certificate   {"path": "cert.pem"}
Verify example
crypso -v verify cert.pem ca.pem
INFO    Read certificate from file      {"path": "cert.pem", "algorithm": "MLDSA65"}
INFO    Read certificate from file      {"path": "ca.pem", "algorithm": "MLDSA65"}
INFO    Successfully verified

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package x509 implements a subset of the X.509 standard.
Package x509 implements a subset of the X.509 standard.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL