Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | refactored signing/verification parts that are log specific | Rasmus Dahlberg | 2020-11-05 | 1 | -2/+2 |
| | | | | These methods are now private and attached to LogParameters. | ||||
* | minor refactor of request-response code path | Rasmus Dahlberg | 2020-11-05 | 1 | -44/+48 |
| | | | | | Mainly attaching log-specific functionality to LogParameters, and returning pointers to struct (as opposed to struct). | ||||
* | simplified encoding and decoding | Rasmus Dahlberg | 2020-11-05 | 1 | -40/+22 |
| | | | | | Go's "encoding/json" already takes care of encoding and decoding byte slices as base64. As such, it need not be done explicitly by us. | ||||
* | refactor types and documentation | Rasmus Dahlberg | 2020-10-30 | 1 | -9/+6 |
| | | | | | | Structured files a bit better, added more documentation, switched to pointers as default (unless specifically motivated not to do so), and encapsulated TLS (un)marshaling for the respective types that use it. | ||||
* | removed fixed TODO comment | Rasmus Dahlberg | 2020-10-30 | 1 | -1/+0 |
| | |||||
* | added max range and get-entries sanity checking | Rasmus Dahlberg | 2020-10-30 | 1 | -4/+7 |
| | |||||
* | started refactoring add-entry code path according to doc | Rasmus Dahlberg | 2020-10-30 | 1 | -60/+39 |
| | |||||
* | updated json output according to api doc | Rasmus Dahlberg | 2020-10-30 | 1 | -80/+7 |
| | |||||
* | fixed tls length specifiers | Rasmus Dahlberg | 2020-10-29 | 1 | -2/+2 |
| | |||||
* | go fmt | Rasmus Dahlberg | 2020-10-28 | 1 | -2/+2 |
| | |||||
* | added consistency-proof code path | Rasmus Dahlberg | 2020-10-28 | 1 | -1/+43 |
| | |||||
* | added signed tree head and get-sth code path | Rasmus Dahlberg | 2020-10-28 | 1 | -1/+16 |
| | |||||
* | added ed25519 signing and SDIs | Rasmus Dahlberg | 2020-10-27 | 1 | -0/+16 |
| | |||||
* | isolated chain and signature verification | Rasmus Dahlberg | 2020-10-27 | 1 | -30/+11 |
| | |||||
* | decoupled log instance and info | Rasmus Dahlberg | 2020-10-27 | 1 | -9/+16 |
| | | | | | Makes things a bit more modular. As part of this process I also replaced ct/x509 with crypto/x509, which already suits our needs. | ||||
* | moved common json-write code into a helper | Rasmus Dahlberg | 2020-10-27 | 1 | -0/+14 |
| | |||||
* | added leaf appendix | Rasmus Dahlberg | 2020-10-27 | 1 | -17/+39 |
| | |||||
* | tested certificate chain code path further | Rasmus Dahlberg | 2020-10-26 | 1 | -1/+17 |
| | | | | | Added more documentation and quick helper scripts for now. We need to specify which signature schemes we expect/support from submitters. | ||||
* | added signature verification for add-entry | Rasmus Dahlberg | 2020-10-26 | 1 | -8/+22 |
| | |||||
* | added start on get-anchors code path | Rasmus Dahlberg | 2020-10-23 | 1 | -0/+14 |
| | |||||
* | added basic trust-anchor code path | Rasmus Dahlberg | 2020-10-23 | 1 | -3/+17 |
| | | | | | Pretty much the bare minimum to load trust anchors from file and check that the submitter's certificate chains back to something valid. | ||||
* | ran go fmt | Rasmus Dahlberg | 2020-10-23 | 1 | -1/+1 |
| | |||||
* | refactored add-entry code path | Rasmus Dahlberg | 2020-10-23 | 1 | -7/+51 |
| | |||||
* | fixed json tag typo | Rasmus Dahlberg | 2020-10-23 | 1 | -1/+1 |
| | |||||
* | refactored type.go | Rasmus Dahlberg | 2020-10-23 | 1 | -0/+119 |
Moved structures for in/out HTTP data into reqres.go and added basic doc comments. A few minor edits as well to make things consistent. |