« first day (1406 days earlier)      last day (3466 days later) » 

3:01 AM
@DavidFreitag Jenkins is horrible. :(
 
@TerryChia What else is there for private CI servers that I can install locally?
 
@DavidFreitag JetBrains has one that's slightly less horrible.
But all the CI solutions are horrible to a certain extent sadly. :(
 
Well I suppose if you were motivated enough you could run Travis locally
It is FOSS IIRC, but I haven't read their license, they may require that any projects built with it be FOSS as well
 
@DavidFreitag The main issue I have with Jenkins is that it's damn near impossible to automate the installation.
Which gets really !@#$% annoying if I want the same config in a few places.
 
@TerryChia It isn't really the sort of program that you install more than a hand full of times though
 
3:06 AM
@DavidFreitag It gets really painful to setup if you have a complex config and something goes wrong with your boxes.
I like to automate setups of everything nowadays. Much easier in the long run.
 
@TerryChia Isn't that what backups are for? :]
 
@DavidFreitag One example of a pretty complex Jenkins setup: jenkins.cryptography.io/job/cryptography-pr-experimental/2436
Reproducing that is a PITA.
 
 
3 hours later…
5:54 AM
 
Posed a softball question:
0
Q: How secure are the FIDO U2F tokens

tylerlGoogle and Yubico just announced the availability of cryptographic security tokens following the FIDO U2F specification. Is this just another 2FA option, or is this significantly better than solutions such as SecureID and TOTP? Specifically: In what way is U2F fundamentally different from OTP...

 
@tylerl Heh. That's a copy-paste from specs answer. :)
 
@TerryChia some digging and interpretation required. I mean, minimal effort at least.
 
@tylerl True. I know the answer to most of them but I'm too lazy to go get quotes from the spec.
 
 
1 hour later…
7:24 AM
morning all
cold weather, aint it?
 
7:58 AM
@Lighty , Mornin' here's it's just wet and windy!
 
Nice here too - little bit grey but bright
 
@RоryMcCune over here 'bout the same, but kinda chilly on the bike this morning, first day it was that chilly, I should bring some gloves next time
even my eyes kinda hurt from the cold o.o
the cold breeze that is
 
well you'll need to get used to it
"winter is coming"
 
I think you should tell who ever this "winter" person is to keep that kind of stuff private. Ew.
 
8:09 AM
Well, some leather gloves and some clear glasses should be enough (since the #1 reason for cold is WIND, you'll get warm through cycling anyways)
 
I had not thought of the saying in that way... I shall now add it to a list of "things not to search google images for"
 
leather gloves because it's easier to operate my phones Touchscreen, and if it's wet outside, it won't soak, unlike wool gloves
@RоryMcCune Add "Game of Bones" too, now we're referencing dirty jokes
 
@Tinned_Tuna Pervert.
 
@RоryMcCune ... oops
2
searched
heh
was not disappointed
 
8:15 AM
@RoryAlsop Why was How does ASIC cryptocoin miners affect the security of scrypt? migrated to bitcoin.se?
As far as I can tell it asks for the impact of custom hardware designed for bitcoin/altcoin mining on password hashes.
Which is a security question, not a bitcoin question.
 
9:02 AM
@RoryAlsop My other half searched for it... it came up with a puppy with snow! It was so cute!
 
ugh, i'm short on one project i could make for school, i need to make one project every week in JavaScript, that could be turned into a HTML5 App later on, i've already made Serveral Calculators, practised on functions to validize Data (NaN, Emptyness etc.), even reset functions for forms and such
anyone have an idea? :/
 
@Lighty what sort of projects are you looking for -- anything in the same vein as you've already mentioned?
 
this page is the main navigation to all fo my current projects (green ones are done) studiolupa.nl/kevin/index.html
@Tinned_Tuna yup, something alike, since i'm still learning JavaScript, it shouldn;t be too hard, but also not something easy xD
i know in that list, that the Memory Game was insanely hard (not gonna do such a thing again), and that the "Boete Calc", which is for defining speeding tickets was tricky, yet learned me a few things
but that was because the netherlands do NOT have formula's for speeding tickets, so its not really a calculator, but simply gets your data out of a list based on what you put in
using a HUGE If/Else thing X.x
hm, i already got a "final" project, which is going to be a simple JS tool to convert text to an encrypted string, and re-convert it back using the good password
just a fun thing to maybe even elarn what basic encryption is
i thought about filling the missing project with something like a converter... but i think thats way to simple
 
@Lighty there's lots of projects around encryption that you can do :-)
 
@Tinned_Tuna yea, i have a fun one as last project, lemme find an example
here, should become something really simple like that
 
9:13 AM
ooo, PGP-style is not necessarily very easy. There's a lot going on there.
 
@Tinned_Tuna i jsut googled "Javascript Encryption Tool"
what i mean is, just 2 fields, and a password field, and a button
 
ahh okies
 
I was thinking on making a MD5 encryption one
 
you could do a lot of classical-type crypto quite easy, Ceasar, Simple substitution, etc.
 
and a "break" button, which runs a script to prove MD5 can be broken ;o
 
9:16 AM
The Vigenère cipher is a method of encrypting alphabetic text by using a series of different Caesar ciphers based on the letters of a keyword. It is a simple form of polyalphabetic substitution. The Vigenère (French pronunciation: ​[viʒnɛːʁ]) cipher has been reinvented many times. The method was originally described by Giovan Battista Bellaso in his 1553 book La cifra del. Sig. Giovan Battista Bellaso; however, the scheme was later misattributed to Blaise de Vigenère in the 19th century, and is now widely known as the "Vigenère cipher". Though the cipher is easy to understand and implement, for...
 
@Tinned_Tuna hm, interesting :o
 
tbf, if you're interested in cryptography, there's lots that you could do.
 
@Tinned_Tuna I'm interested indeed, the only things i know about it is that it helps keeping nosey eyes at bay... for a while
 
@Lighty there's loads of projects in the area. I think a not-bad place to start is Coursera's Crypto 1 (Stanford, Dan Boneh is the instructor), but you'll need to understand some discrete probability.
 
@Tinned_Tuna hm, i'll look into that one too, still reading on Vignere here
 
9:22 AM
I think breaking a simple substitution cipher is a neat little evening project.
Aside, does anyone have any experience with Java's keytool ?
Oh, never mind, my Google-fu was just off yesterday, got what I needed
 
@Tinned_Tuna Isn't that called tiredness? xD
 
@Lighty possibly... it was late in the day that I came up against this issue
Is it just me, or are all the tools for working with public key crypto (openssl, keytool, pgp/gpg) are a user interface abomination?
 
@Tinned_Tuna yup
thats also a reason alot of people don't want to encrypt their emails/traffic/data etc.
not even the confidential data in the office i work at is encrypted :/
jsut because its too hard, not user friendly and such :/
and they claim "we don't care if someone noses in there"
while he signed a contract for not talking about projects (stored in there) before the launch of them
but the usability is indeed a problem in the office...
becaue we use iMacs
if we had Windows machines with Win7 Pro/Win 8 Pro, we had Bitlocker, which is pretty good and user friendly
imo atleast
 
Mac OS X does have an FDE feature these days, and Apple are (historically) quite good at user interfaces. I know that in the past, their "encrypt home directory" feature was very easy to use.
 
@Tinned_Tuna it is.... problem is, no-one here knows how to use that thing
whih can be trained, bviously
but that the leyboard and the mice/trackpads kinda... suck, discourages the boss to look into it and secure everything properly
he shrugged the Hearthbleed, ShellShock and the POODLE vurln. off too
while we all know the iMacs are 101% affected here :P
i don't know if people just don't care ar all, or are stupid for not caring
 
9:35 AM
@Lighty alert fatigue, probably.
 
@Tinned_Tuna well, a regular PC user (biggest portion of the market) that only use it for basic work, writing emails, doing banking online and sitting on FB/Twitter, its not important
but the boss of a Application/Web developer company, that has enough strict confidential projects people are wihtout doubt after?
 
@CodesInChaos ... oh, I couldn't get that from it at all. It was flagged as not a security question, and the answers also seemed to indicate that, so I agreed.
If you/other folks on Crypto reject the migration, that would work
 
It's on bitcoin.se not crypto.se. I can't VtC on bitcoin.
 
10:31 AM
free flags
-1
A: What XSS attacks doesn't "Reflective XSS Protection" defeat?

guest hellow brother hi r uffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff

 
11:23 AM
Oh man, I aced the presentation I gave to the company just now. It was about secure coding and I demonstrated hacking, pen-testing etc.
 
@Adnan Congrats :3
 
@Adnan congrats :)
 
Thanks :D
 
@Tinned_Tuna you obviously have safe search on
 
@RoryAlsop what a pussy
 
12:01 PM
@Tinned_Tuna It's not just you.
The only half decent one I have seen is Cloudflare's CFSSL. But that's pretty limited in functionality.
 
 
1 hour later…
1:12 PM
@Lighty I feel like flagging you for this, as a payback y'know.
 
@Simon sometimes you just need to learn to turn the other doughnut you know
 
@RоryMcCune Yeah, that's why I haven't done it.
 
@Simon Ignoring is a more peaceful option.
 
@TerryChia He still hasn't made it out of the blacklist?
 
@Simon That involves clicking buttons and I'm too lazy so meh.
 
1:15 PM
@TerryChia Oh, I know the feeling.
 
1:37 PM
0
Q: Competitor app blocks our app, need a way to bypass their check

NimaWe have a taxi app which has been quite successful in Europe. But recently one of our competitors has started checking if our app is installed and if it is, theirs won't run until the user uninstalls our app from their phone. We initially did a few manual updates with a different package name to...

Wow. Talk about shady business practices.
 
Indeed, wow.
 
1:52 PM
Got an email from someone who has a weird business model: ningo.me
 
@ThomasPornin Did they offer to pay you?
 
Basically, it is about paying to send emails. For some reason, the author believes that people will do that.
@TerryChia No... he does not want my advice. Instead, he thinks that I would be interested as a customer, because I am the top user on security.SE so I may want to get paid for my expertise.
The email was targeted for me and he took the effort to write in French.
...
In fact his business model makes sense.
He wants to be the middleman for an Oracle.
A well-established model since 3000 years.
 
@ThomasPornin Google translate French?
 
@ThomasPornin I find that quite interesting actually
The issue is that I'm not so sure about the email form of communication
 
@Simon Nope. He is from Switzerland. He speaks Germans but lived a few years in a French-speaking area.
 
1:57 PM
and are the payments in form of donation?
 
Someone should let him know that too much yellow is awful.
 
@Adnan apparently the payments use Paypal, and you get to choose whose pocket they end up in.
 
@ThomasPornin But do you specify the amounts?
 
@Adnan This is my understanding. The recipient specifies the fee for sending him an email.
 
@ThomasPornin and it seems to be a one-time fee.
I mean, you really have no clue what the person on the other end will end up asking
 
2:00 PM
@Adnan But the worshipper has no clue what the Oracle will respond either.
 
Even if he will respond.
 
What this points at is a "fast consulting" model in which you pay to get an answer over email.
Without any guarantee of quality except reputation of the Expert/Oracle.
 
@ThomasPornin and without any guarantee of an answer at all
 
A liberal dream.
 
Basically like donating to the church for a hope of getting closer to god.. except in this case it's only slightly more possible that you'll get an answer
 
 
1 hour later…
3:06 PM
Heh, my non-programmer other half started playing cookie clicker. They got bored and decided they want to finish is. Cue the JS console & FireFox developer tools.
 
3:19 PM
@Tinned_Tuna Well, it's really no fun cheating on Cookie Clicker
Because it has a cheating API
 
@Adnan lol, I don't know what they were doing, but they'd been playing cookie clicker for months
 
@Tinned_Tuna Try this in the console Game.cookies = 100000000000;
Using the Game interface, you can access everything very nicely
 
@Lighty Whatever MD5 encryption may be.
You could in theory use MD5 in CTR mode, but that's merely dumb, not broken.
 
@CodesInChaos you could feasibly use a minor variation md5 (i.e. it has to take a round key and some data, so probably hmac-md5) as the PRF in a Feistel network...
Pretty sure that would be a Bad Idea for many reasons
 
3:44 PM
@Tinned_Tuna In fact it would be a rather good idea.
It is called the Luby-Rackoff construction.
 
@ThomasPornin well, from some perspectives, yes, it would be a good idea, but from other perspectives (e.g. performance) it would be bad
 
But it requires big blocks because the security proof is up to 2^(n/4) (if I remember well) so to get 128-bit security you need 512-bit blocks.
For performance it would totally suck, of course.
 
Also, I don't know what md5 "looks like" inside, other than it's a merkle-damgard construction, so I wouldn't be able to say what it's diff, linear, etc. characteristics would look like. I assume (since md5 is supposed to be a PRF) that it should be "hard" to find any usable diff or linear characteristics.
 
@Tinned_Tuna HMAC/MD5 is not bad in the role of a random oracle, which is the point here.
However, the known collision attacks on MD5 would become "related-key attacks", which are usually not a problem, but still make bad press.
 
MD5 does turn up a lot. It's still the default in Free & OpenBSD for OPIE & S/Key (I think they're nearly the same under the hood) one-time passwords, but you can choose to use something different when you initialise that particular form of authentication.
 
4:18 PM
hmm, now I have to start thinking about home security stuff
since it looks like I may own a home within the month
 
4:42 PM
@AJHenderson Congrats!
 
5:06 PM
grats! but first things first if you're settling in - beer fridge :)
 
@TildalWave what good is a beer fridge if I can't keep people from stealing my beer?
 
it's a chicken and an egg problem - what good is home security if there's no beer in the home to protect? :P
so hop to you local brick and mortar and get both, problem solved :)
 
