aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* fixed error in test-case setupRasmus Dahlberg2020-11-251-1/+1
| | | | Second must be a valid to ensure that we fail on first.
* rephrased TODO as a noteRasmus Dahlberg2020-11-251-2/+2
|
* added get-entries response testRasmus Dahlberg2020-11-251-1/+60
|
* added get-anchors response testRasmus Dahlberg2020-11-251-1/+12
|
* added get-consistency-proof request parsing testRasmus Dahlberg2020-11-251-1/+61
|
* fixed file typo and added more testsRasmus Dahlberg2020-11-253-89/+197
| | | | | | - Added missing continue in TestNewGetEntries(), and checked all values in the returned request - Added TestNewGetProofByHashResponse()
* added get-entries request parsing testRasmus Dahlberg2020-11-252-9/+74
|
* improved readabilityRasmus Dahlberg2020-11-241-59/+55
|
* fixed minor commentsRasmus Dahlberg2020-11-242-6/+7
|
* removed resolved todoRasmus Dahlberg2020-11-241-20/+3
|
* added isolated trillian proof testsRasmus Dahlberg2020-11-243-12/+91
|
* added start on isolated trillian checksRasmus Dahlberg2020-11-238-189/+265
|
* added tests for sdi and sth issuanceRasmus Dahlberg2020-11-171-2/+116
|
* removed quick testRasmus Dahlberg2020-11-171-4/+0
|
* added test dataRasmus Dahlberg2020-11-179-0/+194
|
* fixed typoRasmus Dahlberg2020-11-171-1/+1
|
* added test placeholdersRasmus Dahlberg2020-11-172-0/+50
|
* added tree head marshal testsRasmus Dahlberg2020-11-171-58/+97
|
* added unmarshal testsRasmus Dahlberg2020-11-171-0/+57
|
* used (un)marshalB64 in testsRasmus Dahlberg2020-11-171-2/+2
| | | | The base64 wrappers use (un)marshal internally.
* added type testsRasmus Dahlberg2020-11-174-44/+342
| | | | | | | | | | 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 checkingRasmus Dahlberg2020-11-174-21/+15
|
* fixed structure to include trillian_tests.goRasmus Dahlberg2020-11-162-70/+115
| | | | Moved trillian test helpers and added TODO functions.
* added TODOsRasmus Dahlberg2020-11-161-0/+2
|
* added get-entries handler testsRasmus Dahlberg2020-11-161-0/+146
| | | | Ensures that the respective error handling functions are invoked.
* added get-consistency-proof handler testsRasmus Dahlberg2020-11-161-0/+121
| | | | Ensures that the respective error handling functions are invoked.
* added get-proof-by-hash handler testsRasmus Dahlberg2020-11-162-2/+127
| | | | Ensures that the respective error handling functions are invoked.
* added add-entry handler testsRasmus Dahlberg2020-11-161-0/+169
| | | | Ensures that the respective error handling functions are invoked.
* added test dataRasmus Dahlberg2020-11-162-15/+43
|
* move test helpers to testdata packageRasmus Dahlberg2020-11-114-58/+87
|
* added docRasmus Dahlberg2020-11-111-0/+2
|
* added get-anchors handler testsRasmus Dahlberg2020-11-111-0/+30
|
* added test that checks for a context deadlineRasmus Dahlberg2020-11-111-1/+26
|
* added get-sth handler testsRasmus Dahlberg2020-11-111-5/+109
|
* removed code snippets that we don't need for nowRasmus Dahlberg2020-11-111-32/+1
|
* added start on gomock testsRasmus Dahlberg2020-11-101-0/+202
| | | | Based on github.com/google/certificate-transparency-go/trillian/ctfe
* minor refactoringRasmus Dahlberg2020-11-102-53/+41
|
* replaced sync.Once with init()Rasmus Dahlberg2020-11-102-5/+1
|
* added test dataRasmus Dahlberg2020-11-101-0/+18
|
* renamed ParseDerChainToList to ParseDerChainRasmus Dahlberg2020-11-052-7/+7
| | | | | The input need not be a chain: it could be any list of DER-encoded certificates.
* added client-side get-anchors code (2)Rasmus Dahlberg2020-11-051-2/+10
| | | | Missed one file.
* added client-side get-anchors codeRasmus Dahlberg2020-11-051-0/+38
|
* refactored ParseDerChain()Rasmus Dahlberg2020-11-051-16/+7
| | | | Could be simplified now that we have a ParseDerChainToList() method.
* fixed get-entries output and client-side verificationRasmus Dahlberg2020-11-056-29/+95
|
* added client-side get-entriesRasmus Dahlberg2020-11-052-2/+78
|
* signature scheme is missing in get-entry responseRasmus Dahlberg2020-11-051-0/+1
|
* allowed client configuration without certificate chain (2)Rasmus Dahlberg2020-11-053-5/+12
| | | | Missed a few files.
* allowed client configuration without certificate chainRasmus Dahlberg2020-11-051-2/+1
|
* added error handling for public key parsingRasmus Dahlberg2020-11-054-11/+19
|
* moved package from stfe/server/descriptor to stfe/descriptorRasmus Dahlberg2020-11-058-10/+5
|