Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | refactor types and documentation | Rasmus Dahlberg | 2020-10-30 | 1 | -6/+4 |
| | | | | | | 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. | ||||
* | added sanity checks on Trillian responses | Rasmus Dahlberg | 2020-10-30 | 1 | -23/+23 |
| | | | | Based on the sanity checks that CTFE does. | ||||
* | shortened variable names | Rasmus Dahlberg | 2020-10-30 | 1 | -34/+34 |
| | |||||
* | added max range and get-entries sanity checking | Rasmus Dahlberg | 2020-10-30 | 1 | -15/+5 |
| | |||||
* | started refactoring add-entry code path according to doc | Rasmus Dahlberg | 2020-10-30 | 1 | -7/+2 |
| | |||||
* | updated json output according to api doc | Rasmus Dahlberg | 2020-10-30 | 1 | -9/+8 |
| | |||||
* | fixed tls length specifiers | Rasmus Dahlberg | 2020-10-29 | 1 | -1/+1 |
| | |||||
* | refactored and added sth error-checking | Rasmus Dahlberg | 2020-10-29 | 1 | -9/+3 |
| | |||||
* | go fmt | Rasmus Dahlberg | 2020-10-28 | 1 | -3/+3 |
| | |||||
* | added consistency-proof code path | Rasmus Dahlberg | 2020-10-28 | 1 | -0/+24 |
| | |||||
* | added signed tree head and get-sth code path | Rasmus Dahlberg | 2020-10-28 | 1 | -2/+33 |
| | |||||
* | added ed25519 signing and SDIs | Rasmus Dahlberg | 2020-10-27 | 1 | -1/+12 |
| | |||||
* | decoupled log instance and info | Rasmus Dahlberg | 2020-10-27 | 1 | -19/+20 |
| | | | | | 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 | -31/+10 |
| | |||||
* | added leaf appendix | Rasmus Dahlberg | 2020-10-27 | 1 | -4/+4 |
| | |||||
* | added start on get-anchors code path | Rasmus Dahlberg | 2020-10-23 | 1 | -2/+13 |
| | |||||
* | added basic trust-anchor code path | Rasmus Dahlberg | 2020-10-23 | 1 | -2/+2 |
| | | | | | Pretty much the bare minimum to load trust anchors from file and check that the submitter's certificate chains back to something valid. | ||||
* | moved TODO on gRPC error codes to a note | Rasmus Dahlberg | 2020-10-23 | 1 | -5/+1 |
| | | | | | | | It appears that a bad gRPC code is already captured as part of err. In other words, additional detail can be inside the following error clause. See example in CTFE's addChainInternal() function. | ||||
* | added comments | Rasmus Dahlberg | 2020-10-23 | 1 | -2/+2 |
| | |||||
* | refactored add-entry code path | Rasmus Dahlberg | 2020-10-23 | 1 | -43/+7 |
| | |||||
* | refactored type.go | Rasmus Dahlberg | 2020-10-23 | 1 | -3/+2 |
| | | | | | 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. | ||||
* | indented using go fmt | Rasmus Dahlberg | 2020-10-22 | 1 | -3/+3 |
| | |||||
* | Added start on get-proof-by-hash code path | Rasmus Dahlberg | 2020-10-22 | 1 | -0/+37 |
| | | | | | | If the provided tree size is (mostly) valid the Trillian back-end is asked to provide an inclusion proof, which is then placed in an InclusionProofV1 structure and returned as a JSON object. | ||||
* | added start on get-entries code path | Rasmus Dahlberg | 2020-10-22 | 1 | -2/+37 |
| | | | | | If the provided range is (mostly) valid the corresponding log entries are fetched from the Trillian back-end and returned as a JSON object. | ||||
* | added parameter parsing for get-entries | Rasmus Dahlberg | 2020-10-22 | 1 | -1/+8 |
| | |||||
* | added start on addEntry code path | Rasmus Dahlberg | 2020-10-21 | 1 | -3/+68 |
| | | | | | If the POSTed StItem can be parsed without errors it is handed over to the Trillian back-end. | ||||
* | added basic structure | Rasmus Dahlberg | 2020-10-20 | 1 | -0/+78 |
An STFE server instance that dials the Trillian gRPC back-end, and which listens on six different HTTP endpoints but without any actual processing. |