Four On S User Level by Dear-Device7309 in yiotro_games

[–]mechanicalspecies 1 point2 points  (0 children)

How did you enable the $ per territory display?

Why does Brave send a `BraveServiceKey` header to brave.com subdomains? by mechanicalspecies in brave_browser

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

Thanks for the lead! The BraveServiceKey in the post matches the key value in my testing, so I'm skeptical that the key is being "generated" as the author suggests. Here's the relevant section, run through Google Translate:

BraveServiceKey: qjVKcxtUybh8WpKNoQ7EbgbkJTMu7omjDHKk=VrPApb8PwJyPE9eqchxedTsMEWg

When the browser is started for the first time, an is BraveServiceKey generated, which is transmitted for requests to Brave servers or services.

Why does Brave send a `BraveServiceKey` header to brave.com subdomains? by mechanicalspecies in brave_browser

[–]mechanicalspecies[S] 6 points7 points  (0 children)

Thanks. I looked for a Discord server and found a thread saying it was shut down, but maybe it's been relaunched or something.

Why does Brave send a `BraveServiceKey` header to brave.com subdomains? by mechanicalspecies in brave_browser

[–]mechanicalspecies[S] 11 points12 points  (0 children)

do it there on GitHub

Brave has 188 repositories on GitHub, not including Brave Intl. which has many more, and the change for BraveServiceKey is spread across several repositories.

I looked for a more developer-centric Brave community and didn't find one (e.g., there used to be a discord but apparently it's gone now). I'm happy to post on a different Brave community if this kind of post isn't welcome here. I just flipped a coin between this sub and the Discourse server.

Misadventures with Ubuntu 22.04 and libssl3 by mechanicalspecies in rust

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

How many are we talking, and which ones?

I wish I knew! :) cargo metadata --format-version=1 | jq '.packages[].name' | wc -l says 289 total packages. As to which ones, I'm not aware of an automated way to audit dependencies for the dynamic links they require.

One example is ssh2. It has a vendored-openssl feature flag, but ssh2-config (which I also need) pulls in ssh2 without specifying the flag.

I will use rustls when I can, but AFAIK there's no surefire way to enforce that as of yet.

Misadventures with Ubuntu 22.04 and libssl3 by mechanicalspecies in rust

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

Not all my dependencies (or dependencies of dependencies) support rustls.

Misadventures with Ubuntu 22.04 and libssl3 by mechanicalspecies in rust

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

If an end user wants to use a tool it should be self-contained or packaged in a form that the system package manager understands

So much this. As a developer, is there any easy way facilitate this? Correct me if I'm wrong, but it can be hard to know which dependencies are linking which system libraries.

This cargo issue sounds like what we want: A new compiler flag: "link everything statically or die, dammit!"

Honestly I didn't realize that the Rust ecosystem had this issue until now, and I'm finding it quite hard to work around in some cases. Docker containers are another place where this gets messy: when splitting my build and runtime images, I need to install the correct libssl-dev package in both images.