text
stringlengths
0
1.82k
**Carlisia Thompson:** You mentioned that there are Go libraries or a library that will help people put TLS on their servers - did you mention what it was?
**Matt Holt:** I didn't. I can do that, yeah. So the default of course is Go's built-in listen and serve TLS. The NET package also has a TLS listener that you can use. Now, that is if you have your certificates already; you just pass in the file name of certificates and it will load and use those. Now, your service may...
So if you wanna use ACME and automate all of this and forget about it, there is a library by Russ Cox, rsc/letsencrypt on GitHub, that I believe solves the HTTP challenge at least. And then there is a really cool library that I like, called ACME Wrapper; that's dkumor/acmewrapper on GitHub. That's really cool, because ...
Of course, Caddy does all of this too. All of its TLS features are available for your program to use, especially if you wanna integrate with Caddy. If your web service is configurable and you want to just serve over TLS without having to think about it, you can do that with Caddy, too. I'll be talking about this more a...
**Brian Ketelsen:** Good plug.
**Erik St. Martin:** That's in November?
**Matt Holt:** In October.
**Erik St. Martin:** There's another one is November.
**Matt Holt:** That's the Brazil one, right?
**Carlisia Thompson:** Yes.
**Erik St. Martin:** Yes, it is.
**Carlisia Thompson:** But GothamGo is also in November …
**Erik St. Martin:** That's right.
**Carlisia Thompson:** November 18th.
**Erik St. Martin:** And then Brazil one is early November, I believe.
**Carlisia Thompson:** Yeah.
**Erik St. Martin:** So again, perfect timing for interesting Go news, right? GopherCon Brazil...
**Carlisia Thompson:** Exactly, I'm so excited about that. It's going to be the first GopherCon Brazil. The first GopherCon in the whole Latin America, so we're expecting it to be very, very exciting. It's gonna be on November 4th and 5th and Bill Kennedy is going to do a workshop on the 6th. Bill Kennedy is going to b...
**Erik St. Martin:** You're joining the list of insane people who have decided to organize or co-organize a conference?
**Carlisia Thompson:** I don't know. I don't know how that happens. I'm trying not to …
**Erik St. Martin:** We tried to warn you and you still did it.
Carlisia Campos:… I know, I know.
**Brian Ketelsen:** We did. I swear, we pulled you aside at GopherCon and said, "Don't do it, don't do it!"
**Carlisia Thompson:** I know, I just can't help it. Everybody is so excited and doing such hard work. Sponsors are welcome. It's going to be a great way to reach awesome developers in Brazil. What else? We expect 300 people, we can even fit more than that, but we think 300 will be easy to get.
\[44:00\] CFP is open, the registration is open, the sponsorships are cheap, cheap, cheap, cheap, cheap, because it's a small conference and the exchange rate is crazy. So take a look at the prospectus. Support is so appreciated and needed, especially for this first one. We really wanna set the standard for it to be a ...
**Erik St. Martin:** And for anybody in the US wanting to travel internationally, I did the math on what it cost to go and it's actually not bad. The ticket itself -- what was it Carlisia, was it like $30 US?
**Carlisia Thompson:** The ticket is like a meal price, it's very low. If you get in now it's $15, and if you get the day off, it will be $30.
**Erik St. Martin:** And the hotel was I think $50 a night and then plus airfare. I mean, it's probably like $800 or something to fly from the US.
**Carlisia Thompson:** And the location is an amazing island in Brazil in November summer time. I cannot stress that enough, it's gonna be beautiful.
**Erik St. Martin:** Hey, somebody was asking for GopherCon Hawaii. This is probably as close, I mean …
**Brian Ketelsen:** That's right, it sounds pretty awesome. Now I'm feeling like I need to go. I'm getting some FOMO.
**Erik St. Martin:** I know. I told Carlisia that I wanna go, but I'm also gonna submit a talk to KubeCon so I need to see how that goes first, because I think I would literally fly out the last day of the conference to make it over there.
**Carlisia Thompson:** Submit it to both. And I also wanted to say there will be simultaneous translations, so if you are an English speaker and you don't Portuguese, we are totally ready and expecting you.
**Brian Ketelsen:** That's awesome.
**Erik St. Martin:** So Go projects. I have one that I saw come through - I think I saw it on Twitter a few days ago, but it goes along with this whole security mindset that we're talking about this episode, which is Hewlett-Packard released a library called [`gas`](https://github.com/HewlettPackard/gas) - a command li...
**Brian Ketelsen:** Yeah, I saw that. It looks really cool.
**Erik St. Martin:** Did you take a look at that, Matt, at all?
**Matt Holt:** Yeah, I saw that. I haven't used it yet. Laura looked at it in detail. With a few of the comments that were posted, I could understand how it might come up with some false positives, but that's probably better than false negatives.
**Brian Ketelsen:** Any static analysis tool you're gonna end up with checks that might be false positive or don't apply. I mean, even Govet has some that don't really work all the time, but it's better to have them and know that you're ignoring them than not have them.
**Matt Holt:** Right, yeah.
**Erik St. Martin:** Yeah, so that's the only problem I think I find with false positives, is you accept them, and I would rather have them and not have them. But the difficulty comes in how they're addressed, because you ultimately want to ignore them, right? Because you don't wanna keep looking at the same thing and ...
You also don't wanna ignore it, because that may actually become a real vulnerability. And I think I struggle with that, like how do you trim the fat on the warnings being thrown, without continuously ignoring what could become future problems?
**Brian Ketelsen:** \[48:04\] That might be a show of its own, right there
**Erik St. Martin:** So somebody write a library for that/ \[laughter\] Like, so many runs, or if the line changes, or surrounding lines change - I wanna know to look at it again.
And then also along those lines, Stripe has a package called SafeSQL which also looks for some SQL injection vulnerabilities - which I haven't run, but I'm interested to see how that works from the static analysis side. So I see it's using tools like sqlmap and stuff from the client side, looking for SQL injection vuln...
**Brian Ketelsen:** So one that I saw that I thought was very exciting was sync.errgroup, which was released by the Go Team a week or two ago. That is a pretty slick package that kind of helps you do all of the right things when it comes to synchronization, concurrency and organizing a bunch of goroutines to do stuff, ...
So it's a thin shell around sync.WaitGroup and the context package, but it's nice that it's all done correctly and you can count on that to do the right things when you're doing concurrency. That's one of the things I think in Go that's awesome, their concurrency, but it's really easy to do it wrong. So that's a great ...
**Erik St. Martin:** So this is kind of like an HTTP request coming in and you're kind of fanning out to do multiple units of work kind of concurrently, and possibly those fan out even further, and this helps kind of propagate the errors back up to the kind of originating Go routine as well as cancelling all other goro...
**Brian Ketelsen:** Exactly. So you can use it for just that concept, the cancellation; you can use it to run lots of goroutines in parallel and keep them synchronized, or you can use it as a pipeline to run pull data between goroutines and still capture all of the errors in between them. So it's a neat package. I inte...
**Erik St. Martin:** I now intend to use it.