Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | started replacing x509 with namespace | Rasmus Dahlberg | 2021-01-27 | 14 | -756/+334 |
| | |||||
* | added namespace package | Rasmus Dahlberg | 2021-01-26 | 3 | -0/+383 |
| | |||||
* | added drafty documentation of namespaces | Rasmus Dahlberg | 2021-01-26 | 1 | -22/+76 |
| | | | | | The namespace format is inspired by Keybase's key-ID format, such that we get rid of the X509 dependency. | ||||
* | added expired certificate | Rasmus Dahlberg | 2020-12-02 | 2 | -8/+7 |
| | |||||
* | added todo on namespaces in checksum entries | Rasmus Dahlberg | 2020-12-02 | 1 | -0/+1 |
| | |||||
* | added missing anchors in test case | Rasmus Dahlberg | 2020-12-02 | 1 | -1/+1 |
| | |||||
* | added instance and log parameter tests | Rasmus Dahlberg | 2020-12-02 | 5 | -35/+201 |
| | |||||
* | started to clean-up instance | Rasmus Dahlberg | 2020-12-01 | 4 | -112/+112 |
| | | | | | Things like opening files is better place in the server package. Any code that is difficult to test should also not be in the STFE package. | ||||
* | renamed and documented function | Rasmus Dahlberg | 2020-12-01 | 5 | -30/+30 |
| | |||||
* | attached url method on endpoint type | Rasmus Dahlberg | 2020-12-01 | 5 | -26/+69 |
| | |||||
* | 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 |
| |