• Alex Klyubin's avatar
    Enable TLSv1.1 and TLSv1.2 by default for SSLSocket. · 1f63d2c2
    Alex Klyubin authored
    TLSv1.1 and TLSv1.2 offer built-in protection against BEAST attack
    and support for GCM cipher suites.
    
    This change causes TLS/SSL handshake failures with a small fraction
    of servers, load balancers and TLS/SSL accelerators with broken
    TLS/SSL implementations.
    
    Scans demonstrate that the number is around 0.6%. Breaking
    connectivity (using platform default settings) to a tiny minority of
    the ecosystem is acceptable because this inconvenience is outweighed
    by the added safety for the overwheling majority of the ecosystem.
    
    App developers affected by this issue should consider asking such
    servers to be fixed or explicitly disabling TLSv1.1 and TLSv1.2 in
    their apps.
    
    Bug: 11220570
    Change-Id: Ice9e8ce550401ba5e3385fd369c40f01c06ac7fd
    1f63d2c2
NativeCrypto.java 47.9 KB