Open jcao219 opened 7 years ago
I dunno how we're going to keep using docker-compose now. The createtree script prints out the tree ID; I think we might have to have a more complex trampoline for the CT server, which tries to 1) find the tree ID if it was created; 2) create it if it can't find it; 3) update the config and start the server.
Wrote a bit of the new trampoline; looks like we need to patch Trillian again, as the log server now binds to localhost instead of 0.0.0.0.
With that patch, now I'm getting this:
failed to create signer for tree: RSA signature not supported by key of type *ecdsa.PrivateKey
Alright, it's all been fixed. We need the Trillian patch, and a patch to make createtree
wait for the log server to be available.
@jcao219 I fixed the CT server to block until the log server is available, is it all working on your end too?
createtree
is failing with
Failed to create tree: rpc error: code = Unknown desc = Error 1054: Unknown column 'CreateTimeMillis' in 'field list'
You might have to recreate all the containers from scratch, they moved a lot of stuff around.
It all works now.
Well, the log signer is failing every time it tries to sign the empty log. It doesn't do error reporting, so I'm not sure what's the cause.
Trillian has made the following changes (code, latest https://github.com/google/trillian/blob/master/integration/log_integration_test.sh) :