I haven't logged in to any form of communication that isn't group based
if I log into Steam, that will be literally my entire day gone from people wanting to know every minute detail of what I've been up to for however long it has been since I last logged in
and I just don't have the time or the motivation to deal with it
whereas you guys and people on quakenet are more than happy to accept "I've been busy" as my entire explanation
Why are you refusing to use TLS? It works, it has a good track record (some minor exceptions aside). Refusing to use good tools without a compelling reason does not engender confidence and does not immediately suggest professionalism.
Additionally, do not roll your own authentication system. Th...
Let's say I'm a university student, using a shared uni-provided server with no SSL support because I have fucking idiots as sysads (This is the case where I study). I wish to create an election page based on LDAP login for electing student representatives. MITM is possible within the institute -- though I can take measures to isolate election booths (which are set up in each hostel), I cannot avoid it completely. How do I make it very hard for an attacker?
Also, you don't use TLS but you have an even more convoluted protocol available to you. It's not even remotely similar to accomplishing it using only Javascript.
@ManishEarth You say this as though there are only two categories of attackers, script kiddies and sophisticated attackers with large resources. You forget the very large group in the middle with somewhat limited resources but enough knowledge to take 15 minutes to slightly modify an already existing attack.
If I am in a position to MITM you it takes all of 10 minutes to defeat whatever checks you try to put in place using Javascript served from your server.
@TerryChia The majority of users will be using it from home or work or some place with a large accessible subnet. I'm pretty sure that the majority of MITMs at that level will be broad sweeps, not nitpicks
@ManishEarth I honestly cannot believe I'm debating the fact that TLS is a requirement for login pages in The DMZ. You can come up with whatever justifications you like to try and explain why TLS is missing but using JS crypto for this doesn't make your page remotely close to safe even if it deters the most lazy attackers.
It may be good enough for a particular usecase like a site you don't care about at all but it doesn't make it safe.
@ManishEarth Do you honestly believe the average developer is in a position to judge whether a proposed security solution is "good enough"? Any answer suggesting anything other than "Just use TLS goddammit" is irresponsible.
But at the same time, we don't know enough of the circumstances
For someone without access to TLS, "Just use TLS goddammit" isn't helpful
It's like the common question about providing SSH passwords by commandline. The correct way to do it is to use ssh-copy-id or some such. But this may not always be possible (eg when you have some dynamic stuff), then the solution via expect is much more helpful.
@ManishEarth Literally the only circumstance where a half-baked scheme implemented in JS is "good enough" is if the developer doesn't care if the traffic gets MITM-ed. If you don't have access to TLS and care about security, get access to TLS.
@TerryChia Again, sometimes marginal security is enough to deter a chunk of would-be attackers
I can understand "don't roll your own crypto". There is no conceivable restriction preventing someone from using existing crypto (except for contests, and we don't help with those anyway). But an answer telling someone to use the thing they explicitly said the can't/won't use (when there are conceivable situations to use it) is not really an answer, IMO. Especially an abrasive one like yours :/
@ManishEarth I'm not defending my answer at all. I was bored, it's terrible and I don't really care if it gets downvoted or deleted. But a good answer will be one that expands on why using TLS is the only sane option.
"sometimes marginal security is enough" is one of the reasons why everything is broken.
@RоryMcCune I've actually stopped trying a couple of days ago. I wasn't able to get anywhere beyond DoS (either crashing the service, or, for some reason, reboot in some cases).
@RоryM Something interesting, though. Unlike IIS, with RDP after the crash, it wasn't possible to get it to work again without a reboot.
I am trying to check the revocation of certificates in a script but I get the following error:
unable to load certificate
140735258465104:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:703:Expecting: TRUSTED CERTIFICATE
Here the steps (using www.google.com as an example)
fe...