Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | refactored ParseDerChain() | Rasmus Dahlberg | 2020-11-05 | 1 | -16/+7 |
| | | | | Could be simplified now that we have a ParseDerChainToList() method. | ||||
* | fixed get-entries output and client-side verification | Rasmus Dahlberg | 2020-11-05 | 6 | -29/+95 |
| | |||||
* | added client-side get-entries | Rasmus Dahlberg | 2020-11-05 | 2 | -2/+78 |
| | |||||
* | signature scheme is missing in get-entry response | Rasmus Dahlberg | 2020-11-05 | 1 | -0/+1 |
| | |||||
* | allowed client configuration without certificate chain (2) | Rasmus Dahlberg | 2020-11-05 | 3 | -5/+12 |
| | | | | Missed a few files. | ||||
* | allowed client configuration without certificate chain | Rasmus Dahlberg | 2020-11-05 | 1 | -2/+1 |
| | |||||
* | added error handling for public key parsing | Rasmus Dahlberg | 2020-11-05 | 4 | -11/+19 |
| | |||||
* | moved package from stfe/server/descriptor to stfe/descriptor | Rasmus Dahlberg | 2020-11-05 | 8 | -10/+5 |
| | |||||
* | improved readiability | Rasmus Dahlberg | 2020-11-05 | 1 | -1/+7 |
| | |||||
* | removed unnecessary variable | Rasmus Dahlberg | 2020-11-05 | 1 | -15/+10 |
| | |||||
* | refactored trillian response checking | Rasmus Dahlberg | 2020-11-05 | 2 | -47/+37 |
| | | | | Added a few checks that might be redundant, but better safe than sorry. | ||||
* | renamed verify.go to crypto.go | Rasmus Dahlberg | 2020-11-05 | 1 | -0/+0 |
| | | | | | Chains and signatures are verified here, but signatures are also produced. | ||||
* | added doc | Rasmus Dahlberg | 2020-11-05 | 1 | -1/+3 |
| | |||||
* | renamed x509.go to verify.go | Rasmus Dahlberg | 2020-11-05 | 1 | -0/+0 |
| | |||||
* | moved publlic x509 helpers into a separate package | Rasmus Dahlberg | 2020-11-05 | 4 | -131/+143 |
| | |||||
* | refactored signing/verification parts that are log specific | Rasmus Dahlberg | 2020-11-05 | 3 | -31/+32 |
| | | | | These methods are now private and attached to LogParameters. | ||||
* | moved sth and sdi metrics into the signer component | Rasmus Dahlberg | 2020-11-05 | 2 | -12/+10 |
| | |||||
* | renamed appHandler to handler | Rasmus Dahlberg | 2020-11-05 | 2 | -11/+11 |
| | |||||
* | minor refactor of request-response code path | Rasmus Dahlberg | 2020-11-05 | 2 | -57/+61 |
| | | | | | Mainly attaching log-specific functionality to LogParameters, and returning pointers to struct (as opposed to struct). | ||||
* | created new structs more densely | Rasmus Dahlberg | 2020-11-05 | 1 | -46/+12 |
| | |||||
* | unified base64-encoding of paths for printing | Rasmus Dahlberg | 2020-11-05 | 1 | -12/+11 |
| | |||||
* | simplified encoding and decoding | Rasmus Dahlberg | 2020-11-05 | 4 | -67/+52 |
| | | | | | Go's "encoding/json" already takes care of encoding and decoding byte slices as base64. As such, it need not be done explicitly by us. | ||||
* | added prometheus metrics | Rasmus Dahlberg | 2020-11-04 | 4 | -1/+50 |
| | |||||
* | double-checked encoding of ed25519 signature | Rasmus Dahlberg | 2020-11-04 | 1 | -1/+0 |
| | |||||
* | moved extended key usage to log parameters | Rasmus Dahlberg | 2020-11-04 | 2 | -1/+3 |
| | |||||
* | allowed configuration of max-range and max-chain | Rasmus Dahlberg | 2020-11-04 | 3 | -6/+8 |
| | |||||
* | added certificate chain length checking | Rasmus Dahlberg | 2020-11-04 | 2 | -5/+10 |
| | |||||
* | removed obsolete test scripts | Rasmus Dahlberg | 2020-11-03 | 7 | -106/+0 |
| | |||||
* | added test data | Rasmus Dahlberg | 2020-11-03 | 1 | -0/+3 |
| | |||||
* | added chain processing with intermediate certificates | Rasmus Dahlberg | 2020-11-03 | 30 | -210/+171 |
| | | | | | Basic test chains can be generated manually with openssl, see details in server/testdata/x509/README.md. | ||||
* | removed fixed TODOs | Rasmus Dahlberg | 2020-11-03 | 4 | -9/+0 |
| | |||||
* | added client-side consistency proof verification | Rasmus Dahlberg | 2020-11-03 | 3 | -7/+105 |
| | |||||
* | added client-side inclusion proof verification | Rasmus Dahlberg | 2020-11-03 | 3 | -4/+94 |
| | |||||
* | fixed signature verification and client get-sth | Rasmus Dahlberg | 2020-11-03 | 4 | -55/+77 |
| | |||||
* | added get-sth client without signature verification | Rasmus Dahlberg | 2020-11-03 | 3 | -3/+78 |
| | |||||
* | refactored setup() from paths to client package | Rasmus Dahlberg | 2020-11-03 | 2 | -42/+36 |
| | |||||
* | fixed hard-coded protocol and minor refactoring | Rasmus Dahlberg | 2020-11-03 | 2 | -36/+46 |
| | |||||
* | added helper to load log operators from file | Rasmus Dahlberg | 2020-11-03 | 2 | -10/+19 |
| | |||||
* | ignore temporary vim files | Rasmus Dahlberg | 2020-11-03 | 1 | -0/+3 |
| | |||||
* | moved x509 chain loading to stfe package | Rasmus Dahlberg | 2020-11-03 | 3 | -29/+33 |
| | |||||
* | removed unused code | Rasmus Dahlberg | 2020-11-03 | 1 | -24/+0 |
| | |||||
* | unified ed25519 signing key loading and parsing | Rasmus Dahlberg | 2020-11-03 | 3 | -38/+37 |
| | |||||
* | prettified output | Rasmus Dahlberg | 2020-11-03 | 1 | -1/+6 |
| | |||||
* | fixed FindLog such that it uses a list of operators | Rasmus Dahlberg | 2020-11-03 | 5 | -21/+15 |
| | |||||
* | added start on stfe client | Rasmus Dahlberg | 2020-11-02 | 10 | -6/+346 |
| | | | | | | ChecksumV1 entries can be submitted using client-side ed25519 signatures. The resulting SignedDebugInfoV1 is then verified using the log's announced signature scheme and public key (currently only ed25519). |