aboutsummaryrefslogtreecommitdiff
path: root/sigsum-witness.py
Commit message (Collapse)AuthorAgeFilesLines
* Change ERR_USAGE exit codeGrégoire Détrez2022-06-281-1/+1
| | | | | Cpython already uses exit code 1 for uncaught exception, this uses the vaguely-standardized value of 64 from `os.EX_USAGE` instead.
* Catch requests' ConnectionErrorGrégoire Détrez2022-06-281-3/+12
| | | | | | This is a tentative fix for #44: catch exceptions raised by requests if it cannot connect to the log so that the witness can return the expected exit codes.
* Allow --sigkey-file to be a symlinkGrégoire Détrez2022-06-281-8/+19
| | | | | Also adds the first tests (using pytest) & a short paragraph to the README on how to run them.
* change get-consistency-proof HTTP method to GETLinus Nordberg2022-04-291-3/+2
| | | | Following API changes in log.
* s/get-tree-head-to-sign/get-tree-head-to-cosignLinus Nordberg2022-04-281-1/+1
| | | | Following changes in log API.
* sign tree head using SSHSIGLinus Nordberg2022-03-251-8/+9
|
* follow spec wrt tree head ageLinus Nordberg2021-12-081-4/+5
| | | | | | Allow for 10s of clock drift too. Bug reported by rgdd.
* we're sigsum nowv0.2.1Linus Nordberg2021-09-141-0/+505