Better HN
topnewbestaskshowjobs
Log inSign up

codys

1,284 karma · joined Oct 6, 2011 (15y ago) · 430 submissions

podcast-again-1k@icloud.com
Submissions

comment 10y ago · link · parent

By "certify", GP might mean "certify under penalty of perjury", where the specific wording (which would probably need some notes about certifying they had verified their ownership) is strict enough to give one a bit of legal ammunition against false complaints.

comment 10y ago · link · parent

And which "one way" is that?

comment 10y ago · link · parent

Eh? That dis output doesn't really tell us which is more efficient. To know that, you'd need to know how `COMPARE_OP` works for each of it's arguments, which is what @Negative1 believes will be not-as-efficient (along with range creation).

This output doesn't really provide any clarification.

comment 10y ago · link · parent

> aside: manufacture software? facepalm

This is likely to make it less obviously a 1st-amendment issue.

Saying "authors of software" makes it a fairly obvious restraint of speech.

comment 10y ago · link · parent

I found this most surprising:

> As you’ll recall from page two of your Building a Multithreaded Kernel textbook, when a high priority thread waits on a lock, it’s supposed to gift its priority to the lock holder to ensure progress is made. We (I) never quite got around to implementing that, and for several years it seemed we just might get away with it. The history of rthreads is pretty much maybe tomorrow, maybe not.

It sounds like OpenBSD has gotten away without having priority inheritance for most (all?) of it's history.

comment 10y ago · link · parent

Using a gcc plugin to instrument code for AFL sounds interesting (and generally useful for speed). Does anyone know if this plugin's code is available anywhere?

comment 10y ago · link · parent

