Small fixes to make it work, using fixed javascript-opentimestamps

This commit is contained in:
kexkey
2019-08-14 15:44:16 -04:00
committed by kexkey
parent 8fc7d0f708
commit 8168bed0d5
4 changed files with 26 additions and 6 deletions

View File

@@ -399,6 +399,8 @@ main() {
# POST http://192.168.111.152:8080/ots_verify
# BODY {"hash":"1ddfb769eb0b8876bc570e25580e6a53afcf973362ee1ee4b54a807da2e5eed7","base64otsfile":"AE9wZW5UaW1lc3RhbXBzAABQcm9vZ...gABYiWDXPXGQEDxNch"}
# curl -v -d "{\"hash\":\"1ddfb769eb0b8876bc570e25580e6a53afcf973362ee1ee4b54a807da2e5eed7\",\"base64otsfile\":\"$(cat 1dd.ots.base64)\"}" localhost:8888/ots_verify
response=$(serve_ots_verify "${line}")
response_to_client "${response}" ${?}
break