aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Changelog1
-rwxr-xr-xclient3
2 files changed, 4 insertions, 0 deletions
diff --git a/Changelog b/Changelog
index 9c606fe..a402207 100644
--- a/Changelog
+++ b/Changelog
@@ -96,6 +96,7 @@ lacme (0.7.1) upstream;
- Set the DEBUG environment variable to 0/1 instead of ""/1.
- Use File::Basename::dirname() to correctly extract the parent
directory of the socket path.
+ - client: Print Terms of Service URL for 'account' command.
-- Guilhem Moulin <guilhem@fripost.org> Wed, 09 Dec 2020 18:23:22 +0100
diff --git a/client b/client
index d7874b7..0bcf8cd 100755
--- a/client
+++ b/client
@@ -289,6 +289,9 @@ if ($COMMAND eq 'account') {
my $r = acme_resource('newAccount', %h);
# TODO: list account orders: https://github.com/letsencrypt/boulder/issues/3335
+ print STDERR "Terms of Service: $RES{meta}->{termsOfService}\n"
+ if defined $RES{meta} and defined $RES{meta}->{termsOfService};
+
if ($r->is_success()) {
$KID = $r->header('Location');
print STDERR "Key ID: $KID\n";