Better HN
topnewbestaskshowjobs
Log inSign up

staticassertion

13,486 karma · joined Jun 1, 2016 (10y ago) · 4,896 submissions

@insanitybit
Submissions

comment 5y ago · link · parent

It's more than that. "FancyBear" is not a random name.

comment 5y ago · link · parent

I don't think you can be too paranoid about container escapes. We actually don't consider containers to be a reliable security boundary - we take it where we can, but if we need real isolation it has to be combined with another approach.

comment 5y ago · link · parent

It's an extremely weird looking truck with terrible marketing and a hilarious meme of its window shattering repeatedly. It'll be an incredible uphill battle to sell that thing imo.

comment 5y ago · link · parent

(1) seems best solved by having a 'on heavy task, publish to a secondary topic'. This is good if you have flaky messages that need to be retried in the background, without blocking all of your 'good' messages.

(2) this problem should be avoided in general by just having idempotent services. Just as a hard restriction, forever, build services to be idempotent. It should be the exception to have a non-idempotent service, and it should be carefully understood.

That said, if you have (1) as a consistent issue, like if every message is flaky, kafka isn't the right solution. Postgres-based queues are perfect for this because you can examine the table as a whole, making more informed decisions about what you want to process (or not process).

comment 5y ago · link · parent

If you're hosting someone else's code.

comment 5y ago · link · parent

For those using firecracker, what's your method for building a rootfs?

comment 5y ago · link · parent

Why is that preferable over a system that's just... mutable.

comment 5y ago · link · parent

> Traditional vegetarian diets allow for eggs. Vegetarian and vegan mean different things.

Yes... I'm aware. That's why I said vegan.

> Your extremist attempt to go from presumably a meat-centered diet to absolutely no animal products at all is not really a counterpoint to anything I've said.

Your post was hardly a formal argument to be taken down through rigor. You said you don't "get this trend", saying that there are already good vegetarian meals. I explained that I would like more vegetarian meals to replace things like eggs.

If you think this wasn't a "counterpoint", examine your own post first.

comment 5y ago · link · parent

I like meat. It sucks, because I recognize the ethical implications of eating meat. I tried being vegan briefly and I dearly missed eggs.

Saying "existing vegetarian food is good enough, let's not see what else we can do, everyone should just get over it" seems a bit silly to me.

comment 5y ago · link · parent

The various ZKP approaches are considerably more complex to implement properly vs the trivial approach of a client side hash. There are obvious tradeoffs, of course, but I wouldn't fault someone for an additional hash step on the client.

comment 5y ago · link · parent

This is such a stupid way to think about it ("but what even IS malware") and you're obviously completely ignorant as to how threats like phishing are handled.

comment 5y ago · link · parent

It's their service, you host content on their terms already. Of course they have the right to remove content that does not comply with their terms.

comment 5y ago · link · parent

Sure. They provide a service, that service is being used as a vehicle to do harm.

> especially in light of the downsides of them having that responsibility/power being as large as they are.

No clue what you're referring to. They almost certainly already do this, they may just be doing it badly.

comment 5y ago · link · parent

Cloudflare has an ethical responsibility to moderate malicious content on their platform.

comment 5y ago · link · parent

> - no mechanism for synchronous access to actors

That is presumably intentional, since if you could access actor state synchronously it wouldn't really be much of an actor. This sounds a lot like a "doing it wrong" kinda problem.

> (but without compiler validation of resource sharing at this point in time)

Not sure how you'll do this without garbage collection (like reference counting, which is what Pony uses iirc).

Honestly I suspect if you continue forward you'll probably walk away with much more appreciation for Pony's design decisions.

comment 5y ago · link · parent

Yeah, that's a tradeoff for sure. Until they find a way to fit a biometric reader into a 'nano' form factor at least.

comment 5y ago · link · parent

Given that they're limiting the number of them that a given customer can buy I suspect that the price is in part the supply.

comment 5y ago · link · parent

Have you asked them to? I've sent support requests to every vendor that doesn't support U2F with the hope that if others do the same it may get bumped up.

comment 5y ago · link · parent

Yep, super annoying, AWS doesn't allow you to register more than one MFA device.

comment 5y ago · link · parent

The Bio series does not support PIV/PKCS#11 at this time afaik

comment 5y ago · link · parent

> I haven't used FIDO. If you lose your FIDO key, do you have the option of buying another one and making it authenticate like the original without having to inform all the servers of the change?

I think this is technically possible (some keys let you access the seed iirc, though the FIDO counter would not match) but not recommended. Instead you'd just register two keys so that if you lose one you have a backup.

comment 5y ago · link · parent

Importantly though it's a good single factor. Passwords aren't good.

1. They get repeated.

2. They get phished.

Even just as a single factor, even without a fingerprint reader, a yubikey is far superior to a password. Adding a biometric on top of that is wayyyy better than a password.

Most of what MFA has done for us is actually just provide slightly better "A's". It's not the quantity that counts, it's the quality.

Previously to reach a good quality we'd need multiple factors. We've reached a point now where we have standards for authentication that are strong, often "strong enough", even with a single factor. A password then becomes a bit of a bonus.

comment 5y ago · link · parent

This looks like it might be a bit of an early testing-the-waters, or even a one-off to satisfy a specific set of customers (note that they're FIPS compliant only).

If there's more traction I would expect future models to include more features.

comment 5y ago · link · parent

FIDO keys are really more about avoiding human errors/ human auth. If you need to authorize a server you may want to just use a client certificate.

comment 5y ago · link · parent

Time to add an embedded EKG as another factor :)

comment 5y ago · link · parent

The backup would be another hardware token, ideally. Just one that isn't biometric. You would guard physical access to that token more closely.

Google's Advanced Protection Program enforces two keys, since they also make recovery much stricter.

comment 5y ago · link · parent

Without this model the attacker needs to steal the Yubikey. With this model the attacker needs to steal the Yubikey and pull a fingerprint.

It remains to be seen if that's a meaningful difference, but it seems reasonable that in some situations it could make the attack much more costly.

I could see myself using this when traveling.

comment 5y ago · link · parent

The one to unlock my Samsung Galaxy whatever-number-it-is works pretty consistently.

comment 5y ago · link · parent

Serializing is very fast, and ingesting JSON as a stream is trivial when it's newline delineated. No one emits a giant array of json log objects, they emit a stream of newline delineated json.

You almost certainly also have it in memory more than twice since you're copying a buffer out to IO.

If you care about record size use protobuf, compression, backend parsers, etc.

comment 5y ago · link · parent

Ultimately I guess the best solution here is something like intel PTT where the TPM is on-chip, or otherwise some sort of soldered shared secret / keys that the TPM and CPU have for encrypted communications over the bus.
1
767778
164