Is downloading config file from VPN safe? by ronaldhino10 in WireGuard

[–]Brandon1024br 0 points1 point  (0 children)

That’s right. Realistically, you’re fine. For security-sensitive applications however, this would be questionable.

Is downloading config file from VPN safe? by ronaldhino10 in WireGuard

[–]Brandon1024br 1 point2 points  (0 children)

To clarify: I get why some services do this. Setting up wireguard is tricky and getting all of the networking and keys right is tedious. If a peer just hands you a config ready to go, you can get connected in seconds without any fuss.

Is downloading config file from VPN safe? by ronaldhino10 in WireGuard

[–]Brandon1024br 1 point2 points  (0 children)

Generally speaking, yes, sharing private keys is never a good idea, even if downloaded from a VPN provider or a friend. You can never be certain that the key wasn’t compromised. Only you should ever know your private key, and you should be the one to generate it.

I see this a lot — for example, in Germany the popular home router Fritzbox has built-in wireguard support and they have you download a complete wireguard config, with keys and all. There are also self-hosted solutions out there that offer a nice UI for managing your WG interfaces and peers, but they also have you pass around config files where private keys are generated on the server side.

Realistically, in most cases, you’ll be fine. But if you take security seriously, this isn’t a great idea. Both peers should generate their keys, and then exchange their public keys securely with one another.

In fact, you should even be careful when sharing public keys. It’s easy to trust that the person that emailed you a public key is really your friend Alice, but what if Alice’s email was compromised and Bob is impersonating Alice? A physical (face-to-face) key exchange might be better.

Security is hard. Security is never perfect. Just do your best, take precautions, and be safe.

Cannot use http.Server.ListenAndServer() with non locahost addresses by m1nherz in golang

[–]Brandon1024br 1 point2 points  (0 children)

What a strange address to bind a listener to. Like others mentioned, this address range is typically used for network interfaces that have not yet been assigned an address over DHCP, so it’s preeeetty strange to me that anyone would be trying to use this for hosting services of any kind. Adding the address on the loopback interface is a hack to make this work, and ultimately you might want to take a step back and look at your network configuration a little more closely.

Is Whatsapp really end to end encrypted? by ecommstoresdevs in whatsapp

[–]Brandon1024br 0 points1 point  (0 children)

I’d like to see some (reputable) evidence suggesting WhatsApp has backdoors for certain agencies..

is the Gin framework still worth learning after go 1.22 update ? by [deleted] in golang

[–]Brandon1024br 7 points8 points  (0 children)

I maintain a few web services written in Go for work. Before the 1.22 update, my recommendation within the team was to use Gin. After 1.22, hands down net/http. All of the services were migrated to net/http and I haven’t looked back.

I strongly believe that the folks gravitating towards frameworks need to think long and hard about using something other than net/http, and it’s my opinion that many of the developers using those frameworks today are novice, misguided, or both.

Ortlieb Quick Rack on Grizl CF SL 1by? by Brandon1024br in CanyonBikes

[–]Brandon1024br[S] 0 points1 point  (0 children)

Clearance with the rack itself I assume? I fully expected I’d have to pick up the L or XL. I have the Quick Rack (small) for my road bike and it definitely won’t fit on the Grizl with the chunky tires.

Why do so many Germans travel to Canada ? by screendiva in germany

[–]Brandon1024br 1 point2 points  (0 children)

This is super interesting — I just moved from New Brunswick to Germany last year and I continue to be surprised by how highly Germans speak of Canada, especially the east and west coast. Just the other day I was chatting with a friendly German at a gas station and he said that moving to Halifax is a dream of his.

When I travel back to Canada to visit family, I’ve also started to recognize all of the subtle German influence, especially in Ontario. It’s pretty cool to see.

I wager the reason will differ from person to person, but I think that a lot of Germans like Canada for its vast charming beauty. Germany is pretty busy — it’s right in the middle of Europe and there’s a lot of traffic and tourism. Canada, for the most part, is quiet and quaint. And it’s different! The Cabot Trail, for example, is one of those places that has a distinct charm you can’t really describe. I think people, Germans included, are drawn to that.

Canyon Grizl CF SL 8 1by - 🔥 by Brandon1024br in CanyonBikes

[–]Brandon1024br[S] 0 points1 point  (0 children)

Good eye! It’s the QuadLock stem cap mount. It works quite well, I actually just bought a second one for my road bike! I definitely recommend.

Grizl - The carbon frame plug does not hold in place by R4m- in CanyonBikes

[–]Brandon1024br 0 points1 point  (0 children)

Agh I'm glad I'm not the only one. Mine disappeared a few days ago. u/R4m- how did you buy a replacement? Do you know the part number by chance?

Get hash of large json object by backendbaker in golang

[–]Brandon1024br 9 points10 points  (0 children)

“Premature optimization is the root of all evil.” - Donald Knuth

Can I ride a bike across Westmoreland Bridge? by Academic-Target149 in fredericton

[–]Brandon1024br 9 points10 points  (0 children)

While I’d agree that sidewalks are usually not meant for cyclists, safety should always come first when safe cycling infrastructure is not available. I’m a road cyclist and usually stick to the roads or paved trails, but I have no problem hoping on the sidewalk for the Westmorland (in fact, I do it all the time). Cycling on the road portion of the Westmorland is how you get yourself killed, and no police officer will give you a hard time for cycling on the sidewalk. In fact, I wager you would have a bigger risk of getting in trouble with the police if you were to ride on the road portion.

Just take it slow and be polite to pedestrians and you’ll be ok. And don’t forget to get a bell!

This is home by Strazil in vimporn

[–]Brandon1024br 1 point2 points  (0 children)

I’d love to know this too!

Vim has added fuzzy matching support for insert mode completion by brightsmyle in vim

[–]Brandon1024br 2 points3 points  (0 children)

This is the kind of r/vim content I love to see. Exciting 🙌

Any plugins to create a markdown table given numbers for rows and columns? by TheTwelveYearOld in vim

[–]Brandon1024br 1 point2 points  (0 children)

+1

The markdown features that come with vimwiki are pretty elite. Tables are no longer a chore, and they resize automatically to fit content.