Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | rephrased signature algorithm to signature scheme | Rasmus Dahlberg | 2020-11-02 | 1 | -3/+3 | |
| | ||||||
* | removed hash function as parameter | Rasmus Dahlberg | 2020-11-02 | 1 | -1/+3 | |
| | | | | Trillian doesn't give us much of a choice, see [1]. | |||||
* | removed unused code | Rasmus Dahlberg | 2020-10-30 | 1 | -35/+0 | |
| | ||||||
* | refactor types and documentation | Rasmus Dahlberg | 2020-10-30 | 8 | -208/+232 | |
| | | | | | | 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 unused code | Rasmus Dahlberg | 2020-10-30 | 1 | -4/+0 | |
| | ||||||
* | removed fixed TODO comment | Rasmus Dahlberg | 2020-10-30 | 1 | -1/+0 | |
| | ||||||
* | added sanity checks on Trillian responses | Rasmus Dahlberg | 2020-10-30 | 2 | -27/+82 | |
| | | | | 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 | 4 | -19/+46 | |
| | ||||||
* | started refactoring add-entry code path according to doc | Rasmus Dahlberg | 2020-10-30 | 7 | -77/+127 | |
| | ||||||
* | updated json output according to api doc | Rasmus Dahlberg | 2020-10-30 | 3 | -89/+23 | |
| | ||||||
* | fixed tls length specifiers | Rasmus Dahlberg | 2020-10-29 | 3 | -15/+14 | |
| | ||||||
* | updated api documentation | Rasmus Dahlberg | 2020-10-29 | 1 | -30/+43 | |
| | | | | Specified additional details and simplified http output formatting. | |||||
* | refactored and added sth error-checking | Rasmus Dahlberg | 2020-10-29 | 2 | -15/+24 | |
| | ||||||
* | added hash function (sha256) in log parameters | Rasmus Dahlberg | 2020-10-29 | 1 | -0/+2 | |
| | ||||||
* | go fmt | Rasmus Dahlberg | 2020-10-28 | 6 | -35/+33 | |
| | ||||||
* | added consistency-proof code path | Rasmus Dahlberg | 2020-10-28 | 4 | -2/+119 | |
| | ||||||
* | added signed tree head and get-sth code path | Rasmus Dahlberg | 2020-10-28 | 5 | -4/+122 | |
| | ||||||
* | added ed25519 signing and SDIs | Rasmus Dahlberg | 2020-10-27 | 8 | -4/+126 | |
| | ||||||
* | isolated chain and signature verification | Rasmus Dahlberg | 2020-10-27 | 2 | -30/+46 | |
| | ||||||
* | decoupled log instance and info | Rasmus Dahlberg | 2020-10-27 | 6 | -83/+159 | |
| | | | | | 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 | 2 | -31/+24 | |
| | ||||||
* | fixed url typo | Rasmus Dahlberg | 2020-10-27 | 1 | -1/+1 | |
| | ||||||
* | added leaf appendix | Rasmus Dahlberg | 2020-10-27 | 3 | -21/+64 | |
| | ||||||
* | added additional interactive test scripts | Rasmus Dahlberg | 2020-10-27 | 5 | -7/+55 | |
| | ||||||
* | tested certificate chain code path further | Rasmus Dahlberg | 2020-10-26 | 24 | -198/+304 | |
| | | | | | 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 | 4 | -16/+43 | |
| | ||||||
* | added basic trust-anchor code path | Rasmus Dahlberg | 2020-10-23 | 9 | -12/+235 | |
| | | | | | 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 | |
| | ||||||
* | ran go fmt | Rasmus Dahlberg | 2020-10-23 | 1 | -1/+1 | |
| | ||||||
* | refactored add-entry code path | Rasmus Dahlberg | 2020-10-23 | 3 | -55/+63 | |
| | ||||||
* | fixed json tag typo | Rasmus Dahlberg | 2020-10-23 | 1 | -1/+1 | |
| | ||||||
* | Merge branch 'main' of github.com:system-transparency/stfe into main | Rasmus Dahlberg | 2020-10-23 | 1 | -2/+2 | |
|\ | ||||||
| * | renamed inclusion proof parameter in json output | Rasmus Dahlberg | 2020-10-22 | 1 | -2/+2 | |
| | | ||||||
* | | refactored type.go | Rasmus Dahlberg | 2020-10-23 | 4 | -163/+184 | |
|/ | | | | | 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 | 2 | -11/+11 | |
| | ||||||
* | Added start on get-proof-by-hash code path | Rasmus Dahlberg | 2020-10-22 | 2 | -0/+102 | |
| | | | | | | 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 | 2 | -3/+64 | |
| | | | | | 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 | 2 | -1/+39 | |
| | ||||||
* | added start on addEntry code path | Rasmus Dahlberg | 2020-10-21 | 2 | -3/+91 | |
| | | | | | 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 | 2 | -1/+131 | |
| | ||||||
* | added .gitignore | Rasmus Dahlberg | 2020-10-20 | 3 | -0/+16 | |
| | ||||||
* | added basic structure | Rasmus Dahlberg | 2020-10-20 | 6 | -0/+186 | |
| | | | | | An STFE server instance that dials the Trillian gRPC back-end, and which listens on six different HTTP endpoints but without any actual processing. | |||||
* | removed old files | Rasmus Dahlberg | 2020-10-20 | 1 | -205/+0 | |
| | ||||||
* | renamed doc folder | Rasmus Dahlberg | 2020-10-20 | 1 | -0/+205 | |
| | ||||||
* | renamed Item type | Rasmus Dahlberg | 2020-10-20 | 1 | -20/+20 | |
| | ||||||
* | removed timestamp complexity | Rasmus Dahlberg | 2020-10-20 | 1 | -15/+5 | |
| | | | | | The metrics that one could derive can also be exported by the operator. It is probably good enough and does not justify complexity right now. |