Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | cleaned-up x509util | Rasmus Dahlberg | 2020-11-27 | 3 | -66/+63 | |
| | ||||||
* | added ParseDerChain tests | Rasmus Dahlberg | 2020-11-27 | 2 | -19/+100 | |
| | ||||||
* | added ParseDerList tests | Rasmus Dahlberg | 2020-11-27 | 1 | -1/+62 | |
| | ||||||
* | started to refactor proper testdata into x509util | Rasmus Dahlberg | 2020-11-25 | 6 | -285/+291 | |
| | ||||||
* | added VerifyChain tests | Rasmus Dahlberg | 2020-11-25 | 1 | -2/+151 | |
| | ||||||
* | added NewCertPool tests | Rasmus Dahlberg | 2020-11-25 | 1 | -0/+21 | |
| | ||||||
* | tested NewEd25519PrivateKey | Rasmus Dahlberg | 2020-11-25 | 1 | -0/+68 | |
| | ||||||
* | started on x509util tests | Rasmus Dahlberg | 2020-11-25 | 2 | -4/+162 | |
| | ||||||
* | fixed error in test-case setup | Rasmus Dahlberg | 2020-11-25 | 1 | -1/+1 | |
| | | | | Second must be a valid to ensure that we fail on first. | |||||
* | rephrased TODO as a note | Rasmus Dahlberg | 2020-11-25 | 1 | -2/+2 | |
| | ||||||
* | added get-entries response test | Rasmus Dahlberg | 2020-11-25 | 1 | -1/+60 | |
| | ||||||
* | added get-anchors response test | Rasmus Dahlberg | 2020-11-25 | 1 | -1/+12 | |
| | ||||||
* | added get-consistency-proof request parsing test | Rasmus Dahlberg | 2020-11-25 | 1 | -1/+61 | |
| | ||||||
* | fixed file typo and added more tests | Rasmus Dahlberg | 2020-11-25 | 3 | -89/+197 | |
| | | | | | | - Added missing continue in TestNewGetEntries(), and checked all values in the returned request - Added TestNewGetProofByHashResponse() | |||||
* | added get-entries request parsing test | Rasmus Dahlberg | 2020-11-25 | 2 | -9/+74 | |
| | ||||||
* | improved readability | Rasmus Dahlberg | 2020-11-24 | 1 | -59/+55 | |
| | ||||||
* | fixed minor comments | Rasmus Dahlberg | 2020-11-24 | 2 | -6/+7 | |
| | ||||||
* | removed resolved todo | Rasmus Dahlberg | 2020-11-24 | 1 | -20/+3 | |
| | ||||||
* | added isolated trillian proof tests | Rasmus Dahlberg | 2020-11-24 | 3 | -12/+91 | |
| | ||||||
* | added start on isolated trillian checks | Rasmus Dahlberg | 2020-11-23 | 8 | -189/+265 | |
| | ||||||
* | added tests for sdi and sth issuance | Rasmus Dahlberg | 2020-11-17 | 1 | -2/+116 | |
| | ||||||
* | removed quick test | Rasmus Dahlberg | 2020-11-17 | 1 | -4/+0 | |
| | ||||||
* | added test data | Rasmus Dahlberg | 2020-11-17 | 9 | -0/+194 | |
| | ||||||
* | fixed typo | Rasmus Dahlberg | 2020-11-17 | 1 | -1/+1 | |
| | ||||||
* | added test placeholders | Rasmus Dahlberg | 2020-11-17 | 2 | -0/+50 | |
| | ||||||
* | added tree head marshal tests | Rasmus Dahlberg | 2020-11-17 | 1 | -58/+97 | |
| | ||||||
* | added unmarshal tests | Rasmus Dahlberg | 2020-11-17 | 1 | -0/+57 | |
| | ||||||
* | used (un)marshalB64 in tests | Rasmus Dahlberg | 2020-11-17 | 1 | -2/+2 | |
| | | | | The base64 wrappers use (un)marshal internally. | |||||
* | added type tests | Rasmus Dahlberg | 2020-11-17 | 4 | -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 checking | Rasmus Dahlberg | 2020-11-17 | 4 | -21/+15 | |
| | ||||||
* | fixed structure to include trillian_tests.go | Rasmus Dahlberg | 2020-11-16 | 2 | -70/+115 | |
| | | | | Moved trillian test helpers and added TODO functions. | |||||
* | added TODOs | Rasmus Dahlberg | 2020-11-16 | 1 | -0/+2 | |
| | ||||||
* | added get-entries handler tests | Rasmus Dahlberg | 2020-11-16 | 1 | -0/+146 | |
| | | | | Ensures that the respective error handling functions are invoked. | |||||
* | added get-consistency-proof handler tests | Rasmus Dahlberg | 2020-11-16 | 1 | -0/+121 | |
| | | | | Ensures that the respective error handling functions are invoked. | |||||
* | added get-proof-by-hash handler tests | Rasmus Dahlberg | 2020-11-16 | 2 | -2/+127 | |
| | | | | Ensures that the respective error handling functions are invoked. | |||||
* | added add-entry handler tests | Rasmus Dahlberg | 2020-11-16 | 1 | -0/+169 | |
| | | | | Ensures that the respective error handling functions are invoked. | |||||
* | added test data | Rasmus Dahlberg | 2020-11-16 | 2 | -15/+43 | |
| | ||||||
* | move test helpers to testdata package | Rasmus Dahlberg | 2020-11-11 | 4 | -58/+87 | |
| | ||||||
* | added doc | Rasmus Dahlberg | 2020-11-11 | 1 | -0/+2 | |
| | ||||||
* | added get-anchors handler tests | Rasmus Dahlberg | 2020-11-11 | 1 | -0/+30 | |
| | ||||||
* | added test that checks for a context deadline | Rasmus Dahlberg | 2020-11-11 | 1 | -1/+26 | |
| | ||||||
* | added get-sth handler tests | Rasmus Dahlberg | 2020-11-11 | 1 | -5/+109 | |
| | ||||||
* | removed code snippets that we don't need for now | Rasmus Dahlberg | 2020-11-11 | 1 | -32/+1 | |
| | ||||||
* | added start on gomock tests | Rasmus Dahlberg | 2020-11-10 | 1 | -0/+202 | |
| | | | | Based on github.com/google/certificate-transparency-go/trillian/ctfe | |||||
* | minor refactoring | Rasmus Dahlberg | 2020-11-10 | 2 | -53/+41 | |
| | ||||||
* | replaced sync.Once with init() | Rasmus Dahlberg | 2020-11-10 | 2 | -5/+1 | |
| | ||||||
* | added test data | Rasmus Dahlberg | 2020-11-10 | 1 | -0/+18 | |
| | ||||||
* | renamed ParseDerChainToList to ParseDerChain | Rasmus Dahlberg | 2020-11-05 | 2 | -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 Dahlberg | 2020-11-05 | 1 | -2/+10 | |
| | | | | Missed one file. | |||||
* | added client-side get-anchors code | Rasmus Dahlberg | 2020-11-05 | 1 | -0/+38 | |
| |