Better HN
topnewbestaskshowjobs
Log inSign up

SiebenHeaven

43 karma · joined Feb 28, 2019 (7y ago) · 26 submissions

Submissions

comment 4y ago · link · parent

Thanks for the pointer to your interesting paper.

My understanding is that TLS spec did not enforce non-repeating nonce, only suggested it and left it to implementers to decide which led to the vulnerabilities you explored.

This Samsung one here is in a way similar - the TEE API had a way for users of the API to set IV which it should not, TA should make sure the IV is not repeated.

Since you have done prior research in this area, is using a counter for IV still recommended even when IV is 12 byte? I assume chances of HW random number generator (which I assume exists on most phones today) colliding for 12 byte random number generation would be pretty low.

comment 4y ago · link · parent

I am pretty surprised how they allowed reusing IV. Unique IV is explicitly mentioned to be an assumption for AES GCM (first sentence in security section of AES-GCM wikipedia page)

How could anyone design TA (i.e application whose whole point is security and hence it runs in the secure mode) and allow user to set IV in the API?

comment 4y ago · link · parent

"We do not break the userland"

comment 4y ago · link · parent

Great article, I'm bookmarking it so I can point to it if and when required ;p

comment 4y ago · link · parent

Question is would we really get any benefits by this - compilation would take longer by some x amount which may or may not be less than the time linking step takes currently.

comment 4y ago · link · parent

If you have looked at rust, you would understand that "Written in Rust" means something more than just the face value. Written in Rust means that there will be less memory/concurrency bugs due to the language itself ruling out classes of those bugs and that is a feature that I would definitely care about in any peice of software I use.

comment 5y ago · link · parent

Most commonly used software such as browsers can abort on OOM, this isn't about those cases at all. In conditions that you do not want to abort, usually you can and would want to allocate pool before hand.

comment 5y ago · link · parent

Ah yes, modern git for people using modern c++ If your plain old git works fine for you, there is no need to go looking for modern git IMHO.

comment 5y ago · link · parent

Won't turning js off make you one of the few people in the world that do this and hence easier to fingerprint?

comment 5y ago · link · parent

This is the real question. Especially for vaccines that mimic the spike protein to make another attenuated virus look like a coronavirus.

comment 5y ago · link · parent

A ASUS phone (zenfone 2) had this hardware superresolution feature you are talking about

comment 5y ago · link · parent

So ... Microsoft has a a threat modelling tool. Wonder if it existed and used when these designs were made.

comment 5y ago · link · parent

Excellent example of why one should attempt to limit attack surface.

comment 5y ago · link · parent

Why do you say that? (genuine question)

comment 5y ago · link · parent

If you squint hard enough, deep learning can be seen as programming. A computer (human) is used to train a model (write and compile a program). The generated model (compiled program) is then used for inference (ran) on target machine with new input data.

comment 6y ago · link · parent

On second thoughts, maybe I underestimate developer productivity?

comment 6y ago · link · parent

Fair enough, however I don't get how this ties up to "high speed trading systems". It can be said to be a general developer productivity advantage, not an advantage from technical perspective for this specific domain (which is what I thought the article was about and why I clicked the link)

comment 6y ago · link · parent

Seems like bending over backwards to use Java. If you are using Java in a c-like fashion, what's so bad with C++ which is c-like by default and has some Java-like features?

comment 6y ago · link · parent

Or you could get fzf innyour current shell for most of the features (the command history search, file preview/open, etc). Familiar syntax is a big plus though, a point on which most shells leave a lot of desired.

comment 6y ago · link · parent

I think there's an option in settings to select the primary display - if you set that to the external display, theoretically it should work. My laptop stops sleeping on lid close with this.

comment 6y ago · link · parent

Beware, there is a sign-in wall on this "free" introduction that comes up after a couple of topics. Edit: this seems to be the case only on the mobile version

comment 6y ago · link · parent

There's thousand such threats to humanity that need to be prevented even right now. The real problem is determining which threat is real and prioritising. Think of it like you are a celebrity. You recieve thousands of threats daily, most of these are just threats which will never realise. The problem is identifying which ones will and acting on those to prevent them.

comment 7y ago · link · parent

Seems significantly slower to me on my 3G network compared to hn

comment 7y ago · link · parent

They have video conferencing/video calling software.

comment 7y ago · link · parent

Are these as performant/optimised in terms of time and space complexity as they can be?