diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2017-06-07 06:35:35 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2017-06-07 06:37:18 +0200 |
commit | 3495eca5ad752d189f3aaf830b4bbadf73300639 (patch) | |
tree | ba1013b834ef30f236d33d10eb158b530e27d834 | |
parent | 1ec8274103af9f67174a3055c095d76a0b4cc3e4 (diff) | |
download | acme-tinier-3495eca5ad752d189f3aaf830b4bbadf73300639.tar.gz acme-tinier-3495eca5ad752d189f3aaf830b4bbadf73300639.tar.xz acme-tinier-3495eca5ad752d189f3aaf830b4bbadf73300639.zip |
Fix reliability
-rwxr-xr-x | acme-tinier.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/acme-tinier.pl b/acme-tinier.pl index 266e4ac..6ff2a86 100755 --- a/acme-tinier.pl +++ b/acme-tinier.pl @@ -34,7 +34,7 @@ my $header = { alg => 'RS256', jwk => { kty => 'RSA', n => b64(pack 'H*', $pub_hex =~ s/\s|://gr) }}; -my $json = JSON::PP->new->pretty(0); +my $json = JSON::PP->new->pretty(0)->canonical(1); my $thumbprint = b64(sha256($json->encode($header->{jwk}))); # Pipe data through an external program, keeping status in $? |