aboutsummaryrefslogtreecommitdiff
path: root/pkg
Commit message (Collapse)AuthorAgeFilesLines
* add proof verification algorithms from RFC 9162Rasmus Dahlberg2022-06-211-0/+200
| | | | | | | | RFC 9162 uses the same hash strategy as RFC 6962. The resulting Go code was written to match the specification language to make review easier. At some point we should add test vectors, good both for us and others. To catch obvious errors I ran these algorithms with a simple CT monitor.
* s/EndpointGetTreeHeadToSign/EndpointGetTreeHeadToCosign/gLinus Nordberg2022-05-211-1/+1
|
* change verification_key to public_keyv0.0.7Linus Nordberg2022-04-292-3/+3
| | | | Issue: #40
* change 'preimage' to 'message'Linus Nordberg2022-04-292-3/+3
| | | | Issue: #40
* remove unused endpoint get-tree-head-latestLinus Nordberg2022-04-291-1/+0
| | | | Issue: #41
* rename endpoint get-tree-head-to-signv0.0.6Linus Nordberg2022-04-281-1/+1
| | | | Reference: https://pad.sigsum.org/p/sigsum-db #11
* use a more appropriate URL for testingLinus Nordberg2022-04-281-3/+3
| | | | sigsum dot com is not a thing.
* add url parsing for get-requests with inputRasmus Dahlberg2022-04-263-111/+138
| | | | Pair-programmed with ln5.
* enable logging of dates by defaultLinus Nordberg2022-04-251-9/+9
| | | | Also, move documentation of the defaults to the struct.
* add a basic leveled loggerRasmus Dahlberg2022-04-192-0/+160
| | | | Date and terminal colors are off by default.
* update module name (s/sigsum-lib-go/sigsum-go)v0.0.4Rasmus Dahlberg2022-04-109-13/+13
| | | | | | See decided proposal: sigsum/doc/proposals/2022-04-restructure-repositories.md
* fix asymmetry in testv0.0.3Rasmus Dahlberg2022-03-281-2/+2
| | | | Next layer of hashing is when computing a checksum.
* fix so that test buffer is always correct sizeRasmus Dahlberg2022-03-281-1/+1
|
* remove redundant charactersRasmus Dahlberg2022-03-282-2/+2
|
* remove dead codeRasmus Dahlberg2022-03-282-46/+0
|
* rename 'ctx'Linus Nordberg2022-03-281-4/+4
| | | | This is old terminology.
* sign tree heads and leaves with SSHSIGLinus Nordberg2022-03-288-24/+150
|
* Merge remote-tracking branch 'origin/rgdd/fix-node-prefix'Linus Nordberg2022-03-281-2/+2
|\
| * fix incorrect {Leaf,Interior}NodePrefixRasmus Dahlberg2022-03-271-2/+2
| |
* | add dns packageRasmus Dahlberg2022-03-282-0/+164
|/ | | | | | Mostly imported from sigsum-log-go. Added strict domain hint parsing, two tests, and an example. This should be part of the sigsum-go lib because some client tooling may also want to check domain hints.
* use ASCII serialised leaves in Test*FromASCII()Linus Nordberg2022-03-151-2/+2
|
* ascii: Use dependencies based on Go 1.15.9v0.0.2Rasmus Dahlberg2021-12-301-1/+2
|
* types: Add types and testsRasmus Dahlberg2021-12-209-0/+1039
|
* requests: Add request types and testsRasmus Dahlberg2021-12-202-0/+434
|
* ascii: Add sigsum ASCII-parser and testsRasmus Dahlberg2021-12-202-0/+760
|
* hex: Add lower-case hex parser and testsRasmus Dahlberg2021-12-202-0/+120