Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | started to update stfe server | Rasmus Dahlberg | 2021-06-01 | 1 | -78/+66 |
| | | | | Work in progress. | ||||
* | return cosigned sth regardless of cosignature count | Rasmus Dahlberg | 2021-03-16 | 1 | -1/+1 |
| | |||||
* | major refactor based on README.md and TODOs | Rasmus Dahlberg | 2021-02-25 | 1 | -41/+49 |
| | | | | | | 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 unintuitive variable names in ActiveSthSource | Rasmus Dahlberg | 2021-02-18 | 1 | -19/+19 |
| | |||||
* | reordered SthSource functions | Rasmus Dahlberg | 2021-02-18 | 1 | -17/+17 |
| | |||||
* | added TestNewActiveSthSource | Rasmus Dahlberg | 2021-02-18 | 1 | -2/+2 |
| | |||||
* | fixed unexpected reflect behavior | Rasmus Dahlberg | 2021-02-18 | 1 | -13/+1 |
| | | | | | | | | | | | | 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). | ||||
* | added basic server-side cosigning (work in progress) | Rasmus Dahlberg | 2021-02-17 | 1 | -0/+159 |