Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | added todo on namespaces in checksum entries | Rasmus Dahlberg | 2020-12-02 | 1 | -0/+1 |
| | |||||
* | added type tests | Rasmus Dahlberg | 2020-11-17 | 1 | -14/+13 |
| | | | | | | | | | | As a result these changes were made: - Simplified a few New* functions - Allowed empty inclusion and consistency proofs, which is in contrast to not being able to marshal them due to `tls:"minlen:1"`. For example, an inclusion proof will be empty for a Merkle tree of size 1. - Disallowed empty signatures and chains in a leaf's Appendix - Removed unnecessary examples | ||||
* | fixed redundant tree head checking | Rasmus Dahlberg | 2020-11-17 | 1 | -8/+6 |
| | |||||
* | created new structs more densely | Rasmus Dahlberg | 2020-11-05 | 1 | -46/+12 |
| | |||||
* | unified base64-encoding of paths for printing | Rasmus Dahlberg | 2020-11-05 | 1 | -12/+11 |
| | |||||
* | simplified encoding and decoding | Rasmus Dahlberg | 2020-11-05 | 1 | -11/+19 |
| | | | | | 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. | ||||
* | double-checked encoding of ed25519 signature | Rasmus Dahlberg | 2020-11-04 | 1 | -1/+0 |
| | |||||
* | refactor types and documentation | Rasmus Dahlberg | 2020-10-30 | 1 | -155/+197 |
| | | | | | | 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. | ||||
* | started refactoring add-entry code path according to doc | Rasmus Dahlberg | 2020-10-30 | 1 | -5/+11 |
| | |||||
* | updated json output according to api doc | Rasmus Dahlberg | 2020-10-30 | 1 | -0/+8 |
| | |||||
* | fixed tls length specifiers | Rasmus Dahlberg | 2020-10-29 | 1 | -12/+11 |
| | |||||
* | refactored and added sth error-checking | Rasmus Dahlberg | 2020-10-29 | 1 | -6/+21 |
| | |||||
* | go fmt | Rasmus Dahlberg | 2020-10-28 | 1 | -24/+24 |
| | |||||
* | added consistency-proof code path | Rasmus Dahlberg | 2020-10-28 | 1 | -1/+36 |
| | |||||
* | added signed tree head and get-sth code path | Rasmus Dahlberg | 2020-10-28 | 1 | -1/+48 |
| | |||||
* | added ed25519 signing and SDIs | Rasmus Dahlberg | 2020-10-27 | 1 | -0/+28 |
| | |||||
* | decoupled log instance and info | Rasmus Dahlberg | 2020-10-27 | 1 | -5/+5 |
| | | | | | Makes things a bit more modular. As part of this process I also replaced ct/x509 with crypto/x509, which already suits our needs. | ||||
* | added leaf appendix | Rasmus Dahlberg | 2020-10-27 | 1 | -0/+21 |
| | |||||
* | refactored add-entry code path | Rasmus Dahlberg | 2020-10-23 | 1 | -5/+5 |
| | |||||
* | refactored type.go | Rasmus Dahlberg | 2020-10-23 | 1 | -146/+58 |
| | | | | | 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. | ||||
* | attached InclusionProofV1 onto StItem | Rasmus Dahlberg | 2020-10-22 | 1 | -8/+12 |
| | |||||
* | indented using go fmt | Rasmus Dahlberg | 2020-10-22 | 1 | -8/+8 |
| | |||||
* | Added start on get-proof-by-hash code path | Rasmus Dahlberg | 2020-10-22 | 1 | -0/+65 |
| | | | | | | 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 | -1/+27 |
| | | | | | 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 | -0/+31 |
| | |||||
* | added start on addEntry code path | Rasmus Dahlberg | 2020-10-21 | 1 | -0/+23 |
| | | | | | If the POSTed StItem can be parsed without errors it is handed over to the Trillian back-end. | ||||
* | added StFormat, StItem, and basic ChecksumV1 examples | Rasmus Dahlberg | 2020-10-21 | 1 | -1/+75 |
| | |||||
* | added basic structure | Rasmus Dahlberg | 2020-10-20 | 1 | -0/+3 |
An STFE server instance that dials the Trillian gRPC back-end, and which listens on six different HTTP endpoints but without any actual processing. |