Looking at the issue tracker ( https://github.com/golang/go/issues?q=is%3Aopen+is%3Aissue+m... ) looks like a windows DLL preload attack & another unspecified bug (currently a placeholder).

If we take a look at the release branch though, it appears it might be crypto related: https://github.com/golang/go/commits/release-branch.go1.6

https://github.com/golang/go/commit/4afe4c803ec378d7a0d7fbc3...

https://github.com/golang/go/commit/2d8ecac3d0dbceed8830a43a...

comment 10y ago · link · parent

> If you don't have the skills to do basic verification of a non-obfuscated binary, you don't have the skills to verify an encrypted messaging protocol implementation from source either: the latter task is harder than the former!

Those aren't quite the same skill though. Some folks could have the skills to verify protocols from source, but not the skills to work with a non-obfuscated binary. Task 'A' being harder than task 'B' doesn't mean that everyone who can do 'A' (harder task) is capable of 'B (easier). Nor does the inverse follow at all.

If we admit that doing basic (non-messaging protocol impl) verification on a binary is difficult and doing messaging protocol impl verification is also difficult, it seems reasonable to presume that doing both will take more time, work, and as a result, allow for more errors in verification.

Essentially, verifying impls without source code is more difficult/time consuming/error prone than verifying ones with source code.

Of course, they could give someone the source code to verify without making it open source. But that requires that one trust this other party, selected by folks who have an interested in their protocol being reported as secure (whether it is or not).

The goal when folks are looking for freely available source code is to eliminate some of those needs for trust (by allowing a greater number of verifiers) and eliminate some of the conflict of interest (by removing some control the interested party has).

Sure, closed source bits that promise to be good and that we can (potentially) look at are OK. But having source code for them is still better.

comment 10y ago · link · parent

Looks like parallel's shared filesystem (linux guest, osx host) fails the test:

    % ~/g/git/git-update-index --test-untracked-cache
    Testing mtime in '/media/psf/Home/Downloads/junk' .
    directory stat info does not change after adding a new file

comment 10y ago · link · parent

> several centuries ago

> tens of thousands of years ago

This appears to be blatantly moving the goal posts.

> those first 5% of people who ever lived represent the 5% of the time we expect to be wrong

This implies that for only 5% of human history the calculation would be wrong, and the reset of the time it would be 100% correct.

I'm not sure that is how statistics work.

comment 10y ago · link · parent

Yes, we call those marks "permissions". Most operating systems have them. The problem is putting the right process in place around using them.

comment 10y ago · link · parent

VLAs provide a very useful way to avoid making temporary allocations using malloc()/free(), allowing (generally) better speed & avoiding leaks.

Why do you believe they are a mistake?

comment 10y ago · link · parent

> It’s not as simple as just changing the signal. In order to change it out and modernize, you need to update the entire system.

Does anyone have any idea why this is? What prevents new signals from being backwards compatible with the old system?

And if this were true, wouldn't all of the signals need to be the same hundred year old type? How would line extensions ever be able to be done in that case? Is the system segmented in some sense? If it is segmented, what prevents further segmentation to allow incremental updates of the signals?

comment 10y ago · link · parent

The "prosecutors" of the title are the ones who were "authorizing" (along with a "single state court judge").

This is a voluntary reduction. Neither the judge nor the prosecutors authorizing the "likely illegal" wiretaps have been charged with any wrongdoing.

There is nothing in place to prevent a similar thing from occurring again.

comment 10y ago · link · parent

If one gives a locked safe to someone else for safekeeping, do they really expect the keeper to break open the safe and search through the contents?

I don't think 3rd party doctrine is really a good idea if the above is OK.

comment 10y ago · link · parent

Gates disputed those reports, but he never states he doesn't support the FBI in this case.

I think the key take away from that video is:

> Gates: With the right safe guards in place there are cases where the government, on our behalf [...]

He also dodges the direct question about his position entirely.

He's not trying to make his position very clear, but he is certainly angling to support the FBI's position. Lots of references to terrorism in that interview.

Edit: from a PR perspective, this does make a lot of sense for MS: use a board member/someone closely associated with them to probe the public's position, then give the public some assurance to ensure they don't all leave for Apple, while at the same time allowing the state to see that MS's support of Apple in this case isn't concrete.

comment 10y ago · link · parent

This is an interesting thought to consider. I'd note that there are people who aren't very happy about the present state of SWAT team usage, prosecuting folks in such a way to require plea deals, and other excesses in the state's exercising of it's powers.

On a specific line:

> If your objection to this is [...] you are also arguing that strong encryption [...] should not be allowed for public use

This is a false equivalence: asking for restrictions on the state is not equivalent to asking for restrictions on the public.

Also in general, there is no requirement to make "digital violence" the same as "physical violence". The state's use of violence is restricted by law, I don't see a reason the forbidding of "digital violence" would fall outside the legal framework already established.

comment 10y ago · link · parent

Lots of things become possible once one is willing to decap ICs to get at the internals.

I'd expect security consious parts (ie: all of the theoretical "loader A") would need to run in SRAM (ie: ram that is in the same IC and thus harder to get at than external DRAM chips) or some other mechanism.

At that point, it becomes a question of physical hardening within the ICs. Some manufacturers have done things like put metal layers over fuses (to prevent them from being changed), I'd imagine the same could be done (at some cost) for a larger area of the chip. I'd imagine HSMs (hardware security modules) and TPMs (though these aren't as good) probably implement some of that. There also exist some chips targeted towards security purposes (not aware of any processors off hand) that could be used .

comment 10y ago · link · parent

> Assuming this updates the loader

It doesn't. The model I presented presumes that it is unchangeable.

> anyone with physical access for five minutes can permanently brick the phone, without opening it

Pick one:

- you can always get your phone working, even if you forget your key & only you can apply updates to any software on the phone. Anyone can replace the loader (but this wipes all other data).

- you can always get your phone working, even if you forget your key & only a third party can provide new versions of the loader.

- if you forget your key, your phone is permanently bricked.

> Also, how can loader A modify itself?

It can't.

In general though, it's fairly straight forward to have code copy itself into ram & run from there while overwriting it's source. The problem is that opens the potential to brick the phone (just like any method that allows updating the loader).

To avoid bricking in all cases, one _must_ assume that there is some un-replaceable software (or hardware mechanism to start software).

comment 10y ago · link · parent

I believe the parent comment was referring to "allowing updates of the OS without requiring either unlock of the device or a wipe of stored data" as the backdoor.

comment 10y ago · link · parent

This really isn't difficult to do:

- loader A stores a (PubKey,NextLoader) and has the ability to blank (via actual blanking or deletion of an encryption key) the entire device.

- loader A provides a new-key(PubKey,NextLoader) method which blanks the remainder of the device.

- Loader A also provides a update-loader(NextLoader) method that doesn't, but also doesn't update the PubKey. Before accepting the new NextLoader, it verifies it against the stored pub key.

Could also allow things like updating the PubKey if the update is signed by the previous PubKey

Spec presumes only access is via the loader A api, PubKey would really need to be stored somewhere safe (HSM, TPM, etc) to discourage direct hardware access.

Probably also could use the PubKey to encrypt the NextLoader.

New phones ship either:

- without a pubkey or next-loader, and require initial provisioning to do anything (fairly inconvenient)

- ship with a flag set that prevents updating the loader, ie: requires updating the key (less secure, probably need to specify further how this occurs to avoid the security hazard from un-updated phones from being too great).

comment 10y ago · link · parent

I'm not distributed systems expert, but I don't see any attempt at responding to:

> 1. Distributed locks with an auto-release feature (the mutually exclusive lock property is only valid for a fixed amount of time after the lock is acquired) require a way to avoid issues when clients use a lock after the expire time, violating the mutual exclusion while accessing a shared resource. Martin says that Redlock does not have such a mechanism.

The section "Distributed locks, auto release, and tokens" talks about why Martin's solution isn't right (I'm not well-read enough to tell if that argument is correct), but never actually argues that Redlock has a mechanism to avoid violation of mutual exclusion due to timeouts.

Perhaps I'm missing some background here: does such a mechanism exist?

comment 10y ago · link · parent

For many projects (that aren't depended on by other projects), adding versions in Cargo.toml is just more work without payoff. Specifically, if one is already shipping Cargo.lock (in a way that it is used), `cargo update --precise` (in some form) allows the same granular control.

I'd also note that while theoretically restricting versions works, in practice having multiple versions of a single crate within a rust project often leads to build failures due to crate A having a public API that uses types from crate B, and crate C using both, but not getting the same version of B that A got. This leads to type errors at build time.

comment 10y ago · link · parent

> Instagram a non-exclusive, fully paid and royalty-free, transferable, sub-licensable, worldwide license to use the Content

Does "sub-licensable" not allow the "partners" you speak of?

comment 11y ago · link · parent

It always feels funny to me to refer to the ISM bands (the spectrum itself) as "unlicensed".

- Devices operating there have to be approved

- There are rules about how the devices work

- There are rules about how the _operator_ is allowed to operate the approved devices ("Operation is subject to the following conditions" sticker on most equipment).

(all of this under FCC part 15 rules)

comment 11y ago · link · parent

Not in sales, but:

Author expects interviewees to "tell you what you want to hear", recommends requiring their W-2, admits that companies oversell themselves too, but doesn't appear to offer the interviewees the same insight into company data, expecting them instead to "probe for related information and same truths 20 different ways".

Maybe I'm just a bit cynical (or not familiar with how sales works), but it seems that this is a mechanism to give an interviewer more cards.

That said, it is an article from an interviewer's perspective, so I suppose that's a bit expected.

comment 11y ago · link · parent

why?

comment 11y ago · link · parent

I suppose I just disagree with the sentiment that "something is pretty bad already, so we should allow regulation to make it worse".

I don't think that is a good idea.

Right now, not all control is given to the WiFi firmware (where it exists), but I don't expect the situation with regards to WiFi firmware and open source will improve at all with the FCC adding more requirements.

comment 11y ago · link · parent

Immediately assuming we must give something up is a poor way to proceed.

If we had made that assumption in the past, the clipper chip[1] would have been a "success". After all, the NSA doesn't care about software freedom either.

[1]: https://en.wikipedia.org/wiki/Clipper_chip

comment 11y ago · link · parent

It'd only be problematic legally to ship GPLv3 (or similar) licensed software. v3 adds language mandating that the software be replaceable.
1
1112131415