Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 617648 - dev-java/icedtea-3.3.0 fails ec key exchange: Only uncompressed point format supported
Summary: dev-java/icedtea-3.3.0 fails ec key exchange: Only uncompressed point format ...
Status: RESOLVED DUPLICATE of bug 605430
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrew John Hughes
URL:
Whiteboard:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2017-05-06 14:15 UTC by Alon Bar-Lev (RETIRED)
Modified: 2017-05-06 16:10 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alon Bar-Lev (RETIRED) gentoo-dev 2017-05-06 14:15:02 UTC
Test program:
---
import java.io.*;
import java.net.*;

public class test {
   public static void main (String[] args) throws Exception {
      new URL(args[0]).openStream();
   }
}
---

Test with: https://repo1.maven.org/maven2/

Works with openjdk on centos, worked so far so I suspect icedtea-3.3.0 bump caused it.

---
Caused by: java.security.ProviderException: java.io.IOException: Only uncompressed point format supported
        at sun.security.ec.ECKeyPairGenerator.generateKeyPair(ECKeyPairGenerator.java:147)
        at java.security.KeyPairGenerator$Delegate.generateKeyPair(KeyPairGenerator.java:703)
        at sun.security.ssl.ECDHCrypt.<init>(ECDHCrypt.java:78)
        at sun.security.ssl.ClientHandshaker.serverKeyExchange(ClientHandshaker.java:724)
        at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:281)
        at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1026)
        at sun.security.ssl.Handshaker.process_record(Handshaker.java:961)
        at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)
        at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
        at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
        ... 8 more
Caused by: java.io.IOException: Only uncompressed point format supported
        at sun.security.util.ECUtil.decodePoint(ECUtil.java:51)
        at sun.security.ec.ECKeyPairGenerator.generateKeyPair(ECKeyPairGenerator.java:139)
        ... 17 more
Comment 1 James Le Cuirot gentoo-dev 2017-05-06 16:08:53 UTC

*** This bug has been marked as a duplicate of bug 605430 ***
Comment 2 James Le Cuirot gentoo-dev 2017-05-06 16:10:03 UTC
Sorry, I didn't notice this wasn't -bin, but nevertheless, you need to rebuild icedtea again. NSS changed something and then changed it back again later.