Skip to content

Commit

Permalink
Add SHA-512 to BSI TLS policy's allowed sigatures hashes
Browse files Browse the repository at this point in the history
  • Loading branch information
securitykernel committed Nov 14, 2019
1 parent 9b01dec commit 070d1cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/tls/tls_policy.h
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ class BOTAN_PUBLIC_API(2,0) BSI_TR_02102_2 : public Policy

std::vector<std::string> allowed_signature_hashes() const override
{
return std::vector<std::string>({"SHA-384", "SHA-256"});
return std::vector<std::string>({"SHA-512", "SHA-384", "SHA-256"});
}

std::vector<std::string> allowed_macs() const override
Expand Down
2 changes: 1 addition & 1 deletion src/tests/data/tls-policy/bsi.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ allow_dtls10 = false
allow_dtls12 = false

ciphers = AES-256/GCM AES-128/GCM AES-256 AES-128 AES-256/CCM AES-128/CCM
signature_hashes = SHA-384 SHA-256
signature_hashes = SHA-512 SHA-384 SHA-256
macs = AEAD SHA-384 SHA-256
key_exchange_methods = ECDH DH PSK ECDHE_PSK DHE_PSK
signature_methods = ECDSA RSA DSA
Expand Down

0 comments on commit 070d1cf

Please sign in to comment.