DorothySim
DorothySim on Hacker News
> For example, IIRC NetBSD required new developers to meet with one or two existing developers in person to verify their identity. (Pretty much like a regular PGP WoT.)
Debian also requires OpenPGP keys and WoT for all developers.
> What I'd really like to see is a JS implementation of the "dynamic" features like diffing
That's possible. I've made something like that (dynamically fetching git info via dump HTTP server protocol) using Git.js [0] although for a different reason and it worked very well. Some caveats: the decompression must be handled in a WebWorker or the UI is stuck pretty easily. But objects can be fetched on demand so it's kind of like Microsoft's Git Virtual FS. As you've said cross origin policies apply so either have the viewer on the same site as repos or add appropriate CORS headers.
[0]: https://github.com/yonran/git.js
I see git.js even has a "repo-viewer" demo [1]. Although it's very primitive it shows the ref list and diffs.
[1]: https://github.com/yonran/git.js/blob/master/demos/repo-view...
But if you don't provision the device yourself how can you be sure it hasn't been tampered with in a way that just displays "bootloader OK, everything good" but in the mean time it was rooted? Or is that a risk calculated in the "no full amount of trust"?
Interesting design. As far as I understood from old papers client certificates are used only to identify the device while user authentication is handled differently.
Could you elaborate on the technical details on user authentication? (If that's not top-super-secret) I guess it's just like accounts.google.com for Enterprise with mandatory 2FA (username+password+U2F key?). Does it work the same on mobile/Android (U2F via NFC or codes)?
They also take into account the state of the machine you're working on. So locked bootloader and probably a client cert in TPM-like component, plus "device health". Client certs alone are good for authentication (don't work in HTTP/2 though) but they want to reach even better target - no malicious software running on your computer.
That's from reading old papers, I don't know if anything changed now.
I think the only restriction is working on Google approved hardware so no BYOD there.
(Disclosure: not a Google employee).
Posted by
DorothySim on Tuesday May 30, 2017 @06:08AM
from the lkml.org dept.
The "Online Demo" button brings me to the download page. Is this a bug?
> C# and Java allocate objects to the heap and primitive types to the stack by default (...)
Note that it only applies to local variables. If you have a primitive inside an object then it's allocated on the heap as part of the outer object.
Looks very good and I like that they have a screenshot right on the home page. I wish there was an anonymous instance to try it out without the tedious login process...
I've used a simple iptables approach to redirect traffic to new Docker container:
iptables --wait --table nat --append PREROUTING --protocol tcp --dport 80 ! --in-interface docker0 --jump DNAT --to $new_target
Then removing tables for old one:
iptables --wait --table nat --delete PREROUTING --protocol tcp --dport 80 ! --in-interface docker0 --jump DNAT --to $old_target
(repeat the same for ip6tables).
The same had to be repeated on system start but otherwise it worked flawlessly and had zero-downtime.
Note that it is about TLS client certificates so it's not as widespread as it seems (unless you use these certs of course :) ).
Probably yes. Sending scores in HTTP requests is such a low-hanging fruit for exploitation.
A friend of mine was responsible for scoring system on games. As they had some real awards (like bikes, tickets etc.) they captured the entire flow of the game with various statistics and later analyzed them for weird variations. That was in Flash and people used browser plugins to slow down the play, that was easy to spot. Of course it won't stop 100% of attacks, but it raises a bar sufficiently to thwart most attempts.
Posted by
DorothySim on Tuesday April 25, 2017 @05:44AM
from the git.kernel.org dept.
...or Thunderbird (Enigmail) for people that like GUIs.
> For hostkeys on DO you can probably get a script to run that'll request a signed certificate from a server you own.
Or just embed the signed host certificate in cloud-init.
You are not required to use SSL to do hello world. You are required to use SSL if you want to use HTTP2 (yes, I know about h2c).
CVE disclosure list:
[email protected] (unfortunately since Mitre stopped taking bug reports via e-mails it's not as active as it has been).
Posted by
DorothySim on Tuesday April 11, 2017 @08:37AM
from the en.wikipedia.org dept.
Really interesting hack. It basically gives (almost) free timestamping (using Let's encrypt for cert issuance and CT logs for storing information). Previously one would use Bitcoin OP_RETURN outputs for timestamping [0].
[0]: https://en.bitcoin.it/wiki/OP_RETURN
The same thing exists in .NET IL where you can overload methods based only on return values (among other interesting things like modopt/modreq [0] etc.).
[0]: http://stackoverflow.com/a/5294456
a) is particularly interesting to me. I thought about giving people ability to create their own namespaces and used
https://user.example.com or
https://example.com/user as a namespace but tag URI looks cleaner.
By the way why did you need human readable IDs? I'm asking out of curiosity because there is certain charm to just using UUIDs everywhere (and urn:uuid).
Is there a benefit of using tag URI instead of a regular old URL? E.g. tag:blogger.com,1999:blog-555 vs
https://blogger.com/1999/blog-555 The only difference I see is that URL should point to something (can be referenced in a browser) which may or may not be an additional benefit.
> The author seems to be ill-informed on the point which apparently is the only stated reason for not using the internet standard that directly applies to the use case.
That's what I also suspected. Thanks!
> As we iterated on our approach, we have decided to follow more recent recommendations and not limit our identifiers to the deprecated concept of URN.
I was not aware URN was deprecated... Is there a reference somewhere to these recommendations?