I'm not sure I want to get my locks the same place I get my beer
 
I meant the beer fridge
and locks for it :)
 
5:25 PM
ah
 
throws Fortigate across DC floor
 
I have -- again -- been called upon to diagnose a locale-related bug.
Locales are the work of the Devil.
3
 
6:31 PM
The biggest problem with locales is that many standard libraries use the current locale by default (e.g. .net)
Though admittedly locales and unicode (and their combinations) have plenty very unintuitive behaviour.
One of my favourites is that "aa".StartsWith("a") returns false if you're Danish.
 
äÄöÖåÅ
 
6:57 PM
damn I just clicked "no action needed" by mistake on clearly not an answer
 
@TildalWave You're gonna lose your blue.
 
@Simon On sec.se? I'm still green here so if I lose even more blue I'd go yellow
 
@TildalWave Nope, on Space.SE. soz
 
ah there I don't have to vote or suggest to delete I just delete simple as
 
7:20 PM
@TildalWave YOU'RE RUINING OUR WEBSITE!!!
 
Meetnapping! If you're gonna invent new words, make sure they're spelled right, damnit!
 
@CodesInChaos Dammit. I was not aware that .NET's String.StartsWith() is locale-dependent.
My usual example was "i".ToUpper() for Turkish machines.
 
yeah, that one is pretty well known
 
