8,890 karma · joined Jun 15, 2007 (19y ago) · 2,224 submissions
comment 11y ago · link · parent
Thanks for pointing this out.
comment 11y ago · link · parent
I've used fabric and ansible to push configs out to small sets of hosts; and yes assumed that the sensitive bits were OK sitting on the filesystem of the production host. Since if an attacker had access to the filesystem there would be more issues and I'd have to invalidate those credentials anyhow.
At a larger scale you'll want something like etcd or consul or even just a centralized key server that new instances call and ask for their configuration.
The thing is that anything predicated on HMAC secrets is vulnerable to those secrets being exposed. The secret has to be in the clear at some point to perform authentication or signing and a sufficiently determined attacker will be able to get that string.
A system is only as secure as the humans running it can confirm it to be secure. This is why it's best to reduce your attack surface and ensure that you can log access and do process inventory and egress filtering and the whole checklist of prevention, detection and remediation. There is no magic pixie dust that will make your system fully secure; you will always be making tradeoffs and managing risk rather than eliminating it.
comment 11y ago · link · parent
What I do for most projects is keep the tree containing the working directory in a directory that has some other items that don't belong on github (like the project brief, my emacs bookmarks file, random notes related to the project etc. ) and in that directory there is a .credentials file containing a set of export statements somewhat like:
export AWS_ACCESS_KEY=XXXXXXXXXXXXXXXXXXXX
export AWS_SECRET_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
export AWS_USER_ID=############
If I'm feeling extra paranoid, I'll encrypt that into a blob that I only decrypt when I'm working on said project.Then at startup the app goes looking for it's config in the environment. This does create issues for some environments ( solving this for docker is trivial ) but you can usually pass environment variables to whatever is executing your code reasonably securely. Now it's not perfect, and environments can sometimes be revealed externally if an attacker is determined and clever and focused on your app for some reason.
But it does give you a hygienic procedure that keeps your credentials that are equivalent to an open draw on your bank account out of public repositories.
comment 11y ago · link · parent
That said, I can't see the advantage to any one player in taking out Washington DC unless they can shift attribution to someone else. I mean the small crazies (DPRK etc.) might want to do so but have to know that even success would be fatal to them. And the big crazies (Putin, the Ayatollahs, whoever's really running the show in China) would be too concerned about the consequences.
Not saying it couldn't happen, but the odds are, any entity capable of carrying out such an attack successfully has enough to lose that they would be dissuaded from doing something that would have extremely unpredictable consequences.
comment 11y ago · link · parent
alt.sysadmin.recovery
And next you'll be telling us that http://bofh.ntk.net/BOFH/index.php isn't fiction/satire/parody.comment 11y ago · link · parent
I can think of three or four ways to defeat even a relatively sophisticated attempt to do so in an automated manner. And if you're going to make money off selling secrets, what could be better than selling the same thing to a dozen purchasers each of whom thinks that they have an exclusive on the deal.
comment 11y ago · link · parent
Map political science onto the sandpile model [1] to get a first order approximation of the framework of analysis I'm using from a macro perspective. On the micro level of individual perception; what matters isn't merely the perceived lawlessness of the elites and of the guardian castes, but the growing sense that "If you play by the rules; you're a sucker." And depending on your level of investment in the current order that sense can be a powerful motivator to working around limits that were introduced to promote institutional stability.
And if most peoples reality is that the ruleset they're working off of is largely economically workable only because it's technically illegal... that's inherently unstable.
comment 11y ago · link · parent
There won't be an announcement; but once that threshold is crossed events begin to move rapidly and forcefully and do not stop until a new arrangement of powers is found that society can scaffold itself upon. Who knows what will be the stable state of a world seeded with the idea of networks and knowledgable in their subversion and subornation.
comment 11y ago · link · parent
comment 11y ago · link · parent
Because:
a. Established interests profit from the current arrangement or worry that their interests will be compromised if things chang.
b. Our system is set up to resist rapid precipitous radical change.
c. Changing institutions takes a long time and requires much political will, or at least alignment with social forces in play.
d. Change has costs; even if the existing system is wasteful, dysfunctional and cruelly indifferent to the pain it causes to some subset of the people in contact with an institution. The costs of changing that institution are unknown and unknowable and the argument against from fear of the unknown will always have weight with decisionmakers.
e. Institutional change always has winners and losers, and often the ones with the most to lose are close to but not at; the top of the hierarchy.
That's the short version. The long version involves quantitative social science and figuring out which nodes of the power network have the capability to drive change and which must be routed around to effect change and which ones are likely to be obstacles to change. Modeling the political economy of even a small institution is a considerable effort; and since it's hard to get people to precisely quantify their biases and predilections even if they are cooperative; a large amount of it is guesswork or inference from extremely thin sources ( like trying to divine someones political allegiances based on the corpus of emails that are sent to internal mailing lists ).
And since Psychohistory is bunk, there is no plausible way to predict second or third order effects ( the response to the response to the change you are trying to achieve if it were successful ).
There are only a few organizations that have the mathematical ability, computational power and access to significant communications between decision makers to even attempt to do this at scale. In fact I can only think of one that could attempt to do so at a global scale; and it's a TLA whose initials start with N, end with A, and have an S in the middle. But they wouldn't try to manipulate their host society like that; or would they?
comment 12y ago · link · parent
This is yet another example of the rot that is infecting the legitimacy of our government. There is no excuse for this, the patent office could plausibly suppress some patents on the grounds of national security but on the grounds that they might "draw public attention"; come on. Tell us again how this system betters us all and doesn't just exist to keep todays winners on top tomorrow?
comment 12y ago · link · parent
I'm in favor of Postgres, I make my living in large part from my expertise with it; but it rubs me the wrong way when people downvote an informative comment covering someone's experience where it didn't happen to be the right tool.
no_future I apologise to you for the poor reception your comment got from immature people who don't understand how to discuss things and who cannot handle new information. This did not used to be representative of the community here.
comment 12y ago · link · parent
The thing is as a society we have plenty of resources and could enable most people to live with at least a minimal level of stability and security. But we don't want to. We've decided that our greatest economic centers work best when they're seething rat piles with the King Rat being pulled down and replaced every so often.
comment 12y ago · link · parent
This would make the campaign more entertaining, and if it came down to her and Hilary; that would be a historic horse race of epic proportions.
On the con side:
This is someone who wrecked the two companies she was in charge of ( Lucent and HP ) and who has a consistent history of being able to fail upwards.
My take:
If the republican party can't field a better candidate then they aren't going to be holding the white house any time soon. Sarah Palin was a joke, but Fiorina could be quite dangerous as someone who's good at acing the interview but chokes when it's her turn to bat.
comment 12y ago · link · parent
But it's more complex than, say the french nobility in the 18th century since there is no central authority and access to the peerage is explicitly obscured ( there is no nobility in America ) and although it is certainly possible for individuals to lose favor and fall out of the elite ( Bill Cosby this week ). It's worth remembering that the prime threat to Aristocrats has always been other Aristocrats aside from the occasional epic convulsion like the french revolution or the english reformation.
Given the current state of affairs, America looks most closely parallel to pre-renaissance Italy. Although if Jeff Koontz is our Michelangelo; perhaps we don't deserve our empire.
comment 12y ago · link · parent
Journalists who participate in "access journalism" get invited to off-the-record dinner parties and yachting weekends.
Journalists who ask hard hitting questions in the public interest tend not to be invited to the intimate soirées of the elite.
While there are very occasionally ethical reasons for a journalist to talk to a source off-the-record they are not going to occur in convivial social settings.
comment 12y ago · link · parent
This is why simple.com is a friendly front-end for an existing financial institution and not a bank in it's own right.
comment 12y ago · link · parent
Typically one per natural key in the document set ( present in and unique to each document ) for queries that are using that key and then trigram indexes on fields where you're doing partial string matches.
If you're going to be doing random queries against the entire contents of the document you'll probably want to add a full text index.
Like so https://gist.github.com/laprice/90ea359c4f4dcd99e9f2
comment 12y ago · link · parent
The churn at the top is the best explanation I can find for some of the policy reversals we've seen (3rd party clients in, out, in again maybe sort of) and the somewhat random approach to business strategy. Twitter's core audience is a very desirable demographic but not one that's really going to react to in-stream adds at all positively. But twitter doesn't do some of the clever things it could with the firehose; and certainly doesn't use it to create secondary products that would be useful enough that businesses would pay for them.
comment 12y ago · link · parent
The fact that these bullet casings are milled out of steel rods isn't that big of a deal, if you have the right CNC mill you could automate that too.
Despite the antics of defense distributed I don't think printed guns are that big of a deal in and of themselves, but the idea that someone could be creating untraceable weapons is the worrisome part.
It wouldn't surprise me if the moral panic over custom fabricated guns were used to build support for DRM requirements on mainstream printers. But the push for controlling fabrication technologies is going to come from established economic interests wanting to keep extracting rents from the rest of us, regardless of the fact that the realities that created their business models have changed in fundamental ways.
And just wait until molecular fabrication technologies become cheap enough that average people can generate any molecule they choose just by picking it from a catalog. That's when the sewage overflow will really intersect with the turboprop intake.
comment 12y ago · link · parent
1. As a commodity becomes scarcer it's price tends to go in which direction?
a. up
b. down
As this is an open internet test you may wish to refer to http://en.wikipedia.org/wiki/Supply_and_demand for the answer.
comment 12y ago · link · parent
Data is replicated, no item exists only in one place.
Data is shared, shareable and in formats that can be operated on both by the owner and by the user, the visitor, the renter, the spectator of the items in question.
Data is encrypted, watermarked, tagged, associated to immutable provenance histories.
Data is ephemeral, guaranteed to be forgotten, subject to erasure, intended to be unrecoverable once used.
The network is reliable. The network is unavailable. The network is on the side of the people. The network will stab you in the back when you least expect it.
Some programmers will insist on writing javascript to control medical devices. Some programmers will insist that casual games running in sandboxed environments be provably correct.
Someone will cobble together an AI and set it to rewriting enterprise java apps, when interviewed after the disaster the AI will claim that humanity "had it coming".
A software bug will start a small war. And a EULA clause will end another one.
You will be completely transparent and documented for everyone else to see. You will not have sufficient permissions to find out anything about anyone with any power over you.
Most applications will incorporate blockchain technology; but bitcoin will be the subject of jokes and nostalgic pop culture trivia questions.
It will be the best of times ( for some ), and the worst of times ( for others ).
comment 12y ago · link · parent
In this case an establismentarian would be presumed to be anyone who favors the current order of things; whether it be a democracy, a cryptocracy or a kakistocracy.
So, yes. A statist shill.
1. http://en.wikipedia.org/wiki/Antidisestablishmentarianism
comment 12y ago · link · parent
Young, wealthy, privileged people like the majority of the audience of this site have no concept of how easy it is to fall through the cracks and lose everything.
And the problem of poverty and homelessness is only going to grow. The majority of Generation X has NO Savings for retirement [1] and what do you think will happen to them?
And in fact one of the cities having an epic and fairly invisible homelessness problem is San Francisco [2].
There may be a very small minority of people who choose to be unhoused; but they are generally not the problem.
1. http://rall.com/2014/10/13/syndicated-column-millions-of-gen...