aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* 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
|