Skip to content
Permalink
Browse files
8245686: Ed25519 and Ed448 present in handshake messages
Reviewed-by: jnimeh, xuelei, wetmore
  • Loading branch information
Anthony Scarpino committed Jun 10, 2020
1 parent b6a9f30 commit ee452946fcd45beacea8c3eab515dfbe0b5b3daf
Showing 1 changed file with 12 additions and 1 deletion.
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -274,6 +274,17 @@ private SignatureScheme(int id, String name,
Arrays.asList(handshakeSupportedProtocols);

boolean mediator = true;

// Disable EdDSA algorithms for TLS. Remove this when support is added.
if (id == 0x0807 || id == 0x0808) {
mediator = false;
if (SSLLogger.isOn && SSLLogger.isOn("ssl,handshake")) {
SSLLogger.warning(
"Signature algorithm, " + algorithm +
", not supported by JSSE");
}
}

// An EC provider, for example the SunEC provider, may support
// AlgorithmParameters but not KeyPairGenerator or Signature.
//

0 comments on commit ee45294

Please sign in to comment.