Though I also made a lot of unit tests for Java code fail by setting my computer to a Thai locale.
 
7:31 PM
what's special about thai?
 
Buddhist calendar
The year count is in the 2500 or so
 
@TildalWave though I suppose it could be an interesting election whenever Sec.SE does next have a mod election
 
Works also with "traditional Japanese" locale (years counted since the beginning of the reign of the current Emperor).
 
Defaulting to the current locale instead invariant culture was probably one of the bigger .net design mistakes.
 
My guess is that they copied that mistake from Java (like most of the rest of the language, at least initially).
 
7:34 PM
@AJHenderson It sure would be but I probably wouldn't run for it. Since being blue on space I kinda appreciate how much easier it is being just one of the regular punters. Reaching 10k would be useful but I'm not sure I'd want another diamond (without a salary celery)
@AJHenderson You'd run for it?
 
@TildalWave probably, the thing with multiple mods is that you are already around in chat and I do a lot of review queue stuff anyway as a 20k user. It would only really add flag handling, which doesn't seem like it is should be too bad for the volume of the site
 
I would be a bit curious how different is being a mod on a well established site as compared to a beta tho. I have a feeling that betas are a bitch and it might be easier here.
 
I think it is kind of a dip in the middle of a very large hill
early beta is hard because you haven't got any support, late beta is a bit more stable, but still having to guide the community pretty active, out of beta, communities become more self-regulating but then eventually as it grows, flags become a huge thing on their own just because of sheer volume of users
 
