Re: [go-nuts] What should be a silly protoc golang question

2020-07-22 Thread Matthew Walster
; generates it inside the proto's directory with a directory structure like: > Have you tried using an option like: --go_opt=paths=source_relative Matthew Walster -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from th

Re: [go-nuts] Using GTSM with GRPC

2020-07-23 Thread Matthew Walster
to suggestions for alternative ways of preventing that connection from being DoSed. Matthew Walster -- 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

[go-nuts] Using GTSM with GRPC

2020-07-22 Thread Matthew Walster
5) instead, but considering that GRPC (via MTLS) gives me all the authentication I need for the data, that seems overkill and prone to opaque issues. I'm essentially only worried about spoofed packets coming in trying to reset the TCP connection. Open to any suggestions, many thanks in advance! Matthew Walste

[go-nuts] Inverting a template

2021-03-24 Thread Matthew Walster
eous regex? Is that something that's possible with the template package that I haven't discovered? Matthew Walster -- 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 e

Re: [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-03 Thread Matthew Walster
Whoops, yes, there is a feature flag there I missed "supportsAES" etc. It appears to be gated on that instruction being present, at which time the operation becomes roughly constant time. M On Fri, 3 Dec 2021, 08:53 Matthew Walster, wrote: > Sure, it's enabled in a bui

Re: [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-03 Thread Matthew Walster
Sure, it's enabled in a build constraint: https://cs.opensource.google/go/go/+/refs/tags/go1.17.3:src/crypto/aes/cipher_asm.go It's not an exact science, there's no testing for the instruction afaict, it's just that anything running the amd64 architecture has the aesni instructions. I assume

Re: [go-nuts] Golang application local timezone doesn't change with the system timezone

2022-02-09 Thread Matthew Walster
On Wed, 9 Feb 2022 at 23:36, E Z wrote: > I noticed a phenomenon while maintaining my golang application, the local > timezone of the application always keep the value when it starts, the local > timezone will not change even though I change the system timezone. It looks > like the golang time