aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* added an endpoint typeRasmus Dahlberg2020-11-307-54/+101
|
* removed TODORasmus Dahlberg2020-11-301-1/+0
| | | | | That the returned leaf and appendix are as expected follows from the newAddEntryRequest function and its separate test cases.
* made a few tests more robust and found errorRasmus Dahlberg2020-11-303-6/+10
|
* added and moved test dataRasmus Dahlberg2020-11-3027-76/+53
|
* migrated over to x509util/testdataRasmus Dahlberg2020-11-307-125/+35
|
* added verifySignature testsRasmus Dahlberg2020-11-271-1/+66
|
* added buildChainFromDerList testsRasmus Dahlberg2020-11-275-5/+129
|
* restored intermediate pem certificateRasmus Dahlberg2020-11-271-6/+6
| | | | It got replaced by mistake a few days ago.
* cleaned-up x509utilRasmus Dahlberg2020-11-273-66/+63
|
* added ParseDerChain testsRasmus Dahlberg2020-11-272-19/+100
|
* added ParseDerList testsRasmus Dahlberg2020-11-271-1/+62
|
* started to refactor proper testdata into x509utilRasmus Dahlberg2020-11-256-285/+291
|
* added VerifyChain testsRasmus Dahlberg2020-11-251-2/+151
|
* added NewCertPool testsRasmus Dahlberg2020-11-251-0/+21
|
* tested NewEd25519PrivateKeyRasmus Dahlberg2020-11-251-0/+68
|
* started on x509util testsRasmus Dahlberg2020-11-252-4/+162
|
* 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
|