_phred | 2 years ago | on: Remove TypeScript
_phred's comments
_phred | 3 years ago | on: Apple HomePod 2nd Generation
_phred | 3 years ago | on: Apple HomePod 2nd Generation
_phred | 12 years ago | on: N.S.A. Foils Much Internet Encryption
Shor's algorithm is very tasty, but when the real world demonstrations at top research facilities are saying, "yes, we factored 21 into 7x3, but WITH ENTANGLEMENT"[1] it makes me think that scaling to RSA-size prime factors is still a good way off.
Listen, the US government is powerful, but building a full scale quantum crypto decoder ring in complete secrecy _decades_ ahead of everyone else? I just don't think so. Maybe I'm a sheep for not wanting to believe the government so powerful and corrupt, but the whole thing sounds like a tin foil fantasy.
I don't doubt they would if they could, though. And they've done as much as they can with present day tech: supercomputers, mass data collection, penetration of target systems, exploiting SSL's many weaknesses, tapping undersea lines, and legally strong-arming perceived threats into giving up their encryption keys. I just don't think we need to get science fiction involved.
[1] http://www.nature.com/nphoton/journal/vaop/ncurrent/full/nph...
_phred | 12 years ago | on: N.S.A. Foils Much Internet Encryption
In any case, you can choose a public key exponent large enough to still make it a hard problem to crack in a reasonable amount of time. Barring some huge vulnerability in RSA that hasn't been discovered in 30 years of public scrutiny, of course.
_phred | 12 years ago | on: N.S.A. Foils Much Internet Encryption
RSA has issues but as of yet hasn't yielded entirely to cryptanalysis.
As the article says, it's easier to attack the system and try to get the plaintext, or coerce you into giving up your key through legal means.
Edit: adding a link to Wikipedia's article on post-quantum crypto, it's a good place to start understanding how to answer these type of questions:
_phred | 12 years ago | on: Using Phones/SMS as 2FA – Why I am not a believer
http://www.wired.com/gadgetlab/2012/08/apple-amazon-mat-hona...
_phred | 12 years ago | on: Getting Docker to run on Linode
It appears to be a configuration management / deployment tool for KVM containers. New to me too, gonna dive in and check it out.
_phred | 12 years ago | on: Cryptography is a science, not engineering
It also illustrates a really key point about crypto: because it looks simple (oh, just run the bytes through that function/hash/send them over SSL), people assume that it is simple they know enough to hack together a decently secure system.
At the very least, a healthy respect of crypto theory is called for. In my experience most developers do not have this healthy respect and see crypto as a magic black box that makes data unreadable.
I find attacks on cryptosystems illustrative for the "oh CRAP" moment. Oh CRAP salted hashes are a terrible idea. Oh CRAP you can pad a hash to make a remote system accept "signed" data. The more I learn and the older I get, the more cautious I am.
_phred | 12 years ago | on: Facebook Releases Data, Including All National Security Requests
The idea that a company composed if hackers could have not a single whistleblower, no single person that objects so strongly that they must speak up regardless of their personal situation is betting against human nature. Nay, hacker nature.
Freedom ain't looking good nowadays, but this is not the vast conspiracy it may seem.
_phred | 12 years ago | on: iOS 7
_phred | 12 years ago | on: iOS 7
_phred | 12 years ago | on: You are dangerously bad at cryptography
As far as API vs. user account, it depends on the loot. An API might let me do more damage faster, or subtly lurk and alter/steal data over time. It might also be harder to detect from the UI, no "last logged in" giveaway.
Also, some API vendors recommend disabling SSL cert validation client side. Even for credit card gateways, unbelievably. Since it's a script talking to a script, no one is going to see the cert problems from a MITM until it's too late.
_phred | 12 years ago | on: You are dangerously bad at cryptography
And who's to say that your forum server (for example) is just as secure? That could be a foothold into your environment too. And let's not forget social manipulation of your staff and users. Maybe I'll just steal the machine in question, or your laptop.
After I try all those avenues, I'm either finding another target or ramping up for a protracted attack on your SSL connections.
If your site attracts this dedicated of an attack, you'd better get that high paid security consultant. ;)
_phred | 13 years ago | on: Ask HN: What comes to your mind when you see the name "Talentrue"?
_phred | 13 years ago | on: Five researchers deal SSL/TLS a biggish blow
That tool you posted is great, hugely helpful for anyone who has to deal with this stuff.
_phred | 13 years ago | on: How I spend my first 5 minutes on a server
Nowadays I'm downright spoiled and use org-mode[1] to keep my systems journals. Org files are plain text as well, and org-mode takes care of setting up the tree by date. I can also add a journal entry from anywhere in Emacs with just a couple keystrokes, which makes it incredibly low-friction to use.
Like I said, the most important thing is to TAKE NOTES. Even pen and paper. It's one of Limoncelli's big points in Time Management for System Administrators.
Tooling doesn't really matter, the important part is being able to remember what the heck I did and when I did it. Invaluable for troubleshooting.
[1]: http://orgmode.org
_phred | 13 years ago | on: How I spend my first 5 minutes on a server
http://practicalops.com/my-first-5-minutes-on-a-server.html
Happy to answer questions about it. :)
_phred | 13 years ago | on: Run sudo -k, set your clock to 01.01.1970, run sudo su and boom you're root
There are much easier attack vectors.
_phred | 13 years ago | on: Why Use Make
https://agileforall.com/history-of-tdd-as-told-in-quotes/
Djikstra proposed the idea in the 1970s. Rails did not in any way pioneer TDD. They were very vocal about it but “[stood] on the shoulders of giants.”