[go-nuts] Re: Go 1.21 / FIPS

2024-07-03 Thread 'dagood' via golang-nuts
Hi Devin, The FIPS functionality in Go (which, to be clear, is not supported for use outside of Google) is documented here: go/src/crypto/internal/boring/README.md at release-branch.go1.21 · golang/go (github.com)

[go-nuts] Re: Go 1.21 / FIPS

2024-07-03 Thread Michael Oguidan
"wire: err: exit status 2: stderr: panic: FIPS mode requested (environment variable GOFIPS=1) but no supported crypto backend is enabled" The problem could come from the fact that no crypto backend is enabled. So try to solve that first.. On Tuesday, July 2, 2024 at 11:06:25 PM UTC Damien A wrote

Re: [go-nuts] [security] Go 1.22.5 and Go 1.21.12 are released

2024-07-03 Thread kristian.koehler via golang-nuts
Thanks! Thanks. The original URL also works now.  I'll probably change my script to your version, it seems to be more "up to date". Kristian Am Mittwoch, dem 03.07.2024 um 12:42 + schrieb Steve Mynott: > I'm using > > curl -L -s "https://golang.org/dl/?mode=json"; | jq -r '.[0].version' >

Re: [go-nuts] Preserving special characters when reading Go POST request body

2024-07-03 Thread Hugh Myrie
Look at the sample text file and tell why the special characters differ. When I open the file in VSCode, the special characters in the first sample are highlighted. Could you explain why? On Wednesday, July 3, 2024 at 10:42:07 AM UTC-4 Hugh Myrie wrote: > Yes, PeterGo got it correctly. That is

Re: [go-nuts] Preserving special characters when reading Go POST request body

2024-07-03 Thread Hugh Myrie
Yes, PeterGo got it correctly. That is what I expect to see so I can post it to an API. On Tuesday, July 2, 2024 at 11:28:39 PM UTC-4 peterGo wrote: > Ian, > > Hugh Myrie might be expecting to see something like this: > > https://go.dev/play/p/7TlD5R1C0oX > > Peter > > On Tuesday, July 2, 2024 a

Re: [go-nuts] [security] Go 1.22.5 and Go 1.21.12 are released

2024-07-03 Thread Steve Mynott
I'm using curl -L -s "https://golang.org/dl/?mode=json"; | jq -r '.[0].version' which returns go1.22.5 Cheers Steve On Wed, 3 Jul 2024 at 12:26, kristian.koehler via golang-nuts wrote: > > Hi, > > I have a script that loads the current Go version from the website and > updates my environment.

Re: [go-nuts] [security] Go 1.22.5 and Go 1.21.12 are released

2024-07-03 Thread kristian.koehler via golang-nuts
Hi, I have a script that loads the current Go version from the website and updates my environment. Unfortunately it still returns the old version: https://go.dev/VERSION?m=text --- 8< --- go1.22.4 time 2024-05-30T19:26:07Z --- 8< --- Is a website rebuild/restart necessary? Thanks, Kristian Am

Re: [go-nuts] What happened to sep in errorrs.join

2024-07-03 Thread Marian Ciobanu
Unless I'm missing something, these are equivalent: errors.Join(err1, err2) fmt.Errorf("%w\n%w", err1, err2) So you can use the second form to achieve something similar to whatever separator you want to use. On Thursday, August 10, 2023 at 4:35:16 AM UTC+3 jal...@gmail.com wrote: > this