• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kemsta / go-easyrsa / 23586488425
77%

Build:
DEFAULT BRANCH: master
Ran 26 Mar 2026 09:15AM UTC
Jobs 1
Files 20
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

19 Mar 2026 10:54PM UTC coverage: 56.745% (-13.3%) from 70.072%
23586488425

push

travis-ci

kemsta
V2 (#17)

* Security fixes, dependency updates, and CI migration to GitHub Actions

- Fix private key file permissions: 0644 → 0600 (world-readable keys)
- Fix integer overflow in removeDups: map key int64 → string (hex)
- Fix integer overflow in serial parsing: strconv.ParseInt → big.Int.SetString
- Replace deprecated io/ioutil with os.ReadFile/os.CreateTemp (Go 1.16+)
- Update Go version: 1.18 → 1.25.0; update all dependencies to latest
- Migrate CI: remove .travis.yml, rewrite GitHub Actions workflow
  - Go matrix: 1.17/1.18 → 1.22/1.23
  - Actions updated to v4/v5/v6; add go vet job; coverallsapp v1→v2

* Fix CI Go matrix to match minimum version from go.mod (1.25.0)

* Pin golangci-lint to v2.11.3 (supports Go 1.25+)

* Update golangci-lint-action to v7 (required for golangci-lint v2)

* Replace deprecated CRL APIs with x509.RevocationList

- x509.ParseCRL → x509.ParseRevocationList (storage.go)
- caCert.CreateCRL → x509.CreateRevocationList (pki.go)
- CRLHolder interface: *pkix.CertificateList → *x509.RevocationList
- Switch from pkix.RevokedCertificate to x509.RevocationListEntry
- Replace ioutil in storage_test.go with os

* Add v2 design docs and easy-rsa submodule

- docs/design.md: full v2 library architecture — pluggable storage
  interfaces, semi-open Option pattern, Config with easy-rsa parity,
  PKI method signatures, and env var coverage table
- docs/easyrsa-parity.md: command-to-method mapping table
- subprojects/easy-rsa: git submodule (OpenVPN/easy-rsa) for e2e tests

* Implement full v2 PKI: crypto, fs/memory storage, all PKI methods

- crypto/key.go: GenKey (RSA/ECDSA/Ed25519), MarshalPrivateKey,
  UnmarshalPrivateKey (handles encrypted + PKCS1 fallback), PublicKey
- crypto/dh.go: GenDHParams using safe prime generation
- storage/memory: in-memory implementations of all 5 storage interfaces
- storage/fs: filesystem implementations (easy-rsa-compatible layout)
  - KeyStorage: ca.crt at root, issued/<name>.crt, private/<name>.key,
 ... (continued)

1182 of 2083 new or added lines in 20 files covered. (56.75%)

1182 of 2083 relevant lines covered (56.75%)

35.32 hits per line

Uncovered Changes

Lines Coverage ∆ File
207
36.89
storage/fs/storage.go
149
29.72
storage/memory/storage.go
81
66.11
storage/fs/index.go
71
71.02
pki/ca.go
58
70.71
pki/csr.go
55
0.0
cert/pair.go
54
0.0
internal/testutil/easyrsa.go
44
65.89
pki/cert.go
44
60.71
pki/export.go
40
72.41
pki/revoke.go
23
51.06
pki/options.go
21
79.21
pki/inspect.go
13
80.0
crypto/key.go
13
0.0
pki/clean.go
12
0.0
cert/csr.go
6
76.92
crypto/dh.go
6
0.0
storage/storage.go
4
93.65
pki/pki.go
Jobs
ID Job ID Ran Files Coverage
1 23586488425.1 26 Mar 2026 09:15AM UTC 20
56.75
Travis Job
Source Files on build 23586488425
  • Tree
  • List 20
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #23586488425
  • 4b45c880 on github
  • Prev Build on master (#23268162086)
  • Next Build on master (#23593785070)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc