311 karma · joined Apr 15, 2009 (17y ago) · 86 submissions
comment 3y ago · link · parent
foo.method(:bar).source_location
That is wildly useful when debugging/figuring out where the actual code for some method is at runtime.comment 4y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
In terms of client certs, see my response in https://news.ycombinator.com/item?id=22849985. I agree client certs would be great. However, it can be tricky to couple your app logic with transport based security. A good example of this...chrome/google introduced a crazy cool concept called “channel bound cookies” - http://www.browserauth.net/channel-bound-cookies, but it never gained any traction because of the complexity noted.
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
As a result of the above, we have been exploring twirp. You get the benefits of using protobufs for defining the RPC interface, but without quite as much runtime baggage that complicates debugging issues that arise.
comment 7y ago · link · parent
As I commented in https://news.ycombinator.com/item?id=19953623, I’d love to see another blog post walking folks through why/how the “dangerous” RSA keys are in fact useable for both operations because the textbook RSA concerns aren’t a concern because of X, Y, and Z.
comment 7y ago · link · parent
There are things that make this less trivial to exploit for non-textbook cases. But, either way, it is generally easier to mostly go with “don’t use the same key for both signing and encryption” so you don’t have to do a bunch of stuff to figure out if a given construction is safe. If Filippo is supporting RSA ssh keys, I’d love a post walking through the way to prove that reusing RSA keys turns out to be safe if done carefully/thoughtfully.
comment 7y ago · link · parent
comment 7y ago · link · parent
I personally think there is potentially a big security usability win by using a securely (key part here) synced private key (via iCloud Keychain for example).
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
https://github.com/ptoomey3/family-photo-library/blob/master...