[go-nuts] Accessing certificates in Windows Store - Local Machine

2022-01-04 Thread Aggarwal Sre
Hi, My requirement is to encrypt/decrypt some secret using the private key of a certificate installed in a local machine store. It looks like google has package - https://github.com/google/certtostore But the usage is not totally clear. Also, I am not sure if this will help me achieve this. Ano

[go-nuts] uber handler to collect stacktrace when program crashing

2022-05-27 Thread Aggarwal Sre
Hi , Is there a recommended pattern besides adding a defer call ( with recover call, to collect debug stack trace) to each goroutine, for collecting a stack trace when a golang is crashing due to any sort of panic. In other words, is there a way to register an uber handler ( probably using OS sig

Re: [go-nuts] uber handler to collect stacktrace when program crashing

2022-05-30 Thread Aggarwal Sre
> wrote: > I believe this is asking for a single handler that will apply to all > goroutines, to which the answer is no such feature exists > > - sean > > On Sat, May 28, 2022, 03:09 Ian Lance Taylor wrote: > >> On Fri, May 27, 2022 at 10:42 AM Aggarwal Sre >> wrote: