Also, metaprogramming in C using DEFINEs -- I kinda want to kick someone.
'course, I'll prolly end up doing it myself too. But I won't like it.
And I've spent a depressing amount of time trying to figure out the bloody purpose of functions like getpwent_r() instead of getpwent(), giving that neither is re-entrant.
All they had to do is pass double pointer to setpwent and endpwent, and you could totally use it to manage state in a reasonable way. It makes LOADS of sense and is exactly what the _r suffix is supposed to mean.... but... nope. Sorry. We're just dumb.
@CodesInChaos true, all the "Learn to Code in 21 hours" are rife with worthless comments. If your coders learned from those, it is likely they picked up that dirty habit too.
but then, if they learned to code from those books, its likely they don't know how to code either.
If you have to ask, then you shouldn't do it.
Security is difficult to get right, and requires a fair amount of experience to recognize all the ways in which it can go wrong. And a safe-haven for whistle-blowers represents not only a clear target for determined attackers, but it also comes with ...
I can imagine that for sensitive systems logging to a central logging server it can be handy to be able to verify the integrity of the logs. Each line can either be signed or a shared secret may be used (HMAC) to add an additional field before sending it off to a central logging server.
I was wo...
@LucasKauffman If the sending server signs its logs, what does that signature indicate? That the server actually sent the logs? Or that the logs weren't tampered with before being sent?
I can imagine that for sensitive systems logging to a central logging server it can be handy to be able to verify the integrity of the logs. Each line can either be signed or a shared secret may be used (HMAC) to add an additional field before sending it off to a central logging server.
I was wo...
@LucasKauffman So you're signing messages in a potentially hostile environment, and you want to know the best practices for detecting whether or not the data was tampered with before the signature was applied? Is that right?
@LucasKauffman But they can be tampered with before they get signed. So you have to sign them before there's an opportunity to tamper... which, it turns out would have to be pretty early on. At least before they hit the log file.
let me put it this way, if you ever need to use one, try to hold the wooden planks atleast a few inches away from the inpact site, the moment you realize those planks are thinner then the actual nails... well
how can we solve CryptAcquireCertificatePrivateKey fails with 0x8009200B when adding certificate from smartcard to local user store?
in an enrollment system where users generate smartcard certificate request online to a CA , the certificate is loaded 'offline' in the smartcard, for example sever...
My manager says we don't need to salt our passwords because people are not likely to use the same password because they all have different native languages, in addition to the websites they are active at. What is the best counter argument to this?
@RoryAlsop We have warm weather here for a couple weeks now, and this weekend there is a pretty big festival (Graspop metal meeting) and they are predicting rain...
@RoryAlsop Which ones in specific did a good show? So I can make sure not to miss these, because there are always at least two bands playing at the same time (except for the headliners)
@RoryAlsop I'll try to remember to go watch these two in particular.
@RoryAlsop I don't know steel panther, but I know of situations with massive crowd participation (The Bard Song or Valhallla at a Blind Guardian show come to mind)
Black Label Society and Alter Bridge were both just amazing though - Kennedy and Tremonti, and Zakk Wylde really know how to rock
@Arperum ahh - perhaps look at some of their youtube stuff. very NSFW. Imagine Poison without the political correctness. They went down very well at Download
@LucasKauffman - the adobe password hack was because they DIDN'T hash the passwords at all, let alone salts - they used 3DES in ECB mode, so no salt and also no IV (which is used typically for chaining modes...)
this re the daveboss nosalt q.
also, I dont blame the manager in this case - I blame the consultant who did a pisspoor job of halfsplaining salts to the clueless boss.
@FEichinger So, there is a whitelist of permitted jokers. I would assume there is also a blacklist of severe offenders. Now, we hear that there is also a brown list??