aboutsummaryrefslogtreecommitdiff
path: root/pkg/instance/instance_test.go
Commit message (Collapse)AuthorAgeFilesLines
* fix non-compliant use of HTTP status code 405Rasmus Dahlberg2022-04-011-0/+23
| | | | See RFC 7231, §6.5.5.
* types: Start using sigsum-lib-goRasmus Dahlberg2021-12-201-98/+0
| | | | | | This commit does not change the way in which the log behaves externally. In other words, all changes are internal and involves renaming and code restructuring. Most notably picking up the refactored sigsum-lib-go.
* instance: Add experimental checkpoint endpointv0.3.3Rasmus Dahlberg2021-12-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds an experimental endpoint that serves the log's to-sign tree head formatted as a signed checkpoint. See documentation at: https://github.com/transparency-dev/formats/tree/main/log#readme If we decide to adopt this endpoint we should consider in more detail what the origin string should be. Right now, it is assumed that the log's configured prefix is unique across the set of all sigsum logs. Example output: ``` $ echo "Public verification key: $vk" Public verification key: 8cf3ac85aadd42891c5ae9aef27244cb2a546a2312f80020aad3f2ae1af73314 $ $ echo "Formatted as a note key: $vkNote" Formatted as a note key: sigsum.org:testonly+8de2c54b+AYzzrIWq3UKJHFrprvJyRMsqVGojEvgAIKrT8q4a9zMU $ $ curl http://localhost:6965/testonly/sigsum/v0/get-checkpoint sigsum.org:testonly 23 HSt6W8ve4/36xAIf04qDOqaKLaKqSOUqKxLNrkK74+g= — sigsum.org:testonly jeLFS4WQDEeTavbiYArHzCQUPXbQ1Y/V8/dKJlBxqOAY4eLhSh3uWNJ8YXp1vs/zR4SDNHI+6UybLmHmFlg/VSf5OAs= ```
* fixed bug in handler path constructionv0.3.1Rasmus Dahlberg2021-10-111-12/+29
| | | | A path is expected to always start with the '/' character.
* changed module name, s/golang/gitv0.2.1Rasmus Dahlberg2021-09-291-1/+1
|
* s/get-proof-by-hash/get-inclusion-proofRasmus Dahlberg2021-09-131-1/+1
|
* fixed {st,stfe,system-transparency} -> sigsumRasmus Dahlberg2021-09-131-3/+3
|
* added more instance testsRasmus Dahlberg2021-06-071-3/+74
|
* added start on refactored instance testsRasmus Dahlberg2021-06-071-152/+3
|
* started using the refactored packages in siglog serverRasmus Dahlberg2021-06-061-0/+158