-
Notifications
You must be signed in to change notification settings - Fork 151
Conversation
Codecov Report
@@ Coverage Diff @@
## master #738 +/- ##
=========================================
+ Coverage 48.66% 48.7% +0.04%
=========================================
Files 30 30
Lines 2503 2505 +2
=========================================
+ Hits 1218 1220 +2
Misses 1088 1088
Partials 197 197
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM besides a few nits:
- there seems to be copy&paste error in the prepare_client.sh script
- maybe delete the provided yaml file (?)
scripts/prepare_client.sh
Outdated
KTURL="${KTURLDEFAULT}" | ||
read -p "Trillian Map verification key: " MAPKEY | ||
if [[ -n "${MAPKEY}" ]]; then | ||
printf "map-key: %s\n" "${LOGKEY}" >> .keytransparency.yaml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change to ${MAPKEY}
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks
.keytransparency.yaml
Outdated
kt-url: "35.184.134.53:8080" | ||
client-secret: "client_secret.json" | ||
service-key: "" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this new line.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
.keytransparency.yaml
Outdated
|
||
kt-url: localhost:8080 | ||
client-secret: | ||
service-key: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file looks like it does not work as it is. Also, and it gets completely overwritten below (in prepare_client.sh).
Is it still useful? Or should we delete it completely?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This empty file allows the command line client to use the defaults specified in its command line flags, which do work - and it removes another place where we need to manage defaults.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the explanation. LGTM
Updated PTAL |
With the transition onto Trillian, several of the previous flags are now obsolete.
This PR cleans up and clarifies command line flags.
This PR also fixes a few things in the client and cleans up docker-compose.
References:
#712
Closes #659