Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | major refactor based on README.md and TODOs | Rasmus Dahlberg | 2021-02-25 | 1 | -125/+0 |
| | | | | | | Updated types, improved units tests, isolated most test data to have it in one place, renamed and created new files to improve readability, and fixed a bunch of minor TODOs. | ||||
* | fixed unexpected reflect behavior | Rasmus Dahlberg | 2021-02-18 | 1 | -2/+2 |
| | | | | | | | | | | | | After tls.Unmarshal() an empty slice is not assigned the nil value, but rather a slice of zero length. It is in contrast to NewTreeHeadV1(), which assigns a nil value. Therefore, reflect.DeepEqual() considers them to be different. Fixed by assigning an empty tree head extension as `make([]byte, 0)`, and not looking for nil values but rather zero-length values with len(). Further read: "Note that a non-nil empty slice and a nil slice [...] are not deeply equal." (https://golang.org/pkg/reflect/#DeepEqual). | ||||
* | started replacing x509 with namespace | Rasmus Dahlberg | 2021-01-27 | 1 | -171/+0 |
| | |||||
* | added expired certificate | Rasmus Dahlberg | 2020-12-02 | 1 | -1/+1 |
| | |||||
* | made a few tests more robust and found error | Rasmus Dahlberg | 2020-11-30 | 1 | -2/+1 |
| | |||||
* | added verifySignature tests | Rasmus Dahlberg | 2020-11-27 | 1 | -1/+66 |
| | |||||
* | added buildChainFromDerList tests | Rasmus Dahlberg | 2020-11-27 | 1 | -1/+98 |
| | |||||
* | added tests for sdi and sth issuance | Rasmus Dahlberg | 2020-11-17 | 1 | -2/+116 |
| | |||||
* | fixed typo | Rasmus Dahlberg | 2020-11-17 | 1 | -1/+1 |
| | |||||
* | added test placeholders | Rasmus Dahlberg | 2020-11-17 | 1 | -0/+21 |