diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2021-02-22 01:04:58 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2021-02-22 01:05:06 +0100 |
commit | ed85b6a6740028ce9ce821975a534f696eabd8ed (patch) | |
tree | 9770985049635b4a5a9118cf52ad3964c4d9c719 | |
parent | fef888045bfd03c26822782411ff835c03440d58 (diff) |
client: Print Terms of Service URL for 'account' command.
-rw-r--r-- | Changelog | 1 | ||||
-rwxr-xr-x | client | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -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 @@ -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"; |