Wade Simmons 9a7ed57a3f
Cache cert verification methods (#871)
* cache cert verification

CheckSignature and Verify are expensive methods, and certificates are
static. Cache the results.

* use atomics

* make sure public key bytes match

* add VerifyWithCache and ResetCache

* cleanup

* use VerifyWithCache

* doc
2023-05-17 10:14:26 -04:00
..
2023-05-17 10:14:26 -04:00
2023-05-04 20:11:33 -05:00
2023-05-17 10:14:26 -04:00
2023-05-04 17:50:23 -04:00
2021-03-18 20:37:24 -05:00
2019-11-19 17:00:20 +00:00

cert

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

A protobuf definition of the certificate format is also included

Compiling the protobuf definition

Make sure you have protoc installed.

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

make