so ... a tough ride due to the spiky saddle
 
Several string functions are also too unicode aware. For example one would expect a.IndexOf(b) + b.Length to return the index of the character after the match.
That might even lead to security holes.
 
7:41 PM
I won't take on any more pro-tems unless it's really needed on a site I care a whole lot about. 3 of them is a lot of very careful review, on Sec.SE and Photography, the scope is much more established and resolving reviews and such is much easier
 
For example IndexOf matches the composed and decomposed variants of the same character.
But that's relatively harmless since it requires fancy unicode for both arguments.
But it also ignores certain characters, such as the soft-hyphen U+00AD.
 
@CodesInChaos yes, you might find just a few
maybe one or two. Can't be much more than that, though, right?
 
I think it'd would have been wised to have most functions treat unicode strings as simple sequences of code-units forcing programmers to opt into unicode aware operations where desired
 
@CodesInChaos Look at Go
 
@CodesInChaos To some extent this can be interpreted as a poor type system.
I.e. no difference between StringForTechnicalProcessing and StringForDisplayToHumanUser
I have tried the Danish example, it is hilarious !
 
7:55 PM
As a rule, the problem comes down to the fact that "strings" are assumed to decompose into "characters", where "characters" is not a sufficiently well-thought-out concept
unicode does some really crappy stuff with the concept of characters and character sequences.
 
