[go-nuts] Does crypto/AES work on hardware that doesn't have the aes instruction set? Hello, Will crypto/aes, cipher/GCM work on hardware without embedded aes support?

2021-12-02 Thread Sean
Hello,

Will **crypto/aes**, **cipher/GCM** work on hardware without embedded aes 
support?

What I want to know is how these packages respond in cases where there is 
no embedded AES support (fast is not important).

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/e55ee408-fdf3-4472-9e87-84647197ed73n%40googlegroups.com.


[go-nuts] Go 1.17.4 and Go 1.16.11 are released

2021-12-02 Thread Michael Knyszek
Hello gophers,

We have just released Go versions 1.17.4 and 1.16.11, minor point releases.

View the release notes for more information:
https://go.dev/doc/devel/release#go1.17.minor

You can download binary and source distributions from the Go web site:
https://go.dev/dl/

To compile from source using a Git clone, update to the release with
"git checkout go1.17.4" and build as usual.

Thanks to everyone who contributed to the releases.

Cheers,
Michael, Heschi, Dmitri, and Carlos for the Go team

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAN%3D%2BcNrpFGMQwHQW-yVt3htHfahHzCe8NNDr9aR282UrJ8c9YQ%40mail.gmail.com.


[go-nuts] DumpRequestOut and RoundTripper

2021-12-02 Thread Jason Meckley
We have a lot of service to service calls in our application, and 
throughout our code we have blocks of code to add http headers for tracing 
and authentication, we are now adding debug logs to dump the request and 
the response.

The documentation states "do not modify the request" 
, which is a vague statements 
about what can/should be done in a round tripper.

Would it be in violation of documentation and specs to use 
httputil.DumpRequestOut and httputil.DumpResponse in a round tripper?

I found this post 
, but 
it still doesn't seem definitive on the subject.

thank you in advance, Jason

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/32e63913-3807-4e72-a7ee-01f985b98e1an%40googlegroups.com.


[go-nuts] [security] Vulnerability in golang.org/x/crypto/ssh

2021-12-02 Thread Roland Shoemaker
Hello gophers,

Version v0.0.0-20211202192323-5770296d904e of golang.org/x/crypto fixes a
vulnerability in the golang.org/x/crypto/ssh package which allowed
unauthenticated clients to cause a panic in SSH servers.

This issue was discovered and reported by Rod Hynes, Psiphon Inc., and is
tracked as CVE-2021-43565 and Issue #49932
.

Roland on behalf of the Go team

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CADAOFNTi47fbLcZ77ZSz0qYidnb%3DTKGykfA6MZRnV%3DYmHG4RCQ%40mail.gmail.com.


Re: [go-nuts] nil

2021-12-02 Thread Marcin Romaszewicz
I updated your example with a couple of nil checks which work in this
situation, so have a look after reading that nil error link above.
https://go.dev/play/p/lsc72BWP-SO

On Thu, Dec 2, 2021 at 1:17 AM Jan Mercl <0xj...@gmail.com> wrote:

> On Thu, Dec 2, 2021 at 10:13 AM Денис Мухортов
>  wrote:
>
> > How can the output of the program be explained? Why checking for nil
> gives false??
>
> Because it is not nil: https://go.dev/doc/faq#nil_error
>
> --
> You received this message because you are subscribed to the Google Groups
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to golang-nuts+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/golang-nuts/CAA40n-X%2BDXBnc5KVe78m764k43E4QK%2BKPPZwWpJfLzwePKdCwQ%40mail.gmail.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CA%2Bv29Lsd1ke6wuWqEcXtwFuvwrgvgPV%3Ds2e1VZF6LDjc_MKiaw%40mail.gmail.com.


Re: [go-nuts] nil

2021-12-02 Thread Jan Mercl
On Thu, Dec 2, 2021 at 10:13 AM Денис Мухортов
 wrote:

> How can the output of the program be explained? Why checking for nil gives 
> false??

Because it is not nil: https://go.dev/doc/faq#nil_error

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAA40n-X%2BDXBnc5KVe78m764k43E4QK%2BKPPZwWpJfLzwePKdCwQ%40mail.gmail.com.


[go-nuts] nil

2021-12-02 Thread Денис Мухортов
How can the output of the program be explained? Why checking for nil gives 
false??
https://go.dev/play/p/9O1nNgCHg2c

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/3861e221-e534-4b30-a3bd-09c9cf8a27abn%40googlegroups.com.