Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | removed possible todo | Rasmus Dahlberg | 2020-12-01 | 1 | -2/+0 | |
| | | | | | These named get parameter will anyway be hard-coded in some places, e.g., on structs that can be exported as json. | |||||
* | removed explicit string function | Rasmus Dahlberg | 2020-12-01 | 5 | -33/+29 | |
| | ||||||
* | added an endpoint type | Rasmus Dahlberg | 2020-11-30 | 7 | -54/+101 | |
| | ||||||
* | removed TODO | Rasmus Dahlberg | 2020-11-30 | 1 | -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 error | Rasmus Dahlberg | 2020-11-30 | 3 | -6/+10 | |
| | ||||||
* | added and moved test data | Rasmus Dahlberg | 2020-11-30 | 27 | -76/+53 | |
| | ||||||
* | migrated over to x509util/testdata | Rasmus Dahlberg | 2020-11-30 | 7 | -125/+35 | |
| | ||||||
* | added verifySignature tests | Rasmus Dahlberg | 2020-11-27 | 1 | -1/+66 | |
| | ||||||
* | added buildChainFromDerList tests | Rasmus Dahlberg | 2020-11-27 | 5 | -5/+129 | |
| | ||||||
* | restored intermediate pem certificate | Rasmus Dahlberg | 2020-11-27 | 1 | -6/+6 | |
| | | | | It got replaced by mistake a few days ago. | |||||
* | 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 | |
| |