8:10 PM
Just because one character comes after another doesn't mean you can safely separate them.
 
Unicode is always trying hard not to decide whether code units are characters or glyphs.
 
Just for fun, copy the quotes at the end of this line and paste it into your chat before typing statement. "‮"
4
 
"‮"
I don't think I get it.
 
I mean paste, then type
same line
 
"‮"amusing
I knew someone who had done some PostScript hacking that did something similar
He had sent a PostScript command such that the printer did a mirror image on all printed jobs thereafter
This was stuck until the printer was rebooted.
 
8:14 PM
It's unicode 202E -- the "force right to left" character. 202C is the corresponding end indicator.
Unicode borders on being a layout language rather than a character set.
 
Though of course this was done with a good intention.
Namely to allow inclusion of quotes from a right-to-left language into a left-to-right text, and vice versa
(up to a nesting depth of 64, if I remember correctly)
It was a recurrent question: when an application runs in a terminal emulator, and there is a mixture of left-to-right and right-to-left output, who should manage it ?
Some argued that the application should do it, other said that the terminal emulator should do it.
Unicode went into Salomon mode, and ruled that it would be a shared job.
Application indicates explicitly the direction switches, and the terminal emulator handles the layout.
 
@tylerl "‮"cool works everywhere I test
and if you paste it before written text it reverses it too
 
We must still remember that despite its shortcomings, Unicode is a big improvement over Code Page Hell.
 
8:30 PM
Yeah. And UTF-8 is pretty cool as an encoding.
 
@tylerl That's pretty cool.
 
Zero width joiner and non joiner are pretty weird as well.
@tylerl Does go have generics/templates by now? A statically typed language which doesn't support them (or a good alternative) is a bit of a joke.
 
 
1 hour later…
10:03 PM
SE is acting up again
stop purging cache darnit!
or is it "flushing"?
when you invalidate cache, where does it go? :)
 
@CodesInChaos I was referring specifically to the way they handle strings -- it's very unicode-based from the ground up (not surprising, seeing how it and UTF-8 were invented by the same guys).
As for generics -- Go has a sort of duck-typing which gets around most of the generics justifications.
It's strongly typed, but not in the Java death-by-class-hierarchies sort of way.
There's very little (anything?) that you can do with generics that you can't do Go's interfaces
 
 
1 hour later…
11:47 PM
"‮"Ahh - I see how it works now. Definitely need to save this for some possible later use
6
 
._.
tihs taht daer nac I
 

« first day (1406 days earlier)      last day (3466 days later) »