aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* tested certificate chain code path furtherRasmus Dahlberg2020-10-2624-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-entryRasmus Dahlberg2020-10-261-8/+22
|
* added start on get-anchors code pathRasmus Dahlberg2020-10-234-16/+43
|
* added basic trust-anchor code pathRasmus Dahlberg2020-10-239-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 noteRasmus Dahlberg2020-10-231-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 commentsRasmus Dahlberg2020-10-231-2/+2
|
* ran go fmtRasmus Dahlberg2020-10-231-1/+1
|
* refactored add-entry code pathRasmus Dahlberg2020-10-233-55/+63
|
* fixed json tag typoRasmus Dahlberg2020-10-231-1/+1
|
* Merge branch 'main' of github.com:system-transparency/stfe into mainRasmus Dahlberg2020-10-231-2/+2
|\
| * renamed inclusion proof parameter in json outputRasmus Dahlberg2020-10-221-2/+2
| |
* | refactored type.goRasmus Dahlberg2020-10-234-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 StItemRasmus Dahlberg2020-10-221-8/+12
|
* indented using go fmtRasmus Dahlberg2020-10-222-11/+11
|
* Added start on get-proof-by-hash code pathRasmus Dahlberg2020-10-222-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 pathRasmus Dahlberg2020-10-222-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-entriesRasmus Dahlberg2020-10-222-1/+39
|
* added start on addEntry code pathRasmus Dahlberg2020-10-212-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 examplesRasmus Dahlberg2020-10-212-1/+131
|
* added .gitignoreRasmus Dahlberg2020-10-203-0/+16
|
* added basic structureRasmus Dahlberg2020-10-206-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 filesRasmus Dahlberg2020-10-201-205/+0
|
* renamed doc folderRasmus Dahlberg2020-10-201-0/+205
|
* renamed Item typeRasmus Dahlberg2020-10-201-20/+20
|
* removed timestamp complexityRasmus Dahlberg2020-10-201-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.
* fixed typoRasmus Dahlberg2020-10-191-1/+1
|
* added public endpointsRasmus Dahlberg2020-10-151-9/+94
|
* updated data structure specificationRasmus Dahlberg2020-10-151-51/+80
| | | | | | - Repurposed the CT/bis TransItem structure - Added a "version 1 checksum" leaf - Moved signature into leaf appendix
* started filling in the blanksRasmus Dahlberg2020-10-141-7/+57
| | | | | | - Added a basic Merkle tree leaf data structure that is extensible - Added explicit references (where possible) to RFC 6962. More to come. - Added TODOs that we need to think more about.
* added start on st log api documentationRasmus Dahlberg2020-10-131-0/+51
|
* initial commitRasmus Dahlberg2020-10-131-0/+2