Skip to content

Commit

Permalink
mk-ca-bundle: added SHA-384 signature algorithm
Browse files Browse the repository at this point in the history
Certificates based on SHA-1 are being phased out[1].
So we should expect a rise in certificates based on SHA-2.
Adding SHA-384 as a valid signature algorithm.

[1] https://blog.mozilla.org/security/2014/09/23/phasing-out-certificates-with-sha-1-based-signature-algorithms/

Signed-off-by: Bruno Thomsen <bth@kamstrup.dk>
  • Loading branch information
baxeno authored and bagder committed Oct 15, 2014
1 parent e64bc7c commit 3621045
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/mk-ca-bundle.1
Expand Up @@ -87,7 +87,7 @@ each certificate and output when run in plain text mode.

Valid algorithms are:
.RS
ALL, NONE, MD5 (default), SHA1, SHA256, SHA512
ALL, NONE, MD5 (default), SHA1, SHA256, SHA384, SHA512
.RE
.IP -u
unlink (remove) certdata.txt after processing
Expand Down
3 changes: 2 additions & 1 deletion lib/mk-ca-bundle.pl
Expand Up @@ -56,7 +56,7 @@
# If the OpenSSL commandline is not in search path you can configure it here!
my $openssl = 'openssl';

my $version = '1.23';
my $version = '1.24';

$opt_w = 76; # default base64 encoded lines length

Expand Down Expand Up @@ -97,6 +97,7 @@
"MD5",
"SHA1",
"SHA256",
"SHA384",
"SHA512"
);

Expand Down

0 comments on commit 3621045

Please sign in to comment.