aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* rephrased signature algorithm to signature schemeRasmus Dahlberg2020-11-021-3/+3
|
* removed hash function as parameterRasmus Dahlberg2020-11-021-1/+3
| | | | Trillian doesn't give us much of a choice, see [1].
* removed unused codeRasmus Dahlberg2020-10-301-35/+0
|
* refactor types and documentationRasmus Dahlberg2020-10-308-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 codeRasmus Dahlberg2020-10-301-4/+0
|
* removed fixed TODO commentRasmus Dahlberg2020-10-301-1/+0
|
* added sanity checks on Trillian responsesRasmus Dahlberg2020-10-302-27/+82
| | | | Based on the sanity checks that CTFE does.
* shortened variable namesRasmus Dahlberg2020-10-301-34/+34
|
* added max range and get-entries sanity checkingRasmus Dahlberg2020-10-304-19/+46
|
* started refactoring add-entry code path according to docRasmus Dahlberg2020-10-307-77/+127
|
* updated json output according to api docRasmus Dahlberg2020-10-303-89/+23
|
* fixed tls length specifiersRasmus Dahlberg2020-10-293-15/+14
|
* updated api documentationRasmus Dahlberg2020-10-291-30/+43
| | | | Specified additional details and simplified http output formatting.
* refactored and added sth error-checkingRasmus Dahlberg2020-10-292-15/+24
|
* added hash function (sha256) in log parametersRasmus Dahlberg2020-10-291-0/+2
|
* go fmtRasmus Dahlberg2020-10-286-35/+33
|
* added consistency-proof code pathRasmus Dahlberg2020-10-284-2/+119
|
* added signed tree head and get-sth code pathRasmus Dahlberg2020-10-285-4/+122
|
* added ed25519 signing and SDIsRasmus Dahlberg2020-10-278-4/+126
|
* isolated chain and signature verificationRasmus Dahlberg2020-10-272-30/+46
|
* decoupled log instance and infoRasmus Dahlberg2020-10-276-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 helperRasmus Dahlberg2020-10-272-31/+24
|
* fixed url typoRasmus Dahlberg2020-10-271-1/+1
|
* added leaf appendixRasmus Dahlberg2020-10-273-21/+64
|
* added additional interactive test scriptsRasmus Dahlberg2020-10-275-7/+55
|
* 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.