Registry / crypto / github-fakeca

github-fakeca

JSON →
library0.2.0gogounverified

A Go library for generating fake certificate authorities and certificates for testing.

go get github.com/github/fakeca
INSTALL
IMPORT
SIG · GITHUB-FAKECA
G
github-fakeca
cryptogov0.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

fakeca
✓ github.com/github/fakeca

Create a fake CA and issue a certificate.

package main import ( "crypto/tls" "github.com/github/fakeca" ) func main() { ca, _ := fakeca.New() cert, _ := ca.Issue(nil) _ = tls.Certificate{Certificate: [][]byte{cert.Raw}, PrivateKey: cert.PrivateKey} }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
8
Resources
github-fakeca — go get github-fakeca · libregistry