Re: [go-nuts] Use CONNECT method to proxies for HTTP requests

2020-01-28 Thread Edouard Buschini
should use r.URL.Host first like the doc says for the basic request. On Mon, Jan 27, 2020 at 11:22 AM Edouard Buschini < edouard.busch...@gmail.com> wrote: > Hi all! > > Asking for the help of the community because I haven't been able to find > the answer on my own. > >

[go-nuts] Use CONNECT method to proxies for HTTP requests

2020-01-27 Thread Edouard Buschini
Hi all! Asking for the help of the community because I haven't been able to find the answer on my own. I'm writing an http fuzzer in go and was implementing a proxy options from the cli. My use case is that I want all the requests to be sent to the proxy when the flag is set. No matter if it's

Re: [go-nuts] AES-GCM as stream cipher?

2018-02-27 Thread Edouard Buschini
The tag is wrapped inside of the output of seal: - size of the tag: https://golang.org/src/crypto/cipher/gcm.go#L126 - https://golang.org/src/crypto/cipher/gcm.go#L146 You have to pass the tag + encrypted data to open to decrypt. AES-GCM already works like a stream cipher, meaning the result o