0
0
Fork 0
mirror of https://github.com/slackhq/nebula.git synced 2025-04-11 08:11:18 +00:00
slackhq_nebula/cert
dependabot[bot] d2adebf26d
Bump golangci/golangci-lint-action from 6 to 7 ()
* Bump golangci/golangci-lint-action from 6 to 7

Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6 to 7.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v6...v7)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* use latest golangci-lint

* pin to v2.0

* golangci-lint migrate

* make the tests happy

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wade Simmons <wsimmons@slack-corp.com>
2025-04-01 13:24:19 -04:00
..
asn1.go V2 certificate format () 2025-03-06 11:28:26 -06:00
ca_pool.go V2 certificate format () 2025-03-06 11:28:26 -06:00
ca_pool_test.go Enable running testifylint in CI () 2025-03-10 17:38:14 -05:00
cert.go Improve logging when handshaking with an invalid cert () 2025-03-07 10:45:31 -06:00
cert_v1.go upgrade to yaml.v3 () 2025-03-31 16:08:34 -04:00
cert_v1.pb.go Cert interface () 2024-10-10 18:00:22 -05:00
cert_v1.proto Cert interface () 2024-10-10 18:00:22 -05:00
cert_v1_test.go Enable running testifylint in CI () 2025-03-10 17:38:14 -05:00
cert_v2.asn1 V2 certificate format () 2025-03-06 11:28:26 -06:00
cert_v2.go V2 certificate format () 2025-03-06 11:28:26 -06:00
cert_v2_test.go Enable running testifylint in CI () 2025-03-10 17:38:14 -05:00
crypto.go Cert interface () 2024-10-10 18:00:22 -05:00
crypto_test.go Bump golangci/golangci-lint-action from 6 to 7 () 2025-04-01 13:24:19 -04:00
errors.go V2 certificate format () 2025-03-06 11:28:26 -06:00
helper_test.go V2 certificate format () 2025-03-06 11:28:26 -06:00
Makefile Cert interface () 2024-10-10 18:00:22 -05:00
pem.go V2 certificate format () 2025-03-06 11:28:26 -06:00
pem_test.go Enable running testifylint in CI () 2025-03-10 17:38:14 -05:00
README.md V2 certificate format () 2025-03-06 11:28:26 -06:00
sign.go V2 certificate format () 2025-03-06 11:28:26 -06:00
sign_test.go Enable running testifylint in CI () 2025-03-10 17:38:14 -05:00

cert

This is a library for interacting with nebula style certificates and authorities.

There are now 2 versions of nebula certificates:

v1

This version is deprecated.

A protobuf definition of the certificate format is included at cert_v1.proto

To compile the definition you will need protoc installed.

To compile for go with the same version of protobuf specified in go.mod:

make proto

v2

This is the latest version which uses asn.1 DER encoding. It can support ipv4 and ipv6 and tolerate future certificate changes better than v1.

cert_v2.asn1 defines the wire format and can be used to compile marshalers.