imroc / req

Simple Go HTTP client with Black Magic

Home Page:https://req.cool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ImpersonateFirefox - ECDSA verification failure

powellnorma opened this issue · comments

Using ImpersonateChrome instead works fine.

package main

import (
    "fmt"
    "log"
    
    "github.com/imroc/req/v3"
)

func main(){
    client := req.C().ImpersonateFirefox()
    
    // tls: invalid signature by the server certificate: ECDSA verification failure
    resp, err := client.R().Get("https://www.facebook.com/") 
    
    if err != nil {
        log.Fatal(err)
    }
    
    fmt.Println(resp.String())
}

refraction-networking/utls#274

My full response in utls#274.

TL;DR: Servers which accept delegated_credentials (34) will not work with uTLS's Firefox parrots unless someone implements the real support of this extension for